LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Palm Pilot USB Help (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/palm-pilot-usb-help-305892/)

filesiteguy 03-25-2005 09:06 AM

Palm Pilot USB Help
 
I've been having issues with my Palm sync lately. I have only once been able to sync my new z72 with the system, and I had iffy response (it worked sometimes) with my recently deceased Tungsten E.

I had participated in this thread with my T|E and had success...

http://www.linuxquestions.org/questi...hreadid=235619



I was reading an article on Linux.com ( http://enterprise.linux.com/article..../03/17/1536231) about how to go about getting a Palm to sync. The author had some good ideas for diagnosing USB devices, so I gave it a shot. Here's what I found. The following is my dmesg | egrep usb output. From what I can tell, I see the palm on six different USB ports. WTF?? My KidzMouse is registered just fine. (That's my son's two-button mouse painted like a bee. It is the second mouse on the system in addition to my Logitech wireless.)

Here's my output....

kai@yoda:~> dmesg | egrep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.8-24.11-default ehci_hcd
usb usb1: SerialNumber: 0000:00:10.3
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.8-24.11-default uhci_hcd
usb usb2: SerialNumber: 0000:00:10.0
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.8-24.11-default uhci_hcd
usb usb3: SerialNumber: 0000:00:10.1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.8-24.11-default uhci_hcd
usb usb4: SerialNumber: 0000:00:10.2
usb 2-2: new full speed USB device using address 2
usb 2-2.1: new low speed USB device using address 3
usb 2-2.1: Product: KidzMouse Optical Mouse
usb 2-2.1: Manufacturer: KidzMouse, Inc. - www.KidzMouse.com
usbcore: registered new driver hiddev
input: USB HID v1.10 Mouse [KidzMouse, Inc. - www.KidzMouse.com KidzMouse Optical Mouse] on usb-0000:00:10.0-2.1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
usb 2-2.4: new full speed USB device using address 4
usb 2-2.4: Product: Palm Handheld
usb 2-2.4: Manufacturer: PalmOne, Inc.
usb 2-2.4: SerialNumber: 303056394137553435504142
usb 2-2.4: USB disconnect, address 4
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
usb 2-2.4: new full speed USB device using address 5
usb 2-2.4: Product: Palm Handheld
usb 2-2.4: Manufacturer: PalmOne, Inc.
usb 2-2.4: SerialNumber: 303056394137553435504142
usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 2-2.4: USB disconnect, address 5
usb 2-2.4: new full speed USB device using address 6
usb 2-2.4: Product: Palm Handheld
usb 2-2.4: Manufacturer: PalmOne, Inc.
usb 2-2.4: SerialNumber: 303056394137553435504142
usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 2-2.4: USB disconnect, address 6
usb 2-2.4: new full speed USB device using address 7
usb 2-2.4: Product: Palm Handheld
usb 2-2.4: Manufacturer: PalmOne, Inc.
usb 2-2.4: SerialNumber: 303056394137553435504142
usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB2
usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB3
usb 2-2.4: USB disconnect, address 7
usb 2-2.4: new full speed USB device using address 8
usb 2-2.4: Product: Palm Handheld
usb 2-2.4: Manufacturer: PalmOne, Inc.
usb 2-2.4: SerialNumber: 303056394137553435504142
usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB4
usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB5
usb 2-2.4: USB disconnect, address 8



The next thing the article said to do was run tail -f /var/log/messages. I did so, and see that the palm is loaded all over the place.


kai@yoda:~> tail -f /var/log/messages
Mar 25 04:29:02 yoda kernel: usb 2-2.4: Manufacturer: PalmOne, Inc.
Mar 25 04:29:02 yoda kernel: usb 2-2.4: SerialNumber: 303056394137553435504142
Mar 25 04:29:02 yoda kernel: visor 2-2.4:1.0: Handspring Visor / Palm OS converter detected
Mar 25 04:29:02 yoda kernel: usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB4
Mar 25 04:29:02 yoda kernel: usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB5
Mar 25 04:29:12 yoda /etc/dev.d/tty/50-visor.dev[7443]: add tty device /class/tty/ttyUSB5
Mar 25 04:29:12 yoda /etc/dev.d/tty/50-visor.dev[7453]: add tty device /class/tty/ttyUSB4
Mar 25 04:29:25 yoda kernel: visor ttyUSB2: Handspring Visor / Palm OS converter now disconnected from ttyUSB2
Mar 25 04:29:25 yoda kernel: visor ttyUSB3: Handspring Visor / Palm OS converter now disconnected from ttyUSB3
Mar 25 04:29:26 yoda kpilotDaemon: resmgr: server response code 502
Mar 25 04:39:33 yoda kernel: visor 2-2.4:1.0: Handspring Visor / Palm OS converter detected
Mar 25 04:39:33 yoda kernel: usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB2
Mar 25 04:39:33 yoda kernel: usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB3
Mar 25 04:39:35 yoda /etc/dev.d/tty/50-visor.dev[8329]: remove tty device /class/tty/ttyUSB3
Mar 25 04:39:38 yoda /etc/dev.d/tty/50-visor.dev[8453]: add tty device /class/tty/ttyUSB3
Mar 25 04:39:38 yoda /etc/dev.d/tty/50-visor.dev[8454]: add tty device /class/tty/ttyUSB2
Mar 25 04:39:38 yoda /etc/dev.d/tty/50-visor.dev[8475]: remove tty device /class/tty/ttyUSB2
Mar 25 04:39:42 yoda /etc/dev.d/tty/50-visor.dev[8521]: remove tty device /class/tty/ttyUSB3
Mar 25 04:39:43 yoda /etc/dev.d/tty/50-visor.dev[8602]: add tty device /class/tty/ttyUSB2
Mar 25 04:39:43 yoda /etc/dev.d/tty/50-visor.dev[8611]: add tty device /class/tty/ttyUSB3


At this point, I decided to press the hotsync button and bring up the KPilot daemon. It usually comes up then just sits there. You can see the continuation of the log file as well as the message from KPilot...


Mar 25 04:40:31 yoda kernel: visor ttyUSB4: Handspring Visor / Palm OS converter now disconnected from ttyUSB4
Mar 25 04:40:31 yoda kernel: visor ttyUSB5: Handspring Visor / Palm OS converter now disconnected from ttyUSB5
Mar 25 04:40:32 yoda kpilotDaemon: resmgr: server response code 502
Mar 25 04:40:40 yoda kernel: usb 2-2.4: control timeout on ep0in
Mar 25 04:40:41 yoda kpilotDaemon: resmgr: server response code 502
Mar 25 04:41:05 yoda kernel: usb 2-2.4: control timeout on ep0in
Mar 25 04:41:06 yoda kpilotDaemon: resmgr: server response code 502
Mar 25 04:41:26 yoda kernel: usb 2-2.4: USB disconnect, address 11
Mar 25 04:41:26 yoda kernel: visor 2-2.4:1.0: device disconnected
Mar 25 04:41:26 yoda /sbin/hotplug[8755]: unknown command
Mar 25 04:41:26 yoda /sbin/hotplug[8756]: unknown command


Here's my KPilot output...


Version: KPilot 4.4.5 (Augsburg)
Version: pilot-link 0.11.8
Version: KDE 3.3.0
Version: Qt 3.3.3

HotSync Log

04:23:39 Daemon status is `Waiting for sync'
04:25:37 Trying to open device /dev/usb/ttyUSB3...
04:25:37 Device link ready.
04:29:26 Trying to open device /dev/usb/ttyUSB3...
04:29:26 Device link ready.
04:40:32 Trying to open device /dev/usb/ttyUSB2...
04:40:32 Device link ready.
04:40:41 Trying to open device /dev/usb/ttyUSB2...
04:40:41 Device link ready.
04:40:51 Next sync will be a Fast Sync. Please press the HotSync button.
04:41:06 Trying to open device /dev/usb/ttyUSB3...
04:41:06 Device link ready.



<at this point the status bar goes to 10% then I get the message...>


04:41:16 Cannot accept Pilot (Connection timed out)



Okay at 4:44:50, I try again. I hit the sync button and get the following messages in tail -f /var/log/messages


Mar 25 04:44:49 yoda kernel: usb 2-2.4: new full speed USB device using address
12
Mar 25 04:44:49 yoda kernel: usb 2-2.4: Product: Palm Handheld
Mar 25 04:44:49 yoda kernel: usb 2-2.4: Manufacturer: PalmOne, Inc.
Mar 25 04:44:49 yoda kernel: usb 2-2.4: SerialNumber: 303056394137553435504142
Mar 25 04:44:49 yoda kernel: visor 2-2.4:1.0: Handspring Visor / Palm OS convert
er detected
Mar 25 04:44:49 yoda kernel: usb 2-2.4: Handspring Visor / Palm OS converter now
attached to ttyUSB4
Mar 25 04:44:49 yoda kernel: usb 2-2.4: Handspring Visor / Palm OS converter now
attached to ttyUSB5
Mar 25 04:44:50 yoda kernel: usb 2-2.4: USB disconnect, address 12
Mar 25 04:44:50 yoda kernel: visor ttyUSB4: Handspring Visor / Palm OS converter
now disconnected from ttyUSB4
Mar 25 04:44:50 yoda kernel: visor ttyUSB5: Handspring Visor / Palm OS converter
now disconnected from ttyUSB5
Mar 25 04:44:50 yoda kernel: visor 2-2.4:1.0: device disconnected
Mar 25 04:44:51 yoda /sbin/hotplug[8874]: unknown command
Mar 25 04:44:51 yoda /sbin/hotplug[8875]: unknown command
Mar 25 04:44:51 yoda kernel: usb 2-2.4: new full speed USB device using address
13
Mar 25 04:44:51 yoda kernel: usb 2-2.4: Product: Palm Handheld
Mar 25 04:44:51 yoda kernel: usb 2-2.4: Manufacturer: PalmOne, Inc.
Mar 25 04:44:51 yoda kernel: usb 2-2.4: SerialNumber: 303056394137553435504142
Mar 25 04:44:51 yoda kernel: visor 2-2.4:1.0: Handspring Visor / Palm OS converter detected
Mar 25 04:44:51 yoda kernel: usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB4
Mar 25 04:44:51 yoda kernel: usb 2-2.4: Handspring Visor / Palm OS converter now attached to ttyUSB5
Mar 25 04:44:59 yoda /etc/dev.d/tty/50-visor.dev[9214]: add tty device /class/tty/ttyUSB5
Mar 25 04:44:59 yoda /etc/dev.d/tty/50-visor.dev[9234]: add tty device /class/tty/ttyUSB4
Mar 25 04:44:59 yoda /etc/dev.d/tty/50-visor.dev[9246]: remove tty device /class/tty/ttyUSB4
Mar 25 04:45:01 yoda /etc/dev.d/tty/50-visor.dev[9287]: remove tty device /class/tty/ttyUSB5
Mar 25 04:45:01 yoda /etc/dev.d/tty/50-visor.dev[9331]: add tty device /class/tty/ttyUSB4
Mar 25 04:45:01 yoda /etc/dev.d/tty/50-visor.dev[9372]: add tty device /class/tty/ttyUSB5
Mar 25 04:45:17 yoda kpilotDaemon: resmgr: server response code 502
Mar 25 04:45:19 yoda kpilotDaemon: resmgr: server response code 502



At the same time, I change to USB5 in my KPilot settings...


04:45:19 Trying to open device /dev/usb/ttyUSB5...
04:45:19 Device link ready.
04:45:29 Cannot accept Pilot (Connection timed out)


I get this after I see 10% registered on the status bar.

From what I can see, the pilot is loading on more than one USB port. What gives? Is there something I can do to set this straight?

filesiteguy 03-25-2005 11:12 AM

Hmm...

...some more playing around.

I loaded a program called, USB Viewer. It tells me:

Palm Handheld
Manufacturer: PalmOne, Inc.
Serial Number: 3030567543554124
Speed: 12Mb/s (full)
USB Version: 1.00
Device Class: 00(>fc)
...
Vendor Id: 0830
Product Id: 0061
Revision Number: 1.00
...


So I typed (as root) modprobe visor vendor=0x0830 product=0x0061

and then tried to resync. Suddenly as USB5 / 115K bps it worked.

I was able to sync - until KPilot crashed.

Now I'm back to scratch...

Grrr.....

henryg 03-26-2005 09:25 PM

i am desperately trying to sync palm os
i share ur frustration

i've been trying now with infra-red
suddenly my fedora core 3 crashed

ironically i see that as a good sign
at least *something* happened
rather than complete silence
(which is what's been happening since)

i've been trying to sync my dana alphasmart first

but its my sisters tungsten that i want to make it work with USB
(she doesn't have infra-red)

I feel compelled to start a petition
because so many people come to Linux
only to find they can't sync their data

worse
you got tonnes of programmes like KPilot, JPilot, Evolution
giving the false hope that syncing is a breeze
(when its not even possible)

this is really a bad selling point for Linux
and I urge the developers and big distros
IBM, Novell sponsored to take this seriously

I urge the Palm-developers also
they seem to show an interest in Linux
but in reality haven't helped much for over 2 years.

J.W. 03-27-2005 01:19 PM

Moved: This thread is more suitable in Linux - Laptops & Handheld and has been moved accordingly to help your thread/question get the exposure it deserves.

Mod note: Since this is a pretty specific question, I believe it might have better success in the dedicated Handheld forum than in a more general forum. Good luck with it -- J.W.

valerie_tux 09-12-2005 04:40 AM

Hello Henryg and filesiteguy
I have been successful in syncing my palm zire72 on linux. I use the debian distro. the only trouble I had in the beginning was to figure out which device to use. Hotplug assigns two devices (in my case /dev/ttyUSB0 and dev/ttyUSB1). to make pilot-link work it needs to be connected to /dev/ttyUSB1. I think I got this clue from here
http://hallx049.oit.umn.edu/linux/zire/

besides trying pilot-xfer from the command line also helps.
some other info that would help..
your kernel version 2.6 series or 2.4

Valerie

PerfectReign 09-12-2005 09:30 AM

(filesiteguy here under a different nym)

Awesome!!

I hadn't tried this in some time.

I've since moved to a Dell laptop with Suse 9.3. I still have the Zire 72.

Following the instructions on the site you mentioned...

1. entered the console, changed to root (su) and did the change mod thingy:

chmod 666 /dev/ttyUSB1

I next did the symbolic link thing: cd /dev; ln -s ttyUSB1 pilot

I also plugged teh palm pilot directly into the computer using one of the two usb ports on the back. (I was using a hub at home on my desktop and that seems to have some issues, I guess.)

Voila! I'm happily synching. Now I just have to fire up Evolution or Kontakt and figure out how they work. :study:

I'll be forever greatful!!

valerie_tux 09-13-2005 01:03 PM

Glad to be of help :D

Valerie

ramowl 10-13-2005 03:04 PM

Palm Zire on Suse 10.0
 
The solution at http://hallx049.oit.umn.edu/linux/zire/ works for Suse 9.3.

Now... we need to find the equivilant for "ttyUSB1" under Suse 10.0. Looks like somebody at Suse decided to change device name IDs again!

ncfc001 10-16-2005 12:20 PM

Hi,

After eons trying to sync, I finally got my Handspring to work.

Although there is no /dev/ttyUSB1 to sync, I created the pilot link (ln -s ttyUSB1 pilot) anyway and tried to sync... it was successfull!!

I hope it also works for you.

LeslieL 10-18-2005 06:09 AM

I'm using a version of RHEL. In order to get my Palm to sync I need to become root and do "chmod 666 /dev/ttyUSB1" (or "chmod 666 /dev/pilot") every time. In Xandros I don't have to do that. Why? How can I make the chmod stick?

valerie_tux 10-18-2005 01:07 PM

you can add the command to some of your init scripts. Actually this is a question related running a command at boot and you should be able to find ample documentation at linuxquestions about it.

LeslieL 10-18-2005 03:47 PM

I seem to need to adjust the file permissions every time the ttyUSB1 file is created. It exists only as long as the Palm is syncing, then it's deleted. The /dev/pilot file loses its relaxed permissions when ttyUSB1 goes.

ramowl 10-19-2005 10:50 PM

Zire 71 Sync Works in Suse 10
 
Thanks goes out to ncfc001 for the tip!

However there is still a mystery to be solved (time for the resident uber-geek to step in).

By logging in as root, or using "su" to become root, then going into the /dev directory and creating a symlink for "pilot" works! But how?

"Listing" (ls) for the device name gets no results. Using the "locate" function results in no hits too. Then I thought, "maybe its a hidden file." However, I still get no results when I type "ls .*" in the /dev directory. Besides, if it were a "dot" file it would be " .ttyUSB " right?

So can somebody tell me how I created a symlink to a device file that (as far as I can tell) does not exist?

Oh... and by the bye...

The sync process hanged on the ImgFile-Foto application on the Palm. My fix for this was to disable the following conduits: Backup, File, MAL, MailSync, Sendmail, test and time.

I could go back and re-enable each of the aforementioned conduits one at a time to find the culprit(s), but I'm hoping somebody out there can save me some time and trouble!

linuxted 10-21-2005 12:32 AM

Quote:

Originally posted by ncfc001
Hi,

After eons trying to sync, I finally got my Handspring to work.

Although there is no /dev/ttyUSB1 to sync, I created the pilot link (ln -s ttyUSB1 pilot) anyway and tried to sync... it was successfull!!

I hope it also works for you.

I am so glad some people got this to work because I really need help with my palm Z22

I tried "ln -s ttyUSB1 pilot" command but keep getting
****************************************
Syncing on device /dev/pilot
Press the HotSync button now
****************************************
pi_bind error: /dev/pilot Permission denied
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
Finished

when I use jpilot I have the settings put at /dev/pilot with no luck. I've tried many permutations with no luck. I'm using Fedora Core 4.


Thanks

linuxted 10-21-2005 12:33 AM

Quote:

Originally posted by linuxted
I am so glad some people got this to work because I really need help with my palm Z22

I tried "ln -s ttyUSB1 pilot" command but keep getting
****************************************
Syncing on device /dev/pilot
Press the HotSync button now
****************************************
pi_bind error: /dev/pilot Permission denied
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
Finished

when I use jpilot I have the settings put at /dev/pilot with no luck. I've tried many permutations with no luck. I'm using Fedora Core 4.


Thanks

by the way, when I do a dmesg I get:
visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1
visor 4-2:1.0: device disconnected
usb 4-2: new full speed USB device using ohci_hcd and address 32
visor 4-2:1.0: Handspring Visor / Palm OS converter detected
usb 4-2: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 4-2: Handspring Visor / Palm OS converter now attached to ttyUSB1

So the computer knows a Palm is connected.

Thanks


All times are GMT -5. The time now is 06:56 PM.