All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with Palm hotsync
@ 2003-01-01 23:20 Bill Moseley
  0 siblings, 0 replies; only message in thread
From: Bill Moseley @ 2003-01-01 23:20 UTC (permalink / raw)
  To: linux-hotplug


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?


-- 
Bill Moseley moseley@hank.org




-------------------------------------------------------
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-01 23:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-01 23:20 Problems with Palm hotsync Bill Moseley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.