From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Mon, 09 Jun 2003 15:55:04 +0000 Subject: Re: should the module script be invoked every time? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Chris Weiss wrote: > I'm new to the list, bringing up an old topic becasue I too had the same issue and > it doesn't seem to have been resolved on the list or in the docs. The resolution should have been in the hotplug scripts, a while back. > > >The script is now /etc/hotplug/usb/visor, since it's the visor module > > >that supports the palms. > > > > If you give your script some other name, like 'palmsync' or something > > else, your script shall run everytime you plug in the device. > > > > If you rename the module in distmap, the kernel module won't load. But if the > kernel module is already loaded, the usermap won't get run at all. Distmap is only for 2.2, which doesn't have /lib/modules/*/modules.usbmap. > The docs are WRONG on this! http://linux-hotplug.sourceforge.net/?selected=usb > "When your device support involves a kernel driver, instead of a purely user mode > driver, name the script after that driver. Similar scripts can trigger when you > connect a PDA, printer, or other device. " The docs say what should happen; but there were bugs in older versions of the hotplug software. If you have scripts that don't do that, (a) update to the current software, (b) try to reproduce this, then (c) if it still doesn't work, report a bug. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ 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