Determining USB device port

6,949

In a terminal, type this command: udevadm info --name=/dev/ttyUSB0 --attribute-walk You should have enough information to identify your device.

Share:
6,949

Related videos on Youtube

gatorback
Author by

gatorback

Updated on September 18, 2022

Comments

  • gatorback
    gatorback over 1 year
    lsusb | grep UART
    

    returns:

    Bus 001 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc.
    CP210x UART Bridge / myAVR mySmartUSB light
    

    How can I confirm that the device is at: /dev/ttyUSB0 without unplugging the USB device?

    ls /dev/tty* | grep USB
    

    returns /dev/ttyUSB0 only when the device is plugged in, which seems to confirm the USB port location. I am seeking a confirmation process does not involve unplugging the USB device.

    Update:

    the USB device is not a disk: it is a ESP32 microcontroller