ISSUE: USB failed to attach to win7 guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
bruraschi
Posts: 1
Joined: 4. Apr 2024, 21:53

ISSUE: USB failed to attach to win7 guest

Post by bruraschi »

id

Code: Select all

uid=1000(utente) gid=1000(utente) gruppi=1000(utente),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),131(lxd),132(sambashare),135(vboxusers)
lsusb

Code: Select all

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 005: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass)
Bus 007 Device 004: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass)
Bus 007 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 007 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 1919:1919 USB_Receiver 2.12 USB_Receiver 2.12
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 045e:071f Microsoft Corp. Mouse/Keyboard 2.4GHz Transceiver V2.0
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0483:2016 STMicroelectronics Fingerprint Reader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
VBoxManage -version

Code: Select all

6.1.50r161033
VBoxManage list extpacks

Code: Select all

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      6.1.50
Revision:     161033
Edition:      
Description:  Oracle Cloud Infrastructure integration, USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true 
Why unusable:
VBoxManage list usbhost

Code: Select all

Host USB Devices:

UUID:               ba44670a-4a10-4ca3-84e1-7b52a665ab1f
VendorId:           0x413c (413C)
ProductId:          0x8126 (8126)
Revision:           1.0 (0100)
Port:               0
USB version/speed:  2/Full
Manufacturer:       Broadcom Corp
Product:            BCM2045
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2.1//device:/dev/vboxusb/007/003
Current State:      Busy

UUID:               2ed57f6f-50d4-450a-b943-d40d12e3b86f
VendorId:           0x1919 (1919)
ProductId:          0x1919 (1919)
Revision:           41.1 (4101)
Port:               0
USB version/speed:  2/Full
Manufacturer:       USB_Receiver 2.12
Product:            USB_Receiver 2.12
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1//device:/dev/vboxusb/006/003
Current State:      Busy

UUID:               4077fd87-04bc-48e5-a093-54e69bf84d0f
VendorId:           0x0a5c (0A5C)
ProductId:          0x4503 (4503)
Revision:           1.0 (0100)
Port:               2
USB version/speed:  2/Full
Manufacturer:       Broadcom Corp
Product:            Mouse (Boot Interface Subclass)
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2.3//device:/dev/vboxusb/007/005
Current State:      Busy

UUID:               31b76ba7-2914-4070-814d-a10686f3d03e
VendorId:           0x0a5c (0A5C)
ProductId:          0x4502 (4502)
Revision:           1.0 (0100)
Port:               1
USB version/speed:  2/Full
Manufacturer:       Broadcom Corp
Product:            Keyboard (Boot Interface Subclass)
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2.2//device:/dev/vboxusb/007/004
Current State:      Busy

UUID:               626172b5-ec7b-4f0d-a788-69df0aa34488
VendorId:           0x05a9 (05A9)
ProductId:          0x2640 (2640)
Revision:           1.0 (0100)
Port:               0
USB version/speed:  2/High
Manufacturer:       OmniVision Technologies, Inc. -2640-07.07.20.3
Product:            Laptop Integrated Webcam
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1//device:/dev/vboxusb/001/002
Current State:      Busy

UUID:               4c9737cd-78e8-4402-aa4d-d3135487da74
VendorId:           0x0483 (0483)
ProductId:          0x2016 (2016)
Revision:           0.1 (0001)
Port:               1
USB version/speed:  1/Full
Manufacturer:       STMicroelectronics
Product:            Biometric Coprocessor
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2//device:/dev/vboxusb/003/002
Current State:      Available

UUID:               07d6d339-3ee0-442f-a984-cb46bca66f2f
VendorId:           0x045e (045E)
ProductId:          0x071f (071F)
Revision:           2.80 (0280)
Port:               0
USB version/speed:  2/Low
Manufacturer:       Microsoft
Product:            Microsoft® 2.4GHz Transceiver V2.0
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1//device:/dev/vboxusb/005/002
Current State:      Busy
VBoxManage showvminfo win7

