252 lines
4.3 KiB
HTML
252 lines
4.3 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Hotplug-able</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Handspring-Visor with Linux mini-HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Synchronization Software"
|
|
HREF="syncsoftware.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Troubleshooting Tips"
|
|
HREF="troubleshooting.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Handspring-Visor with Linux mini-HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="syncsoftware.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="troubleshooting.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="HOTPLUG"
|
|
></A
|
|
>5. Hotplug-able</H1
|
|
><P
|
|
> You must be using a fairly recent v2.4 kernel for this.
|
|
You may wish to read over the whole section before proceeding.
|
|
</P
|
|
><P
|
|
> Hotplug will allow you to automatically run your syncronization
|
|
software when you press your sync button. You will only be
|
|
able to configure this to sync for one Visor. If you need
|
|
to be able to sync multiple users with differen Visors, you
|
|
can't. (With different Palm's and Clie's, is a separate
|
|
question, to which I don't know the answer to).
|
|
</P
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="HPKERNEL"
|
|
></A
|
|
>5.1. Hotplug Kernel Config</H2
|
|
><P
|
|
> You will need to enable "Support for hot-pluggable devices"
|
|
under "General Options" in the kernel config. This is
|
|
the kernel option <EM
|
|
>CONFIG_HOTPLUG</EM
|
|
>.
|
|
Make sure you compile/re-install.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="HPINSTALLBASE"
|
|
></A
|
|
>5.2. Installing Hotplug</H2
|
|
><P
|
|
> You need to get the hotplug scripts from the linux-hotplug
|
|
homepage: <A
|
|
HREF="http://linux-hotplug.sourceforge.net"
|
|
TARGET="_top"
|
|
>http://linux-hotplug.sourceforge.net</A
|
|
>.
|
|
The scripts are available as a rpm package or tarball If
|
|
installing the tarball package, please read the README
|
|
file that is included on proper installation procedures.
|
|
If all you are configuring is the Visor hotplug support,
|
|
then most likely you'll just have to do this:
|
|
</P
|
|
><P
|
|
> <TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
> gzip -dc hotplug-2002_08_26.tar.gz | tar xvf -
|
|
cp hotplug-2002_08_26/sbin/hotplug /sbin/hotplug
|
|
cp -r hotplug-2002_08_26/etc/hotplug /etc
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="HPINSTALLVISOR"
|
|
></A
|
|
>5.3. Configure the Visor Driver</H2
|
|
><P
|
|
> When all is said and done, an (executable) script named
|
|
<TT
|
|
CLASS="FILENAME"
|
|
>/etc/hotplug/usb/visor</TT
|
|
> should
|
|
get run when you press the hotsync button.
|
|
</P
|
|
><P
|
|
> <TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
> #!/bin/sh
|
|
/bin/su rvbijl -c /usr/local/bin/coldsync
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
><P
|
|
> Obviously, you would want to replace the
|
|
<EM
|
|
>rvbijl39</EM
|
|
> with your normal user account.
|
|
And make that script executable.
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="syncsoftware.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="troubleshooting.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Synchronization Software</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Troubleshooting Tips</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |