linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Moseley <moseley@hank.org>
To: linux-hotplug@vger.kernel.org
Subject: Problems with Palm hotsync
Date: Wed, 01 Jan 2003 23:20:27 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-104146354204508@msgid-missing> (raw)


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

                 reply	other threads:[~2003-01-01 23:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-104146354204508@msgid-missing \
    --to=moseley@hank.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).