USB device not in passthrough list

juless

Dabbler
Joined
Jan 3, 2023
Messages
10
Hello,

I have a VM running linux (with home assistant OS on it), i want to connect it with a sonoff zigbee usb dongle.
The device is plug and it appear in the dmesg (see bellow) at usb 3-1.

But when i tri to add it to the VM it don't show up in the liste (screenshot below)


Can anyone please help me on this?


dmesg:
[ 5412.106733] kvm [792057]: vcpu0, guest rIP: 0xffffffff8f669634 disabled perfctr wrmsr: 0xc2 data 0xffff
[ 5512.160146] usb 3-1: new full-speed USB device number 3 using xhci_hcd
[ 5512.313590] usb 3-1: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 5512.318612] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5512.323522] usb 3-1: Product: Sonoff Zigbee 3.0 USB Dongle Plus
[ 5512.328810] usb 3-1: Manufacturer: Silicon Labs
[ 5512.333718] usb 3-1: SerialNumber: 0001
[ 5512.348872] usbcore: registered new interface driver usbserial_generic
[ 5512.350079] usbserial: USB Serial support registered for generic
[ 5512.352142] usbcore: registered new interface driver cp210x
[ 5512.353320] usbserial: USB Serial support registered for cp210x

1674517443052.png
 

Attachments

  • 1674517436951.png
    1674517436951.png
    26.6 KB · Views: 162

juless

Dabbler
Joined
Jan 3, 2023
Messages
10
the UART bridg appear even if the stick is unplug
 

chuck32

Guru
Joined
Jan 14, 2023
Messages
623
Referring to your other thread and seeing this is the proposed installation method I suggested, I should have mentioned I'm using the same sonoff usb stick.
For me it works, it appears in the list and I'm able to add it.
 

adamthekiwi

Dabbler
Joined
Jan 17, 2012
Messages
15
Referring to your other thread and seeing this is the proposed installation method I suggested, I should have mentioned I'm using the same sonoff usb stick.
For me it works, it appears in the list and I'm able to add it.
Hi @chuck32 !

Thanks for jumping in again!

I followed your advice and switched to the VM installation method - other than struggling to identify the IP (luckily, my Ubiquiti controller shows all the clients with their MAC addresses) it went swimmingly!

At the moment, my issue is that the VM doesn't recognise the USB device at all. It only offered me the 'custom' option and then reported that the Product ID couldn't be identified (definitely correct, taken from `dmesg` - which means the TrueNAS host is definitely seeing it).

I tried the alternative of posting through the whole PCI controller - TrueNAS was having none of that.

Anything I might have missed in seeing up the VM?

Thanks again...
 

chuck32

Guru
Joined
Jan 14, 2023
Messages
623
Mmh,

1000042801.png

This is my setup.

You did shutdown the VM during adding the device? Did you try different ports?
You may want to reboot your server.

Adding to your other post, sudo lsusb the shell will often say command not found when it means you're lacking privileges. But if shows up correctly in dmesg and you can't choose it here it probably go for a reboot or change USB ports.
 

adamthekiwi

Dabbler
Joined
Jan 17, 2012
Messages
15
Yes, shut it down (well, stopped), and have tried different ports (that is, moved the dongle to a different USB port).

I'll try a reboot. I'm not at the machine right now, so I'll give it a whirl in a bit (and try running lsusb as root)...
 

erlendfalch

Cadet
Joined
Mar 29, 2024
Messages
1
I have Sonoff Zigbee 3.0 and experienced the same problem as above. But notice that the device got a different name than I was used to in HAOS. I found it by checking which device got added/removed from list in webui after connecting/disconnecting the dongle.

Added it as follows, which worked in HAOS:
1711724970234.png
 
Top