pilebones / go-udev

Simple udev implementation in Golang
GNU General Public License v3.0
95 stars 28 forks source link

get and match against ID_SERIAL_SHORT when in info mode #31

Open CarbonCollins opened 2 years ago

CarbonCollins commented 2 years ago

Hi,

Id like to be able to use info mode and have a matcher that can find a USB device with a specific serial number. The monitor mode seems to be able to get the ID_SERIAL_SHORT and append it to the Env of the device but info mode seems to not have this information currently.