You are not logged in.

#1 2019-05-31 19:48:09

tlillenuit
Member
From: Ireland
Registered: 2019-03-24
Posts: 28

Bluetooth not working

My embedded bluetooth adaptor is not working in my Arch. It always worked perfectly in Manjaro, and it works in my OpenBSD, so I am pretty certain the adaptor is not faulty. Although, I believe it might be something related to the firmware, but I am not sure. The adaptor will discover discoverable devices around it, but can not establish  connection with any of them. For that reason, I bought an USB bluetooth adaptor (dongle). But, it seems impossible to use it. It is recognized by the KDE, but there isn't really a way of choosing it for system to use the dongle as a default adapter, since the system keeps insisting on using the integrated (supposedly faulty) one. If I disable the faulty device in the BIOS, I am not able to enable Bluetooth component on the KDE's panel switch at all, clicking on it nothing happens. On the other hands, in Bluetooth Devices dialog, powering off/on the default adaptor seems not to work if the integrated adaptor is enabled, I mean, I can check and uncheck "powered" on both adaptors but it doesn't do anything useful.  I am not sure if my user should be a member of the bluetooth group for that, or something; and I am not sure how to do it from the command line, properly, so I would appreciate any guidance for I really need the bluetooth facility.

If you need any additional information I failed to provide, I'll provide. Thanks!

$ lsusb (with integrated bluetooth adapter disabled)

Bus 004 Device 003: ID 1bcf:2805 Sunplus Innovation Technology Inc. 
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ dmesg | grep -i bluetooth

[    3.302346] usb 2-1: Product: CSR Bluetooth V2.1+EDR Device
[    3.302350] usb 2-1: Manufacturer: CSR Bluetooth V2.1+EDR Device
[    5.317834] Bluetooth: Core ver 2.22
[    5.317857] Bluetooth: HCI device and connection manager initialized
[    5.317861] Bluetooth: HCI socket layer initialized
[    5.317864] Bluetooth: L2CAP socket layer initialized
[    5.317869] Bluetooth: SCO socket layer initialized
[    5.461873] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.461875] Bluetooth: BNEP filters: protocol multicast
[    5.461878] Bluetooth: BNEP socket layer initialized
[    5.462829] hp_wmi: device hp-bluetooth blocked by BIOS
[    5.698155] Bluetooth: hci0: hardware error 0x37

$ kernel -r

5.1.4-arch1-1-ARCH

Last edited by tlillenuit (2019-05-31 19:53:17)

Offline

#2 2019-06-01 01:47:59

Warper
Member
From: Quito, Ecuador
Registered: 2008-04-08
Posts: 47

Re: Bluetooth not working

Hey tlillenuit,

It seems like there has been a regression in the kernel. Your issue is similar to one that was already reported and even a bug has been filed.
You can check the other post here -> https://bbs.archlinux.org/viewtopic.php?id=246479

My mouse was working perfectly up to kernel 5.1.2 or maybe 5.1.1 but when I upgraded to 5.1.4 it simply does not want to connect anymore.

Warper

Offline

#3 2019-06-02 16:31:51

tlillenuit
Member
From: Ireland
Registered: 2019-03-24
Posts: 28

Re: Bluetooth not working

Thanks, I downgraded my kernel to 4.20.13-arch1-1-ARCH. There is a bit of progress shown when trying to connect using KDE Plasma's bluetooth thing, but I am still not able to pair with my speakers or my headset. I was able to pair my mobile phone device with the laptop, from the side of the mobile phone, but I can't seem to connect to any of my devices in a normal way. I can normally connect my headset to my mobile phone so I know for sure it is working. Seems like the two adapters are in collision. I have disabled the embedded BT controller in the BIOS, and have been trying to connect using my newly bought USB BT controller from the command line, it pairs finely yet it keeps failing after issuing the connect command.

UPDATE: Enabled the bluetooth embedded controller in BIOS, disconnected the USB bluetooth controller, tried connecting with bluetoothctl, it shows the controller info but can not discover any bluetooth devices around... So none of them is working.

This is my attempt to use the USB dongle as the primary controller, with the embedded one disabled in BIOS:

$ bluetoothctl

[bluetooth]# discoverable on
Changing discoverable on succeeded
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:15:83:12:18:D0 Discovering: yes
[NEW] Device 5C:FB:7C:E1:07:24 JBL T450BT
[bluetooth]# connect 5C:FB:7C:E1:07:24
Attempting to connect to 5C:FB:7C:E1:07:24
[CHG] Device 5C:FB:7C:E1:07:24 Connected: yes
[CHG] Device 5C:FB:7C:E1:07:24 UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:E1:07:24 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:E1:07:24 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:E1:07:24 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:E1:07:24 UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:E1:07:24 ServicesResolved: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device 5C:FB:7C:E1:07:24 ServicesResolved: no
[CHG] Device 5C:FB:7C:E1:07:24 Connected: no
[bluetooth]# connect 5C:FB:7C:E1:07:24
Attempting to connect to 5C:FB:7C:E1:07:24
Failed to connect: org.bluez.Error.Failed
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:15:83:12:18:D0 Discovering: yes
[CHG] Device 5C:FB:7C:E1:07:24 RSSI: -62
[CHG] Device 5C:FB:7C:E1:07:24 RSSI: -73
[CHG] Device 5C:FB:7C:E1:07:24 RSSI: -52
[CHG] Device 5C:FB:7C:E1:07:24 RSSI: -61
[CHG] Device 5C:FB:7C:E1:07:24 RSSI: -48
[CHG] Device 5C:FB:7C:E1:07:24 RSSI: -56
[bluetooth]# pair 5C:FB:7C:E1:07:24   
Attempting to pair with 5C:FB:7C:E1:07:24
[CHG] Device 5C:FB:7C:E1:07:24 Connected: yes
[CHG] Device 5C:FB:7C:E1:07:24 Paired: yes
Pairing successful
[CHG] Device 5C:FB:7C:E1:07:24 Connected: no
[bluetooth]# connect 5C:FB:7C:E1:07:24
Attempting to connect to 5C:FB:7C:E1:07:24
Failed to connect: org.bluez.Error.Failed
[bluetooth]# list
Controller 00:15:83:12:18:D0 t|||nemesis USB [default]
[bluetooth]# devices 
Device 5C:FB:7C:E1:07:24 JBL T450BT
[bluetooth]# connect 5C:FB:7C:E1:07:24
Attempting to connect to 5C:FB:7C:E1:07:24
Failed to connect: org.bluez.Error.Failed
[bluetooth]# unblock 5C:FB:7C:E1:07:24 
Changing 5C:FB:7C:E1:07:24 unblock succeeded
[bluetooth]# trust 5C:FB:7C:E1:07:24 
Changing 5C:FB:7C:E1:07:24 trust succeeded
[bluetooth]# pair 5C:FB:7C:E1:07:24 
Attempting to pair with 5C:FB:7C:E1:07:24
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]# connect 5C:FB:7C:E1:07:24 
Attempting to connect to 5C:FB:7C:E1:07:24
Failed to connect: org.bluez.Error.Failed

Last edited by tlillenuit (2019-06-02 17:04:02)

Offline

#4 2019-06-09 00:03:19

Warper
Member
From: Quito, Ecuador
Registered: 2008-04-08
Posts: 47

Re: Bluetooth not working

With kernel 5.1.7 my mouse is working again without any trouble. You might want to test your device again.
I deleted my mouse and went through the detection process.
I'm on KDE/Plasma

Offline

#5 2019-07-30 15:13:48

tlillenuit
Member
From: Ireland
Registered: 2019-03-24
Posts: 28

Re: Bluetooth not working

Thanks for the info I'll test it soon!

Offline

Board footer

Powered by FluxBB