linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hotplug and USB device removal
@ 2001-05-19  2:05 Stephen Williams
  2001-05-19  3:13 ` Brad Hards
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Stephen Williams @ 2001-05-19  2:05 UTC (permalink / raw)
  To: linux-hotplug


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-05-19 21:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-19  2:05 Hotplug and USB device removal Stephen Williams
2001-05-19  3:13 ` Brad Hards
2001-05-19  4:54 ` Stephen Williams
2001-05-19 10:17 ` Brad Hards
2001-05-19 10:31 ` Brad Hards
2001-05-19 14:09 ` Stephen Williams
2001-05-19 14:13 ` Stephen Williams
2001-05-19 15:57 ` David Brownell
2001-05-19 20:45 ` Greg KH
2001-05-19 21:33 ` Stephen Williams

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