[jp] transient usb serial nodes on Fedora 3

Judd Montgomery judd at jpilot.org
Wed Jan 26 20:11:33 EST 2005


Jason Day wrote:
> 
> A while back, I hacked jpilot so that if the jpilot gui received a
> SIGUSR1 signal, it would start a sync.  Then I hacked some more and
> added a command-line option that would detect if jpilot was already
> running and, if it was, send the process a SIGUSR1, otherwise just exit.
> The end effect was I put the following line in /etc/hotplug/usb/visor:
> 
> /bin/su - jday -c "/usr/local/bin/jpilot -s"
> 
> and now all I have to do is put my visor in the cradle and hit the
> hotsync button, and jpilot syncs automatically.
> 
> This has two advantages over using jpilot-sync in the hotplug script:
> 1) the gui gets updated, and
> 2) the script won't do anything if you don't already have jpilot
> running.  That makes it safe to run pilot-xfer -i, or install-user; just
> kill jpilot first.
> 
> I've been meaning to create a patch against the latest CVS version of
> jpilot and submit it to the developer list, I just haven't done so yet.
> I'll try and do that tonight.
> 

This sounds good Jason and I am sure I would accept it.

Judd



More information about the Jpilot mailing list