[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPXgP10j_bj4Z_EhvLu7iZHBW5JcdFG0zf9mMt8t5t-kWmh59g@mail.gmail.com>
Date: Fri, 25 May 2012 13:34:56 +0200
From: Kay Sievers <kay@...y.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Jeff Chua <jeff.chua.linux@...il.com>,
Alan Stern <stern@...land.harvard.edu>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH] USB: remove CONFIG_USB_DEVICEFS
On Fri, May 25, 2012 at 11:01 AM, Kay Sievers <kay@...y.org> wrote:
> On Fri, May 25, 2012 at 9:16 AM, Greg Kroah-Hartman
> <gregkh@...uxfoundation.org> 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.
Jeff,
if you still need to keep your static /dev setup, can you please try:
$ mkdir /dev/bus
$ mount -t devtmpfs none /dev/bus
$ mount --bind /dev/bus/bus /dev/bus
This should replace the yucky usbfs nodes at /proc/bus/ with the usual
/dev/bus/ kernel-managed device nodes. It tricks the usually used /dev
devtmpfs, into just providing /dev/bus/ on top of your static /dev.
VMWare should pick up this directory, just like it works for all usual
distro-like setups, and find the dynamically managed USB devices.
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists