LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   USB device not recognized on guest OS (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/usb-device-not-recognized-on-guest-os-4175438632/)

PrayingMantis 11-25-2012 08:16 AM

USB device not recognized on guest OS
 
Hi Guys,

I am using ArchLinux on top of Ubuntu 12.04 using VirtualBox. However, I am facing problems with my USB devices. When I connect a USB to my PC, while running arch linux, it is ubuntu which detects my device instead of arch.

I went through some ArchLinux forums, to find out that my user should be included in the special group "vboxusers". Also, as a setting to my VirtualBox I have enabled the USB EHCI controller on the guest OS (arch).

As as output for lsusb, I get the following on Arch:
[mantis@ArchLinux ~]$ lsusb
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[mantis@ArchLinux ~]$

[mantis@ArchLinux ~]$ vboxmanage list usbhost
Host USB Devices:

UUID: 7fe8cae0-966b-442e-bfa4-1e209ca1e6c6
VendorId: 0x80ee (80EE)
ProductId: 0x0021 (0021)
Revision: 1.0 (0100)
Port: 0
USB version/speed: 1/1
Manufacturer: VirtualBox
Product: USB Tablet
Address: sysfs:/sys/devices/pci0000:00/0000:00:06.0/usb1/1-1//device:/dev/vboxusb/001/002
Current State: Busy

[mantis@ArchLinux ~]$

Any suggestions?

Thanks,
Mantis

PrayingMantis 11-25-2012 09:07 AM

Issue Resolved
 
Hi All,

As it turns out, the user which is to be added to the "vboxusers" group has to be the one from the host OS (ie ubuntu).

Two changes did the trick:
1) Adding my Ubuntu username to the "vboxusers" group:
$ sudo gpasswd -a $USER vboxusers
Followed by a logout & login.

2) Adding a USB filter in the Oracle VirtualBox (using existing USB devices).

I have been using VirtualBox 4.1.2.

Regards,
Mantis


All times are GMT -5. The time now is 06:51 PM.