site  contact  subhomenews

Bluetooth hot plug support almost there

January 11, 2020 — BarryK

You can follow the chain of posts regarding Bluetooth audio support in EasyOS, previous post:

https://bkhome.org/news/202001/sound-card-wizard-now-handles-bluetooth.html

The very cheap USB Bluetooth dongle that I ordered, a mere AU$4.89, has arrived:

https://www.ebay.com.au/itm/Mini-Wireless-USB-Bluetooth-V4-0-Dongle-Adapter-For-Windows-7-8-10-PC-Laptop-Mac/183860510094

img1

It is recognized when plugged in, and running "lsusb" identifies it:

Bus 003 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

However, its controller (adapter) cannot be found. The dongle has "CSR 4.0" printed on it, but it is not actually a cambridge Silicon Radio chip, it is an inferior Chinese clone chip. This page explains:

https://www.reddit.com/r/AnnePro/comments/e76ij8/csr_40_bluetooth_dongle_on_linux/

...it also has a link to a patch, to recognise some of the clone chips. The author found the patch worked, but Bluetooth connection kept dropping out.

I have compiled the 5.4.10 Linux kernel, with that patch. Unfortunately, no go, the controller is still not recognized.

Hot-plugging itself does work, when I plug in the dongle, the Bluetooth tray applet appears, unplug the dongle and dongle and the applet disappears. That much is good, we just need a Linux-compatible dongle to test with.

I have ordered another one from eBay, the pictures are the same, labelled with "CSR 4.0", but more expensive, AU$8.99 AU stock, but the page states that it works with Linux. Perhaps it is a different Chinese clone chip, one for which the patch does work?

That should arrive next week, however, I have decided to build Easy version 2.2.3 and upload it, English only, for anyone who would like to test Bluetooth audio, and if you have a dongle to try, that will be great.

One other thing: on that post where I reported on the goodies ordered:

https://bkhome.org/news/202001/goodies-ordered-for-bluetooth-debugging.html

img5

...the Bluetooth ear-pieces have arrived. Yes, they work, but mono only. same thing on my Huawei phone. That is disappointing. Is that a known limitation with the very cheap ear-pieces? 

Tags: easy