usbview: Can not open /proc/bus/usb/devices
Derek Broughton
derek at pointerstop.ca
Sat Jan 3 17:40:05 UTC 2009
Brad Sims wrote:
> Package: usbview
> Version: 1.0-11
> Severity: grave
> Justification: renders package unusable
>
> I am using the ubuntu kernel for Intrepid and it doesn't work... there
> is no /proc/bus/usb/devices file, and from reading previous bugs against
> this package there is no one who cares that this package doesn't
> actually work.
I don't think that's quite right - but there's no one who wants to
reintroduce /proc/bus/usb/devices to support applications using obsolete
methods. It's not the only one, however, as the VirtualBox non-ose version
needs it too.
fwiw, you need this in /etc/init.d/mountdevsubfs.sh (googling "usb
virtualbox ubuntu" should bring up lots of examples).
#
# Magic to make /proc/bus/usb work
#
[ -d /dev/bus/usb/.usbfs ] || mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0666
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
More information about the ubuntu-users
mailing list