Re: [RFC PATCH] USB: remove CONFIG_USB_DEVICEFS

From: Kay Sievers
Date: Fri May 25 2012 - 05:01:37 EST


On Fri, May 25, 2012 at 9:16 AM, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, May 25, 2012 at 03:06:33PM +0800, Jeff Chua wrote:

>> >> VMware USB Arbitration Service Version 8.4.19
>> >> USB: Unable to open "/proc/bus/usb/devices" (No such file or directory).

I think vmware tries to open the usual /dev/bus/usb/ nodes directly
after it has tried the deprecated /proc nodes.

Udev would create the /dev/bus/ nodes.

Or the kernel would create them itself if:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
is used.

> Use /dev/usb/ device nodes instead. ÂIf you have a distro that has static
> device nodes, just add them to the package that has those nodes, and you
> should be fine. ÂThat will bring you into the mid 2000's as far as
> device nodes go, I'm amazed that this hasn't been noticed before now.

Many distros have disabled the USB_DEVICEFS option and there are
usually no reports about problems any more.

But I guess the number of systems that want to run USB devices, and
pass them along to virtualization, but have an unmanaged static /dev
are close to one user these days. :)

Kay
--
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/