** Also affects: vmware-server (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  On Gutsy 64-bit using qemu/kvm  (also VirtualBox and, I believe, VMWare)
  and the "-usb" switch no USB devices are available since qemu/kvm looks
  for the description of them in the 'devices' file of a usbfs mount at
  
  /proc/bus/usb/
  
  but the code previously providing the usbfs mount that is created at
  start-up via /etc/rcS/S11mountdevsubfs.sh -->
  /etc/init.d/mountdevsubfs.sh was commented out. The USB devices are now
  reported at
  
  /dev/bus/usb/
  
  but currently there is no usbfs file-system mounted/linked there to
  provide the 'devices' text-file.
  
  qemu/kvm reports:
  
  qemuctl -qemu vdeq kvm  -boot c -m 512 -hda /home/all/VirtualMachines
  /WindowsXP-SP2.ovl -net nic,vlan=0 -soundhw es1370 -usb -net vde
  
  info usbhost
  Could not open /proc/bus/usb/devices
  
  $ ls -l /proc/bus/usb
  total 0
+ 
+ 
+ WORKAROUND:
+ To re-enable it edit the file '/etc/init.d/mountdevsubfs.sh' and uncomment 
the code after line 40 so it reads:
+  # 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
+ Execute the script manually to enable the change before a system reboot:
+ $ sudo /etc/init.d/mountdevsubfs.sh start

-- 
Could not open /proc/bus/usb/devices
https://bugs.launchpad.net/bugs/156085
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to