Here's how you find that number:
1) Attach the device to your PC
Best to connect one at a time. Otherwise, how would you know which serial belongs to which adapter?
2) Approach A: Using "dmesg":
Code: Select all
$ dmesg | grep -B 2 "SerialNumber:"
2) Approach B: Using "udevadm":[1176637.422076] usb 2-1.7: Product: FT232R USB UART
[1176637.422077] usb 2-1.7: Manufacturer: FTDI
[1176637.422079] usb 2-1.7: SerialNumber: A6028XXX
Code: Select all
$ udevadm info -a -n /dev/ttyUSB0 | grep -i serial
Have fun!SUBSYSTEMS=="usb-serial"
ATTRS{serial}=="A6028XXX"
ATTRS{serial}=="0000:00:1d.0"