I've been following this thread. When I first started using jpilot, I
was using a Handspring Visor, but have since moved over to a Palm Treo
600. I'm using Ubuntu 6.06 as well. I've found that different hardware
requires different entries in the udev rules. For my Treo 600 I have a
file named
/etc/udev/rules.d/10-visor.rules
It contains a single line which reads:
BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB[13579]",
SYMLINK="pilot"
The key string here is
Palm Handheld
You need to discover what the key string is for your device. It's a
little tricky, but can be done if you follow what I've got below.
When I go to sync my Treo 600, I connect it via a USB cable. I first
hit the switch on the Treo 600 to initiate the sync, THEN I hit the sync
button in jpilot. When I hit the switch on the Treo 600, a directory
with a bunch of stuff gets created in
/sys/bus/usb/devices
So connect up your Palm device via your USB cable and hit the sync
switch on it. Then do an ls -l on /sys/bus/usb/devices
You should see something like:
$ ls -l /sys/bus/usb/devices
total 0
lrwxrwxrwx 1 root root 0 2006-09-03 22:40 1-0:1.0 ->
../../../devices/pci0000:00/0000:00:10.0/usb1/1-0:1.0
lrwxrwxrwx 1 root root 0 2006-09-03 22:40 2-0:1.0 ->
../../../devices/pci0000:00/0000:00:10.1/usb2/2-0:1.0
lrwxrwxrwx 1 root root 0 2006-09-05 15:58 2-1 ->
../../../devices/pci0000:00/0000:00:10.1/usb2/2-1
lrwxrwxrwx 1 root root 0 2006-09-05 15:58 2-1:1.0 ->
../../../devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.0
lrwxrwxrwx 1 root root 0 2006-09-03 22:40 3-0:1.0 ->
../../../devices/pci0000:00/0000:00:10.2/usb3/3-0:1.0
lrwxrwxrwx 1 root root 0 2006-09-03 22:40 4-0:1.0 ->
../../../devices/pci0000:00/0000:00:10.3/usb4/4-0:1.0
lrwxrwxrwx 1 root root 0 2006-09-03 22:40 usb1 ->
../../../devices/pci0000:00/0000:00:10.0/usb1
lrwxrwxrwx 1 root root 0 2006-09-03 22:40 usb2 ->
../../../devices/pci0000:00/0000:00:10.1/usb2
lrwxrwxrwx 1 root root 0 2006-09-03 22:40 usb3 ->
../../../devices/pci0000:00/0000:00:10.2/usb3
lrwxrwxrwx 1 root root 0 2006-09-03 22:40 usb4 ->
../../../devices/pci0000:00/0000:00:10.3/usb4
I did this today (9/5)and note that there's only two items there with
today's timestamp. The first one, which is a link called:
2-1
is for a directory which is created just for the time that the sync
effort exists. In that directory is a file called:
product
If I were to cat that file, I'd get the text string which is needed in
the rules file.
$cat /sys/bus/usb/devices/2-1/product
Palm Handheld
I didn't see where you named your Palm device. I know that this string
was different between my Palm Treo 600 and my old Handspring Visor.
I hope this helps.
Russ
More information about the jpilot mailing list