PDA

View Full Version : Synching Handspring Visor with Evolution


jhd121
19th March 2005, 05:54 PM
Hello Everyone,

I'm new to Linux and I am trying to use my Handspring Visor with Evolution. I'm pretty sure linux is finding the visor because I get this output when running "tail -f /var/log/messages":

Mar 19 11:43:03 50rts92 kernel: usb 2-2: new full speed USB device using address 2
Mar 19 11:43:04 50rts92 kernel: drivers/usb/serial/usb-serial.c: USB Serial supp ort registered for Generic
Mar 19 11:43:04 50rts92 kernel: usbcore: registered new driver usbserial_generic
Mar 19 11:43:04 50rts92 kernel: usbcore: registered new driver usbserial
Mar 19 11:43:04 50rts92 kernel: drivers/usb/serial/usb-serial.c: USB Serial Driv er core v2.0
Mar 19 11:43:04 50rts92 kernel: drivers/usb/serial/usb-serial.c: USB Serial supp ort registered for Handspring Visor / Palm OS
Mar 19 11:43:04 50rts92 kernel: drivers/usb/serial/usb-serial.c: USB Serial supp ort registered for Sony Clie 3.5
Mar 19 11:43:04 50rts92 kernel: drivers/usb/serial/usb-serial.c: USB Serial supp ort registered for Sony Clie 5.0
Mar 19 11:43:04 50rts92 kernel: usb 2-2: Handspring Visor / Palm OS: port 1, is for Generic use
Mar 19 11:43:04 50rts92 kernel: usb 2-2: Handspring Visor / Palm OS: port 2, is for HotSync use
Mar 19 11:43:04 50rts92 kernel: usb 2-2: Handspring Visor / Palm OS: Number of p orts: 2
Mar 19 11:43:04 50rts92 kernel: visor 2-2:1.0: Handspring Visor / Palm OS conver ter detected
Mar 19 11:43:04 50rts92 kernel: usb 2-2: Handspring Visor / Palm OS converter no w attached to ttyUSB0
Mar 19 11:43:04 50rts92 kernel: usb 2-2: Handspring Visor / Palm OS converter no w attached to ttyUSB1
Mar 19 11:43:04 50rts92 kernel: usbcore: registered new driver visor
Mar 19 11:43:04 50rts92 kernel: drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
Mar 19 11:43:58 50rts92 kernel: usb 2-2: USB disconnect, address 2
Mar 19 11:43:58 50rts92 kernel: visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
Mar 19 11:43:58 50rts92 kernel: visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1
Mar 19 11:43:58 50rts92 kernel: visor 2-2:1.0: device disconnected

But when I try to set up the Pilot settings in Evolution, it doesn't do anything. I'm using the following settings within the "Gnome Pilot Settings":

Name: Cradle
Port: /dev/ttyUSB0
Speed: 57600
Timeout: 2
Type: USB

I press the hotsynch button during the "Initial Sync" screen, but nothing happens.

Any ideas?

Bob D.
19th March 2005, 06:12 PM
Give this link a try...it worked for me.

http://fedoranews.org/tchung/gnome-pilot/

The update in the grey box is what should get you going. I had to use KERNEL="ttyUSB0" instead of KERNEL="ttyUSB1" to get it to work for me. Once I made that change, I was able to get the sync to work like a charm.

Bob

jhd121
19th March 2005, 08:18 PM

OK, to reiterate, I am very new to linux so I don't really know what I'm talking about, but it seems as though I cannot get the permissions right. If I have root access I can create a link with "ln -s /dev/ttyUSB1 /dev/pilot" and then change the permissions with "chmod 666 /dev/pilot" and then run "pilot-xfer -l" it works. Also, if I am in the palm setup wizard, I can get it to retreive my username and id by following the same steps. However, when I try to synch it, nothing happens and I think it is because the /dev/ttyUSB1 resets itself and I no longer have permission to access it. Any ideas?

Bob D.
19th March 2005, 08:28 PM
Just so I'm clear, you did create the /etc/udev/rules.d/10-local.rules file as the HOWTO states, correct? Sorry to be dense, I just want to make sure we're both on the same page.

Bob

jhd121
19th March 2005, 08:31 PM
Thanks OK, I understand. Yes, I did create that file. I used your version and then I tried a version I found at http://www.clasohm.com/blog/one-entry?entry_id=12096

My /etc/udev/rules.d/10-visor.rules file now looks like this:

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

jhd121
19th March 2005, 08:35 PM
OK, I just had a break through. If I press the hotsynch button and then execute "chmod 666 /dev/pilot" as root, the visor will synch. But shouldn't udev take care of the permissions?

jhd121
19th March 2005, 09:05 PM
ok, I finally got it. After a couple hours of trying different combinations, it just started working. Thank you for your help.

Bob D.
19th March 2005, 09:24 PM
Great! Glad you got it worked out.

Bob