Closed haata closed 7 months ago
Looking through the code it might take a bit of refactoring around here: https://github.com/tuna-f1sh/cyme/blob/main/src/lsusb.rs#L390
In my mind the priority should go something like this:
I may take a stab at this over the next couple of days.
On linux the true iProduct/iManufacturer/iSerial are available (without root) through sysfs. Usually the device provided names are more accurate than the database (or may have additional information, such as in my case).
What cyme currently does
What lsusb does
Accessing this info from sysfs
No udev rules have been applied to this device
lsusb (linux) prefers sysfs afaict https://github.com/gregkh/usbutils/blob/master/lsusb.c#L267