I am creating a udev rule which simply logs the usb storage devices. I have a usb flash disc with
udev shows that this is:
But I don't get where it gets this information.
According to what I see in
usb.ids of latest
$ cat /usr/share/hwdata/usb.ids | grep abcd abcd Unknown $ cat /usr/share/hwdata/usb.ids | grep 1234 1234 IronLogic RFID Adapter [Z-2 USB] 1234 Bluetooth Device 1234 Typhoon Redfun Modem V90 56k 1234 Flash Drive 1234 Cruzer Mini Flash Drive 1234 USB to ATAPI 1234 BACKPACK 1234 Storage Device 1234 Fastrack Xtend FXT001 Modem 1234 Brain Actuated Technologies 1234 PDS6062T Oscilloscope 1234 ATAPI Bridge 1234 Prototype Reader/Writer
My goal is to simply log
ID_MODEL_ID instead of strings
ID_MODEL and to get these strings later when I need by looking up the
hwdata's usb.ids file. It seems to me that
udev gets these strings from somewhere else but where?