From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Williams Date: Sat, 19 May 2001 02:05:21 +0000 Subject: Hotplug and USB device removal Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I'm building a USB flash programmer with an EZ-USB chip. So far, it works fine, I'm able to plug in the device and have the hotplug usb.agent script notice it and start my demon. All this demon does is set permissions for the usbdevfs file and create a link in /var/run to point to the device. Thusly, the application can access the device as a normal user. However, I would also like to use the hotplug system to notice the removal of the device and *remove* my symbolic link. The scripts currently do not support USB remove. It looks like the kernel sends all the necessary messages, but the script just needs updating. Is anyone working on this? Also, as you guessed, I have a program that loads the ez-usb device from user mode. It won't be much effort for me to polish up and make it available to the world (especially since it supports sdcc output) as a generic ez-usb loader, but there must be millions of them out there:-) -- Steve Williams "The woods are lovely, dark and deep. steve@icarus.com But I have promises to keep, steve@picturel.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel