public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-22  9:51 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