VMware Cloud Community
timeos
Contributor
Contributor

ESXi 6.5 how to edit /etc/vmware/usb.ids

hello all

I am trying to make my USB device to be passthrough from ESXi host to virtual machine. I followed all the steps to make it working based on following article https://williamlam.com/2020/05/how-to-passthrough-usb-keyboard-mouse-hid-and-ccid-devices-to-vm-in-e...

but the problem is, that when I execute "esxcli hardware usb passthrough device list", the output is empty. it seems that the problem comes from fact, that this USB device "0x3553 PCsensor, 0xa001 TEMPerGold" doesnt have its own record in /etc/vmware/usb.ids and lsusb shows it without any name:

$ lsusb
Bus 002 Device 003: ID 0424:2660 Standard Microsystems Corp. Hub
Bus 001 Device 004: ID 3553:a001  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Bus 001 Device 003: ID 173d:0004 QSENN
Bus 003 Device 002: ID 03f0:7029 HP, Inc
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I found out that USB device IDs can be managed through "usb.ids" but the one stored in /etc/vmware/usb.ids is read only (I have added +w and removed sticky bit, but still without chance to edit that file).

there are also other "usb.ids":

find / -name "usb.ids"
/etc/vmware/usb.ids
/usr/share/hwdata/usb.ids
/usr/share/hwdata/driver.pciids.d/usb.ids

but all of them are readonly. 

is there any way how to edit contents of "usb.ids" file somehow? 

thank you

michal

0 Kudos
0 Replies