From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Sun, 22 Feb 2004 09:33:18 +0000 Subject: USB class hotplug confusion Message-Id: <20040222093318.GA4873@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org 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_id56&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