Messages in this thread | | | Date | Thu, 25 Aug 2016 16:08:14 -0400 (EDT) | From | Alan Stern <> | Subject | Re: [PATCH RFC V3.5] leds: trigger: Introduce an USB port trigger |
| |
On Thu, 25 Aug 2016, Alan Stern wrote:
> > Does the lsusb command do the mapping in the user space or maybe > > it takes the names from kernel? > > lsusb does the mapping in userspace, based on an ID database. On my > system (Fedora), the database is /etc/udev/hwdb.bin.
There's also /usr/share/hwdata/usb.ids -- I don't know if or how the two databases are related. And there's /usr/lib/udev/hwdb.d/20-usb*.
Alan Stern
| |