[SOLVED] USB Device pass-thru not working

jteasy

New Member
May 13, 2022
4
1
1
Hey , not sure if this is right forum to ask or not but am unable to see usb device in guest but only when trying using a cloud image based template. I've attached some screengrabs showing output but in summary

  • Device is visible on host at /dev/serial/by-id/<device-identifier>
  • If I attach usb device to an ubuntu 20.04 guest vm which is a full clone of a cloud image based template the device doesn't show up in guest
  • If I create a new vm with same OS ( ubuntu 20.04) from an ISO and attach usb device I can see it in guest.
In both cases guest are fully patched and running same kernel version etc, from searching around for clues on where to go next I found a small difference in the udev rules from one guest to the other, tried a quick-fix of simply adding the same rule from working guest to non-working without success

I suspect it may be something completely unrelated to PVE and more related to differences between what packages make up a base install of ubuntu when using iso installer versus the cloud image installer.


Just wondered if anyone has any similar experiences or can at least validate my train of thought is logical or whether there are more checks I can do before heading off to compare iso vs cloud image installers
 

Attachments

  • pve-host.png
    pve-host.png
    97.2 KB · Views: 24
  • Pasted image 20220513142946.png
    Pasted image 20220513142946.png
    71.5 KB · Views: 25
  • Pasted image 20220513143112.png
    Pasted image 20220513143112.png
    21 KB · Views: 18
  • Pasted image 20220513143219.png
    Pasted image 20220513143219.png
    78.9 KB · Views: 17
  • Pasted image 20220513143552.png
    Pasted image 20220513143552.png
    74.4 KB · Views: 15
  • clone-cfg.png
    clone-cfg.png
    250 KB · Views: 14
  • Pasted image 20220513144456.png
    Pasted image 20220513144456.png
    74.4 KB · Views: 12
  • Pasted image 20220513144539.png
    Pasted image 20220513144539.png
    170.4 KB · Views: 21
Hi,
can you show what lsusb shows in the VM when the stick is shared with it?
 
Hi,
can you show what lsusb shows in the VM when the stick is shared with it?
Sure no problem, it appears as expected, the device in question is the Conbee zigbee gw, this is on the guest where it's not showing under /dev/serial

1652451974273.png
 
Confirmed, I can now see the device in the guest that previously wasn't showing it, so to answer my own question adding the extra modules for whichever kernel you're running fixes problem for cloud based images

sudo apt install linux-modules-extra-5.4.0-110-generic/focal-updates

Amazing how many times just asking a question and getting another perspective clears things up and points you in the right direction :)

Thanks shrdlicka
 
  • Like
Reactions: gattila
I'm glad that it works for you now :). Would you be so kind and mark this thread as solved ;).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!