linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* should the module script be invoked every time?
@ 2002-11-25 20:49 Gene Cash
  2002-11-25 21:39 ` Pedro Lopez-Cabanillas
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Gene Cash @ 2002-11-25 20:49 UTC (permalink / raw)
  To: linux-hotplug

OK, I'm running SuSE 8.0 with a 2.4.18 kernel, and I removed the hotplug 
RPM and installed hotplug-2002_08_26

I'm trying to get my Palm m500 to hotsync in the USB cradle when I press 
the button.  I've created a little script to do this using jpilot-sync 
from jpilot, and that part works just fine.

The script is now /etc/hotplug/usb/visor, since it's the visor module 
that supports the palms.

OK, now what documentation I've seen says that this script should be 
called *every* time the palm connects on the USB, which it does when it 
tries to initiate a hotsync.  Is this right?

However, due to (I believe) a bug in load_drivers() in 
hotplug.functions, it only gets called when the visor module is first 
loaded, and never called again until that module is unloaded. I can 
provide a patch.

Which behavour is correct?  And if the current behaviour is correct, 
then how do I get a script to run every time?

-gc

-- 
Gene Cash                   Server Technologies (Business Ops)
Phone: 407-458-5237         Oracle Support Services (Orlando, FL USA)



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
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] 14+ messages in thread

end of thread, other threads:[~2003-06-09 21:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-25 20:49 should the module script be invoked every time? Gene Cash
2002-11-25 21:39 ` Pedro Lopez-Cabanillas
2002-11-25 21:57 ` David Brownell
2002-11-25 21:58 ` Gene Cash
2002-11-25 22:04 ` Zach Welch
2002-11-25 22:13 ` Pedro Lopez-Cabanillas
2002-11-25 22:40 ` Pedro Lopez-Cabanillas
2002-11-25 23:12 ` David Brownell
2002-11-26 16:04 ` Gene Cash
2003-06-09 15:12 ` Chris Weiss
2003-06-09 15:55 ` David Brownell
2003-06-09 17:19 ` Chris Weiss
2003-06-09 17:24 ` David Brownell
2003-06-09 21:25 ` Paul Hedderly

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).