[jp] bug report

jchristy1 jchristy1 at austin.rr.com
Sun Sep 11 18:27:21 EDT 2005

Hi Mikkel,
Thanks for the info!
I changed File => Preferences => Settings => Serial Port  to /dev/pilot
and wrote wrote a shell script to do: ls -l /dev/pilot every second and
discovered that /dev/pilot gets created and points to /dev/ttyUSB1 but
/dev/ttyUSB1 never gets created if it does it does not stick around for
more than a second.  I checked /etc/udev/rules.d/custom.rule  which says:

BUS="usb" SYSFS{product}="Palm Handheld*" KERNEL="ttyUSB*"
SYMLINK="pilot" MODE="666" KERNEL="ttyUSB*" SYMLINK="pilot"

If I make the devices myself, it will sync fine.

Mikkel L. Ellertson wrote:
> jchristy1 wrote:
>> I'm running Mandrake 2005 LE and my ttyUSB files get deleted
>> after every sync too.
>> rpms installed:
>> jpilot-0.99.7-3mdk
>> pilot-link-0.11.8-9mdk
> That is because udev manages device entries on 2005LE. Udev mounts a 
> dynamic file system on /dev, and create all the device entries "on the 
> fly" as needed. It will also let you create rules that specify the 
> device name, or create symlinks when a specific device is created.
> The thing to remember on 2005LE is that udev, HAL, and hotplug work 
> together to dynamicly manage device entries, symlinks, and mountpoints. 
> On 2005LE, the /dev/pilot symlink gets created when you hit the sync 
> button, and removed after the sync finishes. As far as USB devices go, 
> when you hit the sync button, it is like you just plugged in a USB 
> device. After the sync is done, the Palm basicly "unplugs" itself again. 
> So the device entry is also removed. Now, because it takes some time to 
> do the cleanup after a sync, you can hit the sync button again and get a 
> different ttyUSB, but the symlink is properly created.
> Mikkel
> _______________________________________________
> Public archival of this list without notice is prohibited.
> jpilot mailing list
> jpilot at jpilot.org
> http://www.jpilot.org/mailman/listinfo/jpilot

More information about the Jpilot mailing list