59
ODROID C2 USER MANUAL
Ensure the adapter is recognized by the ODROID-C2, by obtain-
ing the USB information of the adapter using the lsusb command:
$ lsusb
...
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Blue-
tooth Dongle (HCI mode)
...
While some of the required software modules may already exist
in your ODROID-C2’s installed image, it is helpful to install the follow-
ing additional modules and utilities, using the following commands:
$ sudo apt-get install bluez-dbg bluez-tools bluez-hcidump
$ sudo apt-get install bluewho blueman python-bluetooth
Some of them could be used to debug your setup, if you use
a non-Hardkernel Bluetooth adapter. You can check the Bluetooth
adapter’s support for additional features by examining the dmesg logs,
using the following command:
$ dmesg | grep Blue
[
0.180204] Bluetooth: Core ver 2.18
[
0.180236] Bluetooth: HCI device and connection manager ini-
tialized
[
0.180250] Bluetooth: HCI socket layer initialized
[
0.180261] Bluetooth: L2CAP socket layer initialized
[
0.180284] Bluetooth: SCO socket layer initialized
[
3.945426] Bluetooth: RFCOMM TTY layer initialized
[
3.949664] Bluetooth: RFCOMM socket layer initialized
[
3.954786] Bluetooth: RFCOMM ver 1.11
[
3.958468] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[
3.963723] Bluetooth: BNEP filters: protocol multicast
[
3.968896] Bluetooth: BNEP socket layer initialized
[
3.973814] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[
3.979677] Bluetooth: HIDP socket layer initialized
You can then check the list of the installed Bluetooth modules:
$ dpkg -l | grep blue
ii blueman
... armhf Graphical bluetooth manager
ii bluez
... armhf Bluetooth tools and daemons
ii bluez-alsa:armhf
... armhf Bluetooth ALSA support
ii bluez-cups
... armhf Bluetooth printer driver for CUPS
ii libbluetooth-dev
... armhf Dev. files for BlueZ Linux Bluetooth lib
ii libbluetooth3:armhf
... armhf Library to use the BlueZ Linux BT stack
ii libgnome-bluetooth11
... armhf GNOME Bluetooth tools - support library
With the positive signs observed in the output so far, we can
Chapter 4