HowTo find serialnumber of FTDI USB chip

Step-by-Step descriptions of how to do things.

HowTo find serialnumber of FTDI USB chip

Postby ^rooker » Tue Jan 29, 2019 1:38 am

When dealing with FTDI USB-to-UART devices, you might need to address them by their serial number.
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:"

This will return something like this (for each FTDI device connected):
[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


2) Approach B: Using "udevadm":
Code: Select all
$ udevadm info -a -n /dev/ttyUSB0 | grep -i serial

Will return something like this:
SUBSYSTEMS=="usb-serial"
ATTRS{serial}=="A6028XXX"
ATTRS{serial}=="0000:00:1d.0"


Have fun! :D
  • 0

Last edited by ^rooker on Wed Jan 30, 2019 1:01 am, edited 1 time in total.
Reason: CLI block was [quote] not [code]
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
User avatar
^rooker
Site Admin
 
Posts: 1444
Joined: Fri Aug 29, 2003 8:39 pm
Reputation: 0

Return to HowTo's

Who is online

Users browsing this forum: No registered users and 1 guest

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: No registered users and 7 guests

cron
Reputation System ©'