On 2019-10-03 08:56, O'Connor, Daniel wrote:
Most of USB-serial devices have "very stable" serial number:)
more than 50% have S/N "0123456789".
It is also allowed to have no serial number.
Maybe some kind of "lstty" would do.
-l - list all devices
-s - match by serial
-v - match by vendor
-p - match by product
-i - match by interface ID
-t - type [USB/PCI]
which simply output the tty number you need. Could be an API we could
add to libusb.
--HPS
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"