usb-passthrough of network card not working any more on 22.04

Asked by Rolf Kutz

I run a KVM-VM with Ubuntu OS (tested with 20.04 and 22.04) on an Ubuntu Laptop. I add a usb-host-device network card to the VM with virt-manager. This used to work fine with Ubuntu 20.04 as host OS. The card would show up in the VM and was working fine. This stopped working after upgrading the host to 22.04. The card will show up in dmesg, but gives an error:

[ 1.446991] usb 1-5: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 1024
[ 1.447068] usb 1-5: config 1 interface 0 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 1024
[ 1.450528] usb 1-5: config 2 interface 1 altsetting 1 bulk endpoint 0x81 has invalid maxpacket 1024
[ 1.450600] usb 1-5: config 2 interface 1 altsetting 1 bulk endpoint 0x2 has invalid maxpacket 1024
[ 1.453858] usb 1-5: New USB device found, idVendor=17ef, idProduct=720c, bcdDevice=30.00
[ 1.453920] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1.453959] usb 1-5: Product: Lenovo USB-C to LAN
[ 1.453989] usb 1-5: Manufacturer: Lenovo
[ 1.454012] usb 1-5: SerialNumber: D832B9000000
[ 1.736899] usb 1-5: can't set config #2, error -32

Removing and re-adding the card gives the same result. If I plug in a network cable, the device is often recognized and given an IP by the host system instead of the VM.

Description: Ubuntu 22.04.1 LTS
Release: 22.04

If needed, I can provide further information or testing.

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Rolf Kutz for more information if necessary.

To post a message you must log in.