RTL8723bs Bluetooth
#22
Hi jhawk,

have you followed the instructions on https://github.com/lwfinger/rtl8723bs_bt?
I needed to copy the following files into "/usr/local/sbin/bluetooth/" after "make" and "make install".
- hciattach.txt
- rtk_hciattach
- start_bt.sh

The scripts has been installed to...
- /usr/local/sbin/pine64_bluetooth.sh
- /etc/systemd/system/bluetooth-module.service

I was able to type some commands in [bluetoothctl]# after copying these files into "/usr/local/sbin/bluetooth/"... BUT!
I don't know what exactly the problem is, but bluez seems to have bugs.

Btw: I'm using longsleep's Ubuntu image xenial-pine64-bspkernel-20161218-1.img

Here are some quotes:
Code:
root@pine64:~# rfkill list
0: sunxi-bt: Bluetooth
       Soft blocked: no
       Hard blocked: no
1: phy0: Wireless LAN
       Soft blocked: no
       Hard blocked: no
2: phy1: Wireless LAN
       Soft blocked: no
       Hard blocked: no
3: hci0: Bluetooth
       Soft blocked: no
       Hard blocked: no
Code:
root@pine64:~# pine64_bluetooth.sh
Initializing Pine64 Bluetooth Module.
[NEW] Controller 34:C3:D2:F8:C9:4B pine64 [default]
[bluetooth]# list
Controller 34:C3:D2:F8:C9:4B pine64 [default]
[bluetooth]# show
Controller 34:C3:D2:F8:C9:4B
        Name: pine64
        Alias: pine64
        Class: 0x000000
        Powered: no
        Discoverable: no
        Pairable: yes
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0525
        Discovering: no
Code:
root@pine64:~# pine64_bluetooth.sh
Initializing Pine64 Bluetooth Module.
[NEW] Controller 34:C3:D2:F8:C9:4B pine64 [default]
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Failed
[bluetooth]# scan on
Failed to start discovery: org.bluez.Error.NotReady
Code:
root@pine64:~# systemctl status bluetooth
● bluetooth.service - Bluetooth service
  Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
  Active: active (running) since Wed 2017-03-22 22:44:22 UTC; 8min ago
    Docs: man:bluetoothd(8)
Main PID: 2798 (bluetoothd)
  Status: "Running"
  CGroup: /system.slice/bluetooth.service
          └─2798 /usr/lib/bluetooth/bluetoothd

Mar 22 22:44:22 pine64 bluetoothd[2798]: Current Time Service could not be registered
Mar 22 22:44:22 pine64 bluetoothd[2798]: gatt-time-server: Input/output error (5)
Mar 22 22:44:22 pine64 bluetoothd[2798]: Not enough free handles to register service
Mar 22 22:44:22 pine64 bluetoothd[2798]: Not enough free handles to register service
Mar 22 22:44:22 pine64 bluetoothd[2798]: Sap driver initialization failed.
Mar 22 22:44:22 pine64 bluetoothd[2798]: sap-server: Operation not permitted (1)
Mar 22 22:44:22 pine64 bluetoothd[2798]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Mar 22 22:44:22 pine64 systemd[1]: Started Bluetooth service.
Mar 22 22:44:38 pine64 bluetoothd[2798]: Failed to set mode: Failed (0x03)
Mar 22 22:51:24 pine64 bluetoothd[2798]: Failed to set mode: Failed (0x03)

Best regards
Julian
My forum topics:
• Create a WiFi hotspot on Debian 8
• Turn your Pine64 into a music server with mpd
• Adjust brightness of LCD on Armbian Desktop with 1 click
• My cases for Pine64 (acryl, lego & wood)

• Pine 64 - DACH - Facebook page for german-speaking Pine64-fans.
  Reply


Messages In This Thread
RTL8723bs Bluetooth - by xalius - 06-15-2016, 03:11 PM
RE: RTL8723bs Bluetooth - by Faye - 06-16-2016, 12:18 AM
RE: RTL8723bs Bluetooth - by xalius - 06-16-2016, 01:51 AM
RE: RTL8723bs Bluetooth - by xalius - 06-16-2016, 09:24 AM
RE: RTL8723bs Bluetooth - by longsleep - 06-16-2016, 03:07 PM
RE: RTL8723bs Bluetooth - by Faye - 06-16-2016, 03:54 PM
RE: RTL8723bs Bluetooth - by longsleep - 06-16-2016, 11:32 PM
RE: RTL8723bs Bluetooth - by xalius - 06-17-2016, 04:57 AM
RE: RTL8723bs Bluetooth - by Faye - 06-18-2016, 03:50 AM
RE: RTL8723bs Bluetooth - by MarkHaysHarris777 - 06-17-2016, 06:53 AM
RE: RTL8723bs Bluetooth - by xalius - 06-17-2016, 07:05 AM
RE: RTL8723bs Bluetooth - by MarkHaysHarris777 - 06-18-2016, 12:57 AM
RE: RTL8723bs Bluetooth - by longsleep - 06-22-2016, 12:44 PM
RE: RTL8723bs Bluetooth - by xalius - 06-22-2016, 01:12 PM
RE: RTL8723bs Bluetooth - by longsleep - 06-22-2016, 03:20 PM
RE: RTL8723bs Bluetooth - by jhawk - 02-23-2017, 06:49 AM
RE: RTL8723bs Bluetooth - by xalius - 02-23-2017, 07:01 AM
RE: RTL8723bs Bluetooth - by jhawk - 02-23-2017, 07:24 AM
RE: RTL8723bs Bluetooth - by JulianM - 03-22-2017, 04:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Wifi / Bluetooth Board Update S265 2 4,159 07-30-2020, 04:53 PM
Last Post: S265
Information Howto: Getting Bluetooth (serial console) working on Debian pfeerick 14 31,681 08-19-2019, 04:33 AM
Last Post: Roverius
  WIFI & Bluetooth? 7777777 14 28,105 12-24-2016, 05:01 AM
Last Post: Toriless
  Using Bluetooth for Sending serial data Arjun 9 14,719 10-19-2016, 10:19 PM
Last Post: Arjun
  How can you get the WIFI/Bluetooth module separate? GoZone 8 11,335 07-06-2016, 05:23 PM
Last Post: JasperBrown
  WiFi/BT module, no bluetooth riviera89 5 7,215 06-24-2016, 04:32 PM
Last Post: srinivas.s34@gmail.com
  Board doesn't boot when wifi/Bluetooth connected with Lcd screen Krinilssen 4 6,803 06-16-2016, 07:22 AM
Last Post: Krinilssen
  WIFI/Bluetooth Chipset monmoonmooonmoooon 2 5,120 01-20-2016, 06:02 AM
Last Post: monmoonmooonmoooon

Forum Jump:


Users browsing this thread: 1 Guest(s)