Skip to content

Instantly share code, notes, and snippets.

@omerk
Created June 19, 2018 15:43
Show Gist options
  • Save omerk/673b956f9051ca5a7654a4d131288dd5 to your computer and use it in GitHub Desktop.
Save omerk/673b956f9051ca5a7654a4d131288dd5 to your computer and use it in GitHub Desktop.
$ ./enumerate_devices
+ usb-1-1-4-3@0 045e:07a5 (hid)
- device node: /dev/hidraw1
- manufacturer: Microsoft
- product: Microsoft® 2.4GHz Transceiver v9.0
+ usb-1-1-4-3@1 045e:07a5 (hid)
- device node: /dev/hidraw2
- manufacturer: Microsoft
- product: Microsoft® 2.4GHz Transceiver v9.0
+ usb-1-1-4-3@2 045e:07a5 (hid)
- device node: /dev/hidraw3
- manufacturer: Microsoft
- product: Microsoft® 2.4GHz Transceiver v9.0
+ usb-1-10@0 2386:310e (hid)
- device node: /dev/hidraw0
- manufacturer: Raydium Corporation
- product: Raydium Touch System
+ usb-1-4-2@0 10c4:ea60 (serial)
- device node: /dev/ttyUSB0
- manufacturer: Silicon Labs
- product: CP2104 USB to UART Bridge Controller
- serial number: 015A1B1B
+ usb-1-4-3@0 16c0:0483 (serial)
- device node: /dev/ttyACM0
- manufacturer: Teensyduino
- product: USB Serial
- serial number: 2089490
+ usb-1-4-4@0 0451:bef3 (serial)
- device node: /dev/ttyACM1
- manufacturer: Texas Instruments
- product: XDS110 (02.03.00.12) Embed with CMSIS-DAP
- serial number: L3002702
+ usb-1-4-4@3 0451:bef3 (serial)
- device node: /dev/ttyACM2
- manufacturer: Texas Instruments
- product: XDS110 (02.03.00.12) Embed with CMSIS-DAP
- serial number: L3002702
+ usb-1-4-4@5 0451:bef3 (hid)
- device node: /dev/hidraw4
- manufacturer: Texas Instruments
- product: XDS110 (02.03.00.12) Embed with CMSIS-DAP
- serial number: L3002702
$ ./enumerate_devices --json
[
{
"location": "usb-1-1-4-3@0",
"vid": "045e",
"pid": "07a5",
"type": "hid",
"node": "/dev/hidraw1",
"manufacturer": "Microsoft",
"product": "Microsoft® 2.4GHz Transceiver v9.0"
},
{
"location": "usb-1-1-4-3@1",
"vid": "045e",
"pid": "07a5",
"type": "hid",
"node": "/dev/hidraw2",
"manufacturer": "Microsoft",
"product": "Microsoft® 2.4GHz Transceiver v9.0"
},
{
"location": "usb-1-1-4-3@2",
"vid": "045e",
"pid": "07a5",
"type": "hid",
"node": "/dev/hidraw3",
"manufacturer": "Microsoft",
"product": "Microsoft® 2.4GHz Transceiver v9.0"
},
{
"location": "usb-1-10@0",
"vid": "2386",
"pid": "310e",
"type": "hid",
"node": "/dev/hidraw0",
"manufacturer": "Raydium Corporation",
"product": "Raydium Touch System"
},
{
"location": "usb-1-4-2@0",
"vid": "10c4",
"pid": "ea60",
"type": "serial",
"node": "/dev/ttyUSB0",
"manufacturer": "Silicon Labs",
"product": "CP2104 USB to UART Bridge Controller",
"serial": "015A1B1B"
},
{
"location": "usb-1-4-3@0",
"vid": "16c0",
"pid": "0483",
"type": "serial",
"node": "/dev/ttyACM0",
"manufacturer": "Teensyduino",
"product": "USB Serial",
"serial": "2089490"
},
{
"location": "usb-1-4-4@0",
"vid": "0451",
"pid": "bef3",
"type": "serial",
"node": "/dev/ttyACM1",
"manufacturer": "Texas Instruments",
"product": "XDS110 (02.03.00.12) Embed with CMSIS-DAP",
"serial": "L3002702"
},
{
"location": "usb-1-4-4@3",
"vid": "0451",
"pid": "bef3",
"type": "serial",
"node": "/dev/ttyACM2",
"manufacturer": "Texas Instruments",
"product": "XDS110 (02.03.00.12) Embed with CMSIS-DAP",
"serial": "L3002702"
},
{
"location": "usb-1-4-4@5",
"vid": "0451",
"pid": "bef3",
"type": "hid",
"node": "/dev/hidraw4",
"manufacturer": "Texas Instruments",
"product": "XDS110 (02.03.00.12) Embed with CMSIS-DAP",
"serial": "L3002702"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment