USB device regression with kernel 5.1

Discussions related to using VirtualBox on Linux hosts.
Post Reply
mooninite
Posts: 16
Joined: 17. Jan 2008, 05:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: RHEL, SuSE, SCO OpenServer, Windows XP

USB device regression with kernel 5.1

Post by mooninite »

VirtualBox 6.0.8 - Fedora 30 x86_64

I have a Sennheiser USB headset that functions like a USB headphone / microphone set in Linux, but in order to upgrade the firmware on it a Windows utility is required. Normally I can connect the headset to a Windows VM without a problem. I upgraded to the 5.1.7 kernel today and found that no matter how many times I tried I could not get the device to attach. The device would start to connect but would soon start flashing lights on itself like it was broken. I tried USB 1/2/3 host settings but they all acted the same way. The only difference I found was in the machine log. The log differences are below.

Kernel 5.0.16

Code: Select all

00:00:36.455540 VUSB: Attached '00007f9e557203e0[proxy 1395:0052]' to port 2 on RootHub#1 (FullSpeed)
Kernel 5.1.7

Code: Select all

00:00:41.718523 VUSB: Attached '00007f9175720470[proxy 1395:0052]' to port 2 on RootHub#1 (FullSpeed)
00:00:47.664239 usb-linux: Reset failed, rc=Not supported. errno=19.
00:00:47.677501 VUSB: Detached '00007f9175720470[proxy 1395:0052]' from port 2 on RootHub#1
Rebooting to the 5.0.16 kernel allows the device to instantly attach and the Windows utility reads the headset with no errors.
vboxdrv
Posts: 1
Joined: 23. Jun 2019, 22:46

Re: USB device regression with kernel 5.1

Post by vboxdrv »

Same with 5.1.4 on Arch Linux.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB device regression with kernel 5.1

Post by socratis »

Can you both please try the latest test builds? It includes several USB related fixes...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mooninite
Posts: 16
Joined: 17. Jan 2008, 05:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: RHEL, SuSE, SCO OpenServer, Windows XP

Re: USB device regression with kernel 5.1

Post by mooninite »

I upgraded to 6.0.10 today and this is not fixed. There is no error in the machine log.

The behavior is a little different this time.

Kernel 5.0 behavior:
1. Click on USB device in VM window USB menu
2. USB device resets
3. Connects to Windows guest successfully

Kernel 5.1 6.0.8 behavior:
1. Click on USB device in VM window USB menu
2. USB device resets
3. USB device errors and resets itself
4. Disconnects from VM on its own

Kernel 5.1 6.0.10 behavior:
1. Click on USB device in VM window USB menu
2. USB device resets
3. USB device errors and does not reset itself - does not disconnect from VM
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB device regression with kernel 5.1

Post by socratis »

mooninite wrote:Kernel 5.1 6.0.10 behavior:
...
3. USB device errors and does not reset itself - does not disconnect from VM
So, it sounds like it works with 5.1 6.0.10, right?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mooninite
Posts: 16
Joined: 17. Jan 2008, 05:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: RHEL, SuSE, SCO OpenServer, Windows XP

Re: USB device regression with kernel 5.1

Post by mooninite »

No. It does not work with 5.1 / 6.0.10.

3. USB device errors and does not reset itself - does not disconnect from VM

The device has multiple lights on it to indicate status. When I connect the device to a 5.1/6.0.10 guest VM the device starts flashing lights indicating the device is in an error condition. I cannot use the device in the guest VM. When connecting with 5.0 / 6.0.10 the device does not flash any lights. I can use the device.
mc_
Posts: 4
Joined: 6. Feb 2015, 22:40

Re: USB device regression with kernel 5.1

Post by mc_ »

Hi,

any update on this topic? I just upgraded from ubuntu 18.04 to 20.04, VirtualBox 5.2 to 6.1 and I am getting this error 19 now when trying to connect my USB Osciloscope. It was working fine before upgrade

Code: Select all

usb-linux: Reset failed, rc=Not supported. errno=19.
Lrmonteiro
Posts: 1
Joined: 10. Jun 2022, 16:29

Re: USB device regression with kernel 5.1

Post by Lrmonteiro »

I would also be very interested in a solution to this problem, as I am finding the same error when trying to connect a USB microchip reader.
Post Reply