Hardkernnel ODROID-C2 User Manual page 70

Table of Contents

Advertisement

$ ls -lsa /dev/ttyA*
0 crw-rw---- 1 root dialout 166, 0 May 24 21:05 /dev/ttyACM0
$ lsusb
...
Bus 001 Device 009: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
...
$ lsusb -D /dev/bus/usb/001/009
Device: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
Couldn't open device, some information will be missing
Device Descriptor:
bLength
bDescriptorType
bcdUSB
bDeviceClass
bDeviceSubClass
bDeviceProtocol
bMaxPacketSize0
idVendor
idProduct
bcdDevice
iManufacturer
iProduct
iSerial
bNumConfigurations
ODROID-C2. Hardkernel has provided C sample source code to dis-
play this information. You will need to install some pre-requisite soft-
ware components first:
$ sudo apt-get install qt4-default qt4-designer libqwt-dev
You can then download the sample (Qt based) source code to the C2:
$ cd ~
$ wget -c http://dn.odroid.com/ODUINO/source/Ubuntu_Qt/oduino.zip
$ unzip oduino.zip
$ cd oduino
$ mv ui_oduino.h ui_oduino.h-save
$ uic oduin.ui > ui_oduino.h
$ qmake
$ make
The generated code will not work as is. After running the make com-
mand, you will have to take note of any errors that have to do with
undefined attributes. Comment out those lines and rerun the build:
$ make
65
ODROID C2 USER MANUAL
0x2341 Arduino SA
0x0043 Uno R3 (CDC ACM)
The activity on the ONE package also gets transmitted to the
18
1
1.10
2 Communications
0
0
8
0.01
1
2
220
1
Chapter 4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents