Re: udev regression? lsusb silent (no output) since 2.6.22-rc2 at least

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 27, 2007 at 04:42:35AM +0200, Kay Sievers wrote:
> > Any clues? Please let me know how I can help solve this problem!
> 
> It works fine for me here. Do you have CONFIG_USB_DEVICE_CLASS=y set?

Ah, I have not. However, this setting was not present in 2.6.21-rc3, from
which configuration I ran 'make oldconfig'.

Make oldconfig does ask for this feature:
  USB device class-devices (DEPRECATED) (USB_DEVICE_CLASS) [N/y/?] (NEW) 

And I chose the default, breaking (my version of) lsusb, on Ubuntu Edgy Eft.
I enabled USB_DEVICE_CLASS, and lsusb worked again.

Thank you both for your quick answers!

Please consider this patch which clarifies the need for USB_DEVICE_CLASS:

--- ./drivers/usb/core/Kconfig~	2007-05-27 11:22:22.000000000 +0200
+++ ./drivers/usb/core/Kconfig	2007-05-27 11:22:22.000000000 +0200
@@ -54,7 +54,8 @@
 	  device of the interface and therefore easily accessible from the interface
 	  event.
 
-	  This option provides backward compatibility if needed.
+	  This option provides backward compatibility and is required on
+	  many distributions to keep lsusb working.
 
 config USB_DYNAMIC_MINORS
 	bool "Dynamic USB minor allocation (EXPERIMENTAL)"

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux