On Tue, Jul 05, 2005 at 01:32:33AM +0300, Shlomo Solomon wrote: > OK - I think I'm making "some" progress here. Each time I connect or
At last :-) > disconnect the USB cable, there are changes in the /dev directory. Notice > that there are several USB devices being created - always two at a time. I'm > also including dmesg output below. But I've tried using each of the USB > devices to sync and I get no response from the Palm. > > For example, the command pilot-xfer -p/dev/ttyUSB5 -l and running hotsync > does > nothing and eventually, the Palm hotsync application times out. > > > > [EMAIL PROTECTED] solomon]$ ls -la /dev/ttyUSB* > crw-rw---- 1 solomon uucp 188, 0 Jul 4 22:33 /dev/ttyUSB0 > crw-rw---- 1 solomon uucp 188, 1 Jul 4 22:33 /dev/ttyUSB1 > crw-rw---- 1 solomon uucp 188, 2 Jul 5 00:54 /dev/ttyUSB2 > crw-rw---- 1 solomon uucp 188, 3 Jul 5 00:54 /dev/ttyUSB3 > crw-rw---- 1 solomon uucp 188, 4 Jul 5 00:55 /dev/ttyUSB4 > crw-rw---- 1 solomon uucp 188, 5 Jul 5 00:55 /dev/ttyUSB5 [snip] > ---------- from dmesg -------- > > usb 2-2: new full speed USB device using address 54 > visor 2-2:1.0: Handspring Visor / Palm OS converter detected > usb 2-2: Handspring Visor / Palm OS converter now attached to ttyUSB4 > usb 2-2: Handspring Visor / Palm OS converter now attached to ttyUSB5 [snip] OK. I have no idea about how to continue. I'll just summarize my experience. I never used a Zire72. I did use (i.e. connected to a linux machine) a VX (serial cradle), and m130, Tungsten T, Tungsten T3, Zire31 (only a few times). All of them, IIRC, and at least the Tungstens for sure, emit two connections in dmesg - e.g. Jul 3 08:01:59 maint kernel: usb 1-1: Handspring Visor / Palm OS converter now attached to ttyUSB0 Jul 3 08:01:59 maint kernel: usb 1-1: Handspring Visor / Palm OS converter now attached to ttyUSB1 Jul 3 08:02:03 maint kernel: visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0 Jul 3 08:02:03 maint kernel: visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1 But, as I said, some are actually accessible from ttyUSB0 and some from ttyUSB1. I wanted to find out automatically which one, which wasn't easy (found no real info on google). So I simply tried, and at least for the first 3, I use the following script: #!/bin/sh MAX=30 # Fallback dev=ttyUSB1 tmp1=`mktemp /tmp/get-palm-dev.XXXXXX` n=0 while [ $n -lt $MAX ]; do lsusb -v > $tmp1 if cat $tmp1 | awk '/Palm/ {palm=1; p=$0} palm && /bcdUSB/ {print p, $0; exit}' | grep -q 'P alm Tungsten T.*bcdUSB.*1\.00'; then dev=ttyUSB1 break elif cat $tmp1 | grep -q Palm; then dev=ttyUSB0 break fi sleep 1 echo -n . 1>&2 n=`expr $n + 1` done rm $tmp1 echo $dev That is, the only difference between the Tungstens is the bcdUSB, which is IIRC 1.10 with the T3 and 1.00 with T (or vice-verse). I do not think it will work for other palms without tweaking, so do not use it as is. I never saw one that used 4 and 5 like yours. A first guess would be that you also have other usb-serial hardware connected, but you say that before connecting there are no devices, which rules it out. Did you try also 0-3 (Even though the kernel says 4 and 5)? Doesn't google say anything useful about Zire72? You might want to look at linux/Documentation/usb/usb-serial.txt. Are you sure the hardware is ok? Does it work in Windows? You might even be able to find out what device it uses in Windows (I have no idea how). BTW, which kernel version? Did you try doing this as root (not needed here, but lsusb -vv does need it on some combinations of kernel/filesystem (there are both usbfs and the older usbdevfs)? -- Didi ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]