Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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
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?
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.
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
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.
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?
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.
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.
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!
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.