$ lsusb
...
Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc.
CP210x UART Bridge / myAVR mySmartUSB light
...
$ sudo lsusb -D /dev/bus/usb/001/005
[sudo] password for odroid:
Device: ID 10c4:ea60 Cygnal Integrated Products, Inc.
Bridge / myAVR mySmartUSB light
Device Descriptor:
bLength
bDescriptorType
bcdUSB
bDeviceClass
bDeviceSubClass
bDeviceProtocol
bMaxPacketSize0
idVendor
idProduct
light
bcdDevice
iManufacturer
iProduct
iSerial
bNumConfigurations
...
$ ls /dev/ttyUSB*
/dev/ttyUSB0
Ejemplo del un proyecto con ODROID-SHOW
ejemplo con los comandos:
$ cd ~
$ git clone https://github.com/hardkernel/ODROID-SHOW
$ cd ODROID-SHOW/example/Linux
$ gcc -o status status.c
$ sudo ./status
68
MANUAL DE USUARIO ODROID C1
0x10c4 Cygnal Integrated Products, Inc.
0xea60 CP210x UART Bridge / myAVR mySmartUSB
El código fuente de muestra del SHOW te permite hacer un
18
1
2.00
0 (Defined at Interface level)
0
0
64
1.00
1 Silicon Labs
2 CP2104 USB to UART Bridge Controller
3 00875559
1
Capítulo 4
CP210x UART