![]() |
|
RTL8723bs Bluetooth - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: Wifi/BT Module (https://forum.pine64.org/forumdisplay.php?fid=33) +---- Thread: RTL8723bs Bluetooth (/showthread.php?tid=1392) |
RE: RTL8723bs Bluetooth - jhawk - 02-23-2017 (02-23-2017, 07:01 AM)xalius Wrote: It's not really a kernel module, the BT/Wifi module has a UART that is connected to ttyS1, and all that project does is provide a way to upload a firmware binary that enables the module to be attached to the BT stack on the Linux side: If my understanding is correct it should provide the same functionality even if a little oddly. The package as described will insert the (bin) and set up both pieces required to provide linux functionality at boot time rather then the mechanism via the desktop. Yes it is a bit like the chicken and the egg, you must have bluetooth pre configured to see any benefit. Incremental steps in slaying the dragon... movement toward a fully functional OS on new hardware is always a slow and winding road. Not to mention QA aspect. But we enjoy the ride! Please correct me if my interpretation is erroneous. Mod edit: Try not to reply inside the quote from another poster!!
RE: RTL8723bs Bluetooth - JulianM - 03-22-2017 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: noCode: 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: noCode: 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.NotReadyCode: 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 |