Code: Select all

Name:                        win7
Groups:                      /
Guest OS:                    Windows 7 (32-bit)
UUID:                        537a53c8-ba59-4f40-941d-fad62f2e2d00
Config file:                 /media/utente/AECA58B1CA587813/Users/utente/VirtualBox VMs/win7/win7.vbox
Snapshot folder:             /media/utente/AECA58B1CA587813/Users/utente/VirtualBox VMs/win7/Snapshots
Log folder:                  /media/utente/AECA58B1CA587813/Users/utente/VirtualBox VMs/win7/Logs
Hardware UUID:               537a53c8-ba59-4f40-941d-fad62f2e2d00
Memory size:                 1024MB
Page Fusion:                 disabled
VRAM size:                   128MB
CPU exec cap:                100%
HPET:                        disabled
CPUProfile:                  host
Chipset:                     piix3
Firmware:                    BIOS
Number of CPUs:              1
PAE:                         disabled
Long Mode:                   disabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      disabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               Floppy
Boot Device 2:               DVD
Boot Device 3:               HardDisk
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      disabled
BIOS APIC mode:              APIC
Time offset:                 0ms
RTC:                         local time
Hardware Virtualization:     enabled
Nested Paging:               enabled
Large Pages:                 disabled
VT-x VPID:                   enabled
VT-x Unrestricted Exec.:     enabled
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   HyperV
State:                       powered off (since 2024-04-04T19:47:53.000000000)
Graphics Controller:         VBoxSVGA
Monitor count:               1
3D Acceleration:             enabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:          
Teleporter Password:         
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:       
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:            
VM process priority:         default
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
SATA (0, 0): /media/utente/AECA58B1CA587813/Users/utente/VirtualBox VMs/win7/win7.vdi (UUID: a00eb4fd-3874-42a5-901d-d48bad5f29c5)
SATA (1, 0): Empty
NIC 1:                       MAC: 08002730EC57, Attachment: NAT, Cable connected: off, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:                       disabled
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
Pointing Device:             USB Tablet
Keyboard Device:             PS/2 Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: PulseAudio, Controller: HDA, Codec: STAC9221)
Audio playback:              enabled
Audio capture:               disabled
Clipboard Mode:              disabled
Drag and drop Mode:          disabled
VRDE:                        disabled
OHCI USB:                    enabled
EHCI USB:                    enabled
xHCI USB:                    disabled

USB Device Filters:

Index:                       0
Active:                      yes
Name:                        USB_Receiver 2.12 [2901]
VendorId:                    1919
ProductId:                   1919
Revision:                    
Manufacturer:                
Product:                     
Remote:                      0
Serial Number:               

Bandwidth groups:  <none>

Shared folders:<none>

Recording enabled:           no
Recording screens:           1
 Screen 0:
    Enabled:                 yes
    ID:                      0
    Record video:            yes
    Record audio:            yes
    Destination:             File
    File:                    /media/utente/AECA58B1CA587813/Users/utente/VirtualBox VMs/win7/win7-screen0.webm
    Options:                 vc_enabled=true,ac_enabled=true,ac_profile=med
    Video dimensions:        1024x768
    Video rate:              512kbps
    Video FPS:               25fps
Guest:

Configured memory balloon size: 0MB
VBoxSVC.zip
(1.52 KiB) Not downloaded yet
VBox.zip
(34.96 KiB) Not downloaded yet
I can't attach a USB receiver (laser pointer for powerpoint) in Ubuntu 20.04 as host with Win7 homepremium 32bit as guest. When I try, the VM freezes for a few seconds and then the balloon error "failed to attach blablabla" appears. Instead, if I use the same version of Virtualbox but on Windows everything works perfectly.

So it's the linux version that has the problem, or, I've the problem with something in linux.

Can someone help me?
Post Reply