lwfinger / rtl8723bs_bt

Bluetooth Code for RTL8723bs
71 stars 35 forks source link

Not working on Ubuntu 17.10 #26

Open futbarista opened 6 years ago

futbarista commented 6 years ago

I've done everything with was written in readme.txt. No errors at writing commands, everything's fine but bluetooth still doesn't work.

James6xie commented 6 years ago

yes, my ubuntu 17.10 also can't work

ghost commented 6 years ago

Also doesn't work for me with Ubuntu 17.10 (using AzulleTech Quantum Access LAN) Tried both versions of your supplied firmware. Get the common error... Realtek Bluetooth ERROR: H5 sync timed out. Any clues what to try next?

James6xie commented 6 years ago

HI I'd met this issue on android-x86 with kernel 4.14, The issue root cause due to new kernel version(kernel-4.11 older) add a subsystem named Serdev; you can read this article https://www.phoronix.com/scan.php?page=news_item&px=Linux-4.11-Serial-Bus-SERDEV

This driver for rtl8723bs from https://github.com/lwfinger/rtl8723bs_bt is not serdev device; the patch details you can find on https://github.com/jwrdegoede/linux-sunxi/commit/222cd00fc3a8ca016cb1d253bb8866b706505c35 ;

noticed the commit msg :

This causes the /dev/tty# node for uarts referenced by a UartSerialBusV2 to disappear, which breaks support for bluetooth over uart which needs abtattach from userspace and does not yet have an in kernel hci serdev driver.

One example of a bluetooth over uart device which lacks such a driver and thus no longer works is the RTL8723BS's bluetooth part, this commit adds an exception for this device to acpi_is_serial_bus_slave(), so that it gets treated as before, allowing it to work with the userspace solution for now.

about btattach from userspace tools, you can find some help from https://osdn.net/projects/android-x86/scm/git/external-bluetooth-bluez/commits/de7b62e01ae65b3c7a8412515996387fbc431834

good luck.

2018-03-09 1:16 GMT+08:00 djl1965 notifications@github.com:

Also doesn't work for me with Ubuntu 17.10 (using AzulleTech Quantum Access LAN) Tried both versions of your supplied firmware. Get the common error... Realtek Bluetooth ERROR: H5 sync timed out. Any clues what to try next?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lwfinger/rtl8723bs_bt/issues/26#issuecomment-371556837, or mute the thread https://github.com/notifications/unsubscribe-auth/APzj-QI_YqXdOu1HvLkgxxd7Ksj1GfJJks5tcWdrgaJpZM4Q1ZAN .

c64skin commented 6 years ago

thanks zhongtianxie for explaining why they (dev/ttyS4) vanish after boot, shame it's still not fixed in 4.18.8 mainline. i'm not good enough to use your patch but thanks anyway for helping.

svenha commented 5 years ago

Just a quick update: Under Ubuntu 19.04 (installed from a daily ISO), bluetooth works out-of-the-box. Use bluetoothctl (or other tools) to pair and setup your device. The required firmware files are located in /usr/lib/firmware/rtl_bt/.