Article 578NN getting attributes from usb devices passed thru to linux VM

getting attributes from usb devices passed thru to linux VM

by
kdleoSl
from LinuxQuestions.org on (#578NN)
OS: kali 2020.2 VM

wanting to get the device info from the rtl_sdr dongles plugged into a usb2.0 hub. the hub is plugged into the vmware server and passed thru to the kali os. the dongles are working fine.

when a usb device is plugged into my notebook, i just execute something like this:
Code: sudo udevadm info --name=/dev/usb/hiddev0 --attribute-walkto get the dongle/device attributes.

but on this kali VM there is no /dev/usb/hiddev0 or some id for "rtl-sdr-dongle" under /dev/usb/?.

from searching through dmesg i find these locations for the three rtl-sdr usb dongles:
Code: /sys/devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-1/
/sys/devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-2/
/sys/devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-3/is there a command line app like udevadm that will attribute walk these locations and return their attributes?latest?d=yIl2AUoC8zA latest?i=AirDmZTH6io:yqHIVHb4XZY:F7zBnMy latest?i=AirDmZTH6io:yqHIVHb4XZY:V_sGLiP latest?d=qj6IDK7rITs latest?i=AirDmZTH6io:yqHIVHb4XZY:gIN9vFwAirDmZTH6io
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments