#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
2. under Hardy Heron,
vi /etc/udev/rules.d/40-basic-permissions.rules
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664", GROUP="vboxusers"
SUBSYSTEM=="usb_device", MODE="0664", GROUP="vboxusers"
3. restart the udev device or reboot
/etc/init.d/udev restart
4. if the above doesn't enable usb, try this
cat /etc/group | grep vboxusers
vboxusers:x:125:[userid]
vi /etc/fstab
## usbfs is the USB group in fstab file:
none /proc/bus/usb usbfs devgid=125,devmode=664 0 0
reboot or try doing,
/etc/init.d/mountkernfs.sh
No comments:
Post a Comment