Good day. On a computer ubuntu 12.10. I put windows 7 32bit Ultimate on the Wirth machine. All guest add-ons and package extensions set. It produces the following error:

Failed to access the USB subsystem. Currently VirtualBox cannot use USB devices. You can correct this problem by adding the current user to the 'vboxusers' group. For more detailed explanations follow the instructions in the user manual.

writes in detail to the error:

Код ошибки: NS_ERROR_ЦитатаFAILURE (0x00004005)Компонент: HostИнтерфейс: IHost {30678943-32df-4830-b413-931b25ac86a0}Вызванный интерфейс: IMachine {22781af3-1c96-4126-9edf-67a020e0e858}

Looked at the current user just in case with the whoami command. The current user tried to add as in the manual

sudo usermod -a -G vboxusers in43sh

The user seems to be in a group, but the error is the same.

  • command id what will show? - pyatak
  • uid = 1000 (in43sh) gid = 1000 (in43sh) groups = 1000 (in43sh), 4 (adm), 24 (cdrom), 27 (sudo), 30 (dip), 46 (plugdev), 107 (lpadmin), 124 (sambashare) - in43sh
  • Well, yes, there is no group, then groupadd vboxusers first, and then add. - pyatak
  • I added the group, and there is my user in it: vboxusers: x: 125: in43shno virtualbox still requires me to add my user to this group. how is this possible? - in43sh
  • So, am I usdfs mounted? - pyatak

1 answer 1

In general, the point is, you need to mount usbfs, and allow access to it by the user from whom the virtualbox is running, or to the whole group of vboxusers, having previously included the necessary users in it. Now I learned that in the new usbfs through the ass, it goes like this:

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

And after that, try

  none /proc/bus/usb usbfs devgid=??? ,devmode=664 0 0 

in fstab.

  • sudo mount --bind / dev / bus / usb / proc / bus / usb this error: mount: the mount point / proc / bus / usb does not exist try to create sudo mkdir -p / proc / bus / usb such error: mkdir: cannot be created directory "/ proc / bus / usb": No such file or directory as possible? - in43sh
  • And / proc / bus / that is? Try this way sudo mount --bind / dev / bus / / proc / bus / - pyatak
  • thank you very much! it all worked. I really didn’t understand why :) because I needed to add a user to the group, and I mounted the usb file system for some reason. if not difficult, please explain. - in43sh
  • Simply put, your virtualization system wanted (you asked) to get access to usb devices, for that it needs to get data from the usbfs virtual pseudo-file system on which it works, it contains information about connected devices, etc. Simply put, mounting usbfs is a “hole” with information about the usb host that application software already uses, such as virtualbox. And the user in the group is just a perm which gives the right to use the file system. - pyatak
  • What does permishen mean? I googled, but never found. - in43sh