Comment 25 for bug 488274

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 488274] Re: disable deprecated config option CONFIG_USB_DEVICEFS

On Fri, 2010-03-19 at 02:20 +0000, Maxim wrote:

> >mount --bind /dev/bus /proc/bus
> >ln -s /sys/kernel/debug/usb/devices /proc/bus/usb/devices
>
> edonia, thank you.
> Command "mount --bind /dev/bus /proc/bus" eliminate all directories in /proc/bus. And it doesn't help with VirtualBox. But thank you anyway.
>
You can get around this too ;-)

  mkdir /dev/bus/input /dev/bus/pccard /dev/bus/pci
  (basically anything you see under /proc/bus)

  mount --bind /proc/bus/input /dev/bus/input
  mount --bind /proc/bus/pccard /dev/bus/pccard
  mount --bind /proc/bus/pci /dev/bus/pci

  mount --bind /dev/bus/usb /proc/bus/usb

  ln -s /sys/kernel/debug/usb/devices /proc/bus/usb/devices

It would really be better if your software just used the updated
paths ;-) Since no new version of any distribution provides the old
interface anymore!

Scott
--
Scott James Remnant
<email address hidden>