* USB class hotplug confusion
@ 2004-02-22 9:33 Andrey Borzenkov
0 siblings, 0 replies; only message in thread
From: Andrey Borzenkov @ 2004-02-22 9:33 UTC (permalink / raw)
To: linux-hotplug-devel; +Cc: linux-kernel
Since some time running -mm produces
cat: /sys//class/usb/lp0/bNumConfigurations: No such file or directory
/etc/hotplug/usb.agent: line 144: [: too many arguments
there is no wonder as
{pts/2}% l /sys/class/usb/lp0
dev device@ driver@
apparently in addition to "normal" USB events we get extra class
events; I must admit I do not understand what "class" is for and why
usblp is using it but e.g. joystick (that I have as well) does not.
Is there simple way to simply ignore those events in usb.agent? Or
better yet - is it possible to specify different agents for "device" and
"class" events? As kernel provides both they are presumed to be
different and require different actions?
-andrey
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
_______________________________________________
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] only message in thread
only message in thread, other threads:[~2004-02-22 9:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-22 9:33 USB class hotplug confusion Andrey Borzenkov
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).