Re: 2.6.31-rc0-git: lsusb stopped working?
From: Greg KH
Date: Tue Jun 23 2009 - 12:17:53 EST
On Tue, Jun 23, 2009 at 05:09:44PM +0200, Frans Pop wrote:
> Pavel Machek wrote:
> > On thinkpad x60. Otherwise usb seems to work, including btusb dongle.
> >
> > /proc/bus/usb does not seem to exists.
>
> Correct. usbfs has been removed in 2.6.31.
To be pedantic, no, the filesystem has not been "removed". Only the
user-mountable filesystem option has been moved under CONFIG_EMBEDDED,
as there should not be any userspace code that still uses that interface
into usbfs.
The recommended solution is to use the device nodes for usbfs, which
have been around for a few years now, and usually show up under
/dev/bus/usb/ and have the proper ACL and permissions that the
filesystem nodes can't have for a variety of reasons.
If for some reason you can not use the /dev/bus/usb/ device nodes, you
can enable the config option by turning on CONFIG_EMBEDDED.
Hope this helps,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/