View previous topic :: View next topic |
Author |
Message |
fnordmdb n00b
Joined: 30 Jul 2004 Posts: 17
|
Posted: Thu Mar 31, 2005 7:33 pm Post subject: Palm Handheld and udev |
|
|
Hi
I've got an Sony Clie Handheld with Palm OS. Of course I want to sync it, but since i installed udev, hotsyncing doesn't work anymore.
dmesg says this:
Quote: |
usb 2-2: new full speed USB device using address 15
usb 2-2: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2: default language 0x0409
usb 2-2: Product: Palm Handheld
usb 2-2: Manufacturer: Palm, Inc.
usb 2-2: hotplug
usb 2-2: adding 2-2:1.0 (config #1, interface 0)
usb 2-2:1.0: hotplug
usbserial_generic 2-2:1.0: usb_probe_interface
usbserial_generic 2-2:1.0: usb_probe_interface - got id
visor 2-2:1.0: usb_probe_interface
visor 2-2:1.0: usb_probe_interface - got id
visor 2-2:1.0: Handspring Visor / Palm OS converter detected
usb 2-2: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-2: Handspring Visor / Palm OS converter now attached to ttyUSB1
|
/etc/udev/rules.d/local.rules reads like this:
Quote: |
BUS="usb-serial", KERNEL="ttyUSB[0-9]", SYSFS{product}="Palm Handheld", NAME="%k", SYMLINK="pilot%n"
BUS="usb", SYSFS{product}="Palm Handheld", NAME="pilot"
|
What's wrong with that? Because neither /dev/ttyUSB* nor /dev/pilot or something is created after this. Any idea?
Thanks,
Fnord |
|
Back to top |
|
|
mjbjr Guru
Joined: 02 Mar 2003 Posts: 301
|
Posted: Fri Apr 01, 2005 3:18 am Post subject: hotsyncing Sony Clie Handheld with Palm OS |
|
|
I have a Treo 600, which has the Palm OS, and use udev. I use 'jpilot' for syncing.
My udev file has:
BUS="usb", SYSFS{product}="Palm Handheld", SYSFS{serial}="PalmSNxxxxxxxx", NAME="pilot", GROUP="uucp"
(replace the 'x's with your proper numbers)
I put the Treo in the cradle and press the cradle button, which is the 'trigger' that udev sees and creates /dev/pilot.
Being in group 'uucp' is what gives me the permission as a user to access it. |
|
Back to top |
|
|
GungHo Apprentice
Joined: 27 Aug 2004 Posts: 254
|
Posted: Fri Apr 01, 2005 3:06 pm Post subject: |
|
|
Hi,
I did similar with a Handspring Visor, made an entry in
/etc/udev/rules.d/10-local.rules
Code: | BUS="usb",SYSFS_product="Handspring Visor",SYSFS_idProduct="0100",SYSFS_idVendor
="082d",NAME="%k", SYMLINK="palm pilot visor" |
which generate some convenience links in /dev, namely /dev/palm, /dev/pilot and /dev/visor.
Works well so far |
|
Back to top |
|
|
fnordmdb n00b
Joined: 30 Jul 2004 Posts: 17
|
Posted: Fri Apr 01, 2005 6:40 pm Post subject: |
|
|
Thanks for the advice, but I meanwhile solved the problem.
In local.rules I had KERNEL="ttyUSB[0-9]" but this device never exists, because udev puts it in 50-udev.rules to /dev/tts/USB[0-9].
So I tried to symlink the wrong device, one that never existed.
Fnord |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|