EasyManua.ls Logo

Hardkernnel ODROID-C2 - Page 70

Hardkernnel ODROID-C2
95 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
65 ODROID C2 USER MANUAL
$ 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 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x2341 Arduino SA
idProduct 0x0043 Uno R3 (CDC ACM)
bcdDevice 0.01
iManufacturer 1
iProduct 2
iSerial 220
bNumCongurations 1
The activity on the ONE package also gets transmitted to the
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 rst:
$ 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
undened attributes. Comment out those lines and rerun the build:
$ make
Chapter 4

Table of Contents