LeMaker Guitar:Bluetooth

From BananaPro/Pi
Jump to: navigation, search

Other languages:
English • ‎中文(简体)‎


The Guitar use the RTL8723BS module which integrates WIFI/BT function blocks.The following tutorial will tell you how to use the Bluetooth. And it runs in Lemuntu system.

Load Bluetooth driver

sudo modprobe rfkill-actions_8723bs

Software Installation

Step 1: Install related software.

sudo apt-get install bluetooth bluez-cups python-bluez gnome-phone-manager

Step 2: Download and install rtl8723bs_bt

sudo wget http://mirror.lemaker.org/rtl8723bs_bt.tar.gz
tar -xf rtl8723bs_bt.tar.gz
cd rtl8723bs_bt
make install

Step 3: Start Bluetooth

sudo chmod +x start_bt.sh
sudo ./start_bt.sh

Step 4: View and use Bluetooth

hcitool dev
        hci0    8D:18:D9:F3:79:5D
hciconfig  -a
hci0:   Type: BR/EDR  Bus: UART
        BD Address: 8D:18:D9:F3:79:5D  ACL MTU: 1021:8  SCO MTU: 255:16
        RX bytes:1179 acl:0 sco:0 events:36 errors:0
        TX bytes:2052 acl:0 sco:0 commands:36 errors:0
        Features: 0xff 0xff 0xff 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF PARK 
        Link mode: SLAVE ACCEPT 
        Name: '******'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous, 
        HCI Version: 4.0 (0x6)  Revision: 0x1e3e
        LMP Version: 4.0 (0x6)  Subversion: 0xe40e
        Manufacturer: Realtek Semiconductor Corporation (93)
hciconfig hci0 up

You can type the command below to scan other Bluetooth devices, maybe you will find some Bluetooth devices around. Also you can use the another bluetooth device to find LeMaker Guitar via Bluetooth.

hcitool scan
Scanning ...
        88:C9:D0:0A:B6:8B       HH-G3
        28:E3:47:94:09:4A       ANSWER-PC

Step 5: Install Bluetooth GUI

apt-get install blueman gnome-bluetooth

Step 6: Open the Bluetooth GUI
Step 7: Open the Bluetooth Manager
Step 8:You can now connect to your Bluetooth devices.