Bluetooth not working out of the box


#1

In connection with this ( link to my post about the touchpad not working), I can’t get bluetooth to work. It’s either greyed out (with some kernel versions), or the panel does show up but when searching for devices it never finds any.


Do Librem 13 and 15s come with Bluetooth
No bluetooth support on Librem-13 by PureOS
Librem 15v3 observations and feedback
#2

Sorry, I realise this is one of those unhelpful “it doesn’t work” posts. There are more details on what I have tried in a post I have added to the Elementary StackExchange: http://elementaryos.stackexchange.com/questions/4897/touchpad-has-stopped-working-after-kernel-upgrade

(Nothing I tried in my efforts to fix the bluetooth got it working.)


#3

Just to update this thread, having gone round the houses a bit with this, I am now running Elementary OS Freya on kernel 4.1.20. Both bluetooth and my trackpad are now working.

I discovered that the problem I was having with bluetooth might be related to the problem I was having with my touchpad. Fn + F12 will enable/disable bluetooth. So if you’re experiencing problems with bluetooth or your touchpad, I’d recommend checking the functions across the top. I have come to a Librem from a Mac so I’m a bit out of touch with function keys along the top that change the behaviour of a laptop!

If you’re an Elementary user, upgrading your kernel to 4.1.20 seems to be the sweet spot right now. It allows you to install Kyle’s psmouse dkms package, while seemingly not breaking anything!


#4

Jack - Did you need to install / run any non-Free firmware to get the bluetooth working at this point? I thought I recalled that Purism still needed to do some development or negotiation to have a Free software implementation available.


#5

I have a Librem 15 running on PureOS 2.1. If I go to “Settings” -> “Hardware” -> “Bluetooth”, it says “No Bluetooth found - Plug in a dongle to use Bluetooth.”

I have made sure that Bluetooth is not deactivated with Fn F12.

User@librem:~$ sudo lsusb |grep Blue
Bus 001 Device 004: ID 04ca:300d Lite-On Technology Corp. Atheros AR3012 Bluetooth
shows that there is Bluetooth.

However, after
User@librem:~$ sudo service bluetooth restart

dmesg output gives:
[ 312.855511] Bluetooth: Core ver 2.21
[ 312.855529] NET: Registered protocol family 31
[ 312.855530] Bluetooth: HCI device and connection manager initialized
[ 312.855534] Bluetooth: HCI socket layer initialized
[ 312.855537] Bluetooth: L2CAP socket layer initialized
[ 312.855542] Bluetooth: SCO socket layer initialized
[ 1481.447241] usb 1-6: new full-speed USB device number 3 using xhci_hcd
[ 1481.576256] usb 1-6: New USB device found, idVendor=04ca, idProduct=300d
[ 1481.576264] usb 1-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1481.591998] usbcore: registered new interface driver btusb
[ 1481.593109] usb 1-6: firmware: failed to load ar3k/AthrBT_0x11020100.dfu (-2)
[ 1481.593113] usb 1-6: Direct firmware load for ar3k/AthrBT_0x11020100.dfu failed with error -2
[ 1481.593115] Bluetooth: Loading patch file failed
[ 1481.593121] ath3k: probe of 1-6:1.0 failed with error -2
[ 1481.593153] usbcore: registered new interface driver ath3k
[ 1537.191152] usb 1-6: USB disconnect, device number 3

Do I need to include any non-free firmware to have Bluetooth working on PureOS 2.1?

Thanks,

Stefan


#6

Hi Stefan.

We are still working on drivers for bluetooth. So at the moment, you can’t have a working bluetooth without non-free firmware.


#7

Can confirm that adding deb http://httpredir.debian.org/debian stretch non-free to the APT sources and installing firmware-atheros enabled Bluetooth on a Librem 15 (PureOS 2.1) does get it working for the moment (after toggling BT on-and-off and minute or two wait), if non-free is an option for you.


#8
and installing firmware-atheros enabled Bluetooth on a Librem 15 (PureOS 2.1) does get it working

For those who wonder, the command to do it is this :

sudo apt-get install firmware-atheros

=====
Bluetooth firmware now loads, but I got the following error message now:

Nov 14 06:25:22 HSZ systemd[1]: Starting Load/Save RF Kill Switch Status...
Nov 14 06:25:22 HSZ systemd[1]: Started Load/Save RF Kill Switch Status.
Nov 14 06:25:22 HSZ systemd[1]: Starting Bluetooth service...
Nov 14 06:25:22 HSZ systemd[9966]: bluetooth.service: Failed at step NAMESPACE spawning /usr/lib/bluetooth/bluetoothd: Too many levels of symbolic links
Nov 14 06:25:22 HSZ systemd[1]: bluetooth.service: Main process exited, code=exited, status=226/NAMESPACE
Nov 14 06:25:22 HSZ systemd[1]: Failed to start Bluetooth service.
Nov 14 06:25:22 HSZ systemd[1]: bluetooth.service: Unit entered failed state.
Nov 14 06:25:22 HSZ systemd[1]: bluetooth.service: Failed with result 'exit-code'.
Nov 14 06:25:22 HSZ systemd[1]: Reached target Bluetooth.

Using PureOS 3 alpha.

cheers, HS


#9

Is it an acted fact that PureOS does not support bluetooth on Librem-13?

I received mine yesterday, it was delivered with a PureOS installation using kernel labeled 4.2.3purism-rc2, and am unable to make bluetooth work at all since.


#10

Hi Bruno,

Not a direct answer, just another datapoint: I did just get bluetooth
working on my Librem 13. Thing is, I’m running Fedora at the moment.

All this means is your problem (probably) isn’t hardware.


#11

You were, right bluetooth support is active with Debian stretch and Ubuntu 15.10.


#12

Just to add to the voices. I’m also having trouble with bluetooth. It didn’t work on PureOS, and doesn’t work on Elementary Freya (built on Ubuntu 14.04). I really like Elementary Freya so I’m tempted to just put up with this.


#13

Yes, it is. PureOS is a free software GNU/Linux distribution and since there’s no libre driver for the used adapter Purism never advertised Bluetooth support. What they did is: they tried to find a developer to free our adapter for the last months – but it seems to me they didn’t find anyone