[Solved] VirtualBox, no USB device connected
Posted: 20. Jan 2020, 19:44
Hello,
I'm sure, this has been answered before, but I couldn't find a solution so far, so please accept my apology in advance, in case the solution seems trivial to you.
I cannot get any USB-device to show up in my virtual machine.
Here is what I did:
I installed Ubuntu 18.04.3 LTS (x64) and installed all updates.
I installed VirtualBox 5.2.34_Ubuntu r133883, using the official Ubuntu-Software app.
I downloaded Oracle_VM_VirtualBox_Extension_Pack-5.2.34.vbox-extpack and installed it.
The Expension Pack shows in VirtualBox (as Oracle VM VirtualExtension Pack 5.2.34r133893).
I created a virtual machine, using Microsoft Windows 7 Home Premium (x86, since it won't let me create x64-machines).
I installed all Windows 7 updates (yeah, I know, Windows 7 is not supported anymore, I am planning to upgrade to Win10 later).
I installed the guest-extensions, using the menu (devices, mount guest extensions (or similar, I am using German GUI)).
The guest-extensions show as Oracle VM VirtualBox Guest Additions 5.2.34.
They work with shared folders between Ubuntu and Windows.
After I plug in my scanner on my Ubuntu notebook, the lsusb-command in the terminal shows:
Bus 002 Device 007: ID 04a9:221b Canon, Inc. CanoScan 4200F.
And the command sudo VBoxManage list usbhost shows:
UUID: daaceb45-4506-4165-a8d3-454ffa94a75d
VendorId: 0x04a9 (04A9)
ProductId: 0x221b (221B)
Revision: 2.0 (0200)
Port: 0
USB version/speed: 2/High
Manufacturer: Canon
Product: CanoScan
Address: sysfs:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1//device:/dev/vboxusb/002/007
Current State: Available
My USB-configuration in VirtualBox is
[x] USB-Controller aktivated
[o] USB-2.0-Controller (EHCI)
I also added a blank-filter for new USB-devices.
I can't get any USB-device to show in the Windows-VM.
Clicking on the USB-icon always displays: no USB-device connected.
Using the menu (devices, usb) shows the same: no device connected.
I can't figure this out, since the commandlines show that the devices are being detected by the system.
There are two aspects, I think may be responsible:
- Ubuntu is 64 bit, Windows 32 bit (I hope that's not it, because I cannot create/start 64-bit-VMs)
- there's a version mismatch. VirtualBox-info displays: 5.2.34_Ubuntu r133883. The extension is shown as 5.2.34r133893. But I installed VirtualBox from the official Ubuntu 18 repositories and I downloaded the extension from virtualbox-org-wiki-Download_Old_Builds_5_2, downloading the file shown under Ubuntu 18.04 LTS.
Or I am just using it all wrong.
Can you give me a hint?
Best regards and thanks in advance,
Sven
I'm sure, this has been answered before, but I couldn't find a solution so far, so please accept my apology in advance, in case the solution seems trivial to you.
I cannot get any USB-device to show up in my virtual machine.
Here is what I did:
I installed Ubuntu 18.04.3 LTS (x64) and installed all updates.
I installed VirtualBox 5.2.34_Ubuntu r133883, using the official Ubuntu-Software app.
I downloaded Oracle_VM_VirtualBox_Extension_Pack-5.2.34.vbox-extpack and installed it.
The Expension Pack shows in VirtualBox (as Oracle VM VirtualExtension Pack 5.2.34r133893).
I created a virtual machine, using Microsoft Windows 7 Home Premium (x86, since it won't let me create x64-machines).
I installed all Windows 7 updates (yeah, I know, Windows 7 is not supported anymore, I am planning to upgrade to Win10 later).
I installed the guest-extensions, using the menu (devices, mount guest extensions (or similar, I am using German GUI)).
The guest-extensions show as Oracle VM VirtualBox Guest Additions 5.2.34.
They work with shared folders between Ubuntu and Windows.
After I plug in my scanner on my Ubuntu notebook, the lsusb-command in the terminal shows:
Bus 002 Device 007: ID 04a9:221b Canon, Inc. CanoScan 4200F.
And the command sudo VBoxManage list usbhost shows:
UUID: daaceb45-4506-4165-a8d3-454ffa94a75d
VendorId: 0x04a9 (04A9)
ProductId: 0x221b (221B)
Revision: 2.0 (0200)
Port: 0
USB version/speed: 2/High
Manufacturer: Canon
Product: CanoScan
Address: sysfs:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1//device:/dev/vboxusb/002/007
Current State: Available
My USB-configuration in VirtualBox is
[x] USB-Controller aktivated
[o] USB-2.0-Controller (EHCI)
I also added a blank-filter for new USB-devices.
I can't get any USB-device to show in the Windows-VM.
Clicking on the USB-icon always displays: no USB-device connected.
Using the menu (devices, usb) shows the same: no device connected.
I can't figure this out, since the commandlines show that the devices are being detected by the system.
There are two aspects, I think may be responsible:
- Ubuntu is 64 bit, Windows 32 bit (I hope that's not it, because I cannot create/start 64-bit-VMs)
- there's a version mismatch. VirtualBox-info displays: 5.2.34_Ubuntu r133883. The extension is shown as 5.2.34r133893. But I installed VirtualBox from the official Ubuntu 18 repositories and I downloaded the extension from virtualbox-org-wiki-Download_Old_Builds_5_2, downloading the file shown under Ubuntu 18.04 LTS.
Or I am just using it all wrong.
Can you give me a hint?
Best regards and thanks in advance,
Sven