With the removal of the deprecated usbfs feature in the 3.5 release
candidates, is there a way of getting USB devices working on a non-
embedded Linux system without udev (static "/dev")?
Assume I have a way to determine the appropriate device nodes to create
under /dev/bus/usb. What else is needed to get USB keyboards and mice
working again? The mapping of a particular USB device to a class
(input, generic_usb, etc.) that used to happen before USB_DEVICE_CLASS
was removed is the part I'm missing.
Thanks in advance.
--Bob
On Thu, Jun 28, 2012 at 9:16 PM, Bob Tracy <[email protected]> wrote:
> With the removal of the deprecated usbfs feature in the 3.5 release
> candidates, is there a way of getting USB devices working on a non-
> embedded Linux system without udev (static "/dev")?
Please try to enable below options:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
and you need not the static dev nodes with devtmpfs.
Thanks,
--
Ming Lei
On Thu, Jun 28, 2012 at 09:39:45PM +0800, Ming Lei wrote:
> On Thu, Jun 28, 2012 at 9:16 PM, Bob Tracy <[email protected]> wrote:
> > With the removal of the deprecated usbfs feature in the 3.5 release
> > candidates, is there a way of getting USB devices working on a non-
> > embedded Linux system without udev (static "/dev")?
>
> Please try to enable below options:
>
> CONFIG_DEVTMPFS=y
> CONFIG_DEVTMPFS_MOUNT=y
>
> and you need not the static dev nodes with devtmpfs.
It was worth a try, but it didn't help in my situation. This system
also has an updated Kubuntu partition available to boot, so I'll try
that and take lots of notes as far as what devices "udev" creates.
That approach was good enough to get my sound card working, which would
otherwise have required "udev".
Thanks.
--Bob
On Thu, Jun 28, 2012 at 10:36:00PM -0500, Bob Tracy wrote:
> On Thu, Jun 28, 2012 at 09:39:45PM +0800, Ming Lei wrote:
> > On Thu, Jun 28, 2012 at 9:16 PM, Bob Tracy <[email protected]> wrote:
> > > With the removal of the deprecated usbfs feature in the 3.5 release
> > > candidates, is there a way of getting USB devices working on a non-
> > > embedded Linux system without udev (static "/dev")?
> >
> > Please try to enable below options:
> >
> > CONFIG_DEVTMPFS=y
> > CONFIG_DEVTMPFS_MOUNT=y
> >
> > and you need not the static dev nodes with devtmpfs.
>
> It was worth a try, but it didn't help in my situation.
Why not? What is using usbfs device nodes that can not find them in
/dev/bus/usb/ that devtmpfs creates?
thanks,
greg k-h