From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 18 Aug 2006 12:26:37 +0000 Subject: Re: AW: Re: Problems defining an udev rule for usb-daq board Message-Id: <1155903997.3333.44.camel@pim.off.vrfy.org> List-Id: References: <7713092.1155898774121.JavaMail.root@ps14> In-Reply-To: <7713092.1155898774121.JavaMail.root@ps14> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, 2006-08-18 at 14:20 +0200, a0123195@tiscali.de wrote: > >You plug into the module-load event. Are you sure that the module > isn't > >already loaded when you connect the device? And how will the module- > load > >event, that calls your script, find the the device? > > The module usbdux is automatically loaded when the device is > connetcted. But only the first time you connect a matching device and never again, except you unload it manually. > >Why don't you plug into the event for the device to upload the > firmware? > > How? I don't know much about udev, but it worked with kernel 2.6.8. > and the hotplug scripts. Run 'udevmonitor --env', plug-in the device, pick from the list of events the one for the device and use this. Try the one which contains the correct DEVNAME and use that value as the device node name you upload the firmware to. Good luck, Kay ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ 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