Problems with Palm hotsync
I posted a similar message to the jpilot list.
I'm trying to get my Palm m500 to hotsync by using a usb/visor script. If I run the script from the command line it works fine, but when run by usb.agent hotsyncing hangs.
I'm looking for debugging tips to help solve the problem.
I upgraded to 2.4.20 from 2.4.18 a few days ago so that modules would get unloaded correctly. 2.4.20 solved that problem, but now I can't hotsync and I've even received Kernel Oops while trying to hotsync.
Here's my usb/visor script:
#!/bin/sh
logger "********** Start ************"
sleep 2/bin/su moseley -c /usr/bin/jpilot-sync
logger "** end **"/sbin/rmmod visor usbserial
When I press hotsync the Palm says "identifying user" and then hangs. I see the "** Start **" message in syslog.
I then tap cancel on the Palm m500 and after a few seconds I see the "** end **" message.
Now both of these things work:
1) If I *replace* the call to jpilot-sync above with
logger "running!"
the script runs to completion and I see all the messages in the syslog.
2) If I rename visor to visor.tmp (so the hotplug agent doens't run it) and then hit the hotsync button (which loads the visor and usbserial modules) and then I run as root ./visor.tmp then it syncs correctly.
I'm running 2.4.20, jpilot 0.99.3 and the debian hotplug package 0.0.20020826-1.
BTW -- when trying to use the visor script (and it hangs) when I press cancel I set:
Jan 1 14:28:35 bumby kernel: usb-uhci.c: interrupt, status 3, frame# 193
I assume that's due to tapping "cancel" on the Palm.
Anyone have any ideas where to look or what else to test?
Signature · 13 lines
Bill Moseley [email protected] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel