You are not logged in.

#1 2020-07-24 17:37:29

julienfalque
Member
Registered: 2016-06-17
Posts: 43

Bluetooth mouse disconnected immediatly after connection

Hi,

Since a few days, the bluetooth does not work anymore on my laptop (Dell XPS-15 9550).

Trying to connect the mouse starts an endless loop of fast connections and disconnections.

`bluetoothctl` shows this:

[CHG] Device C0:D7:6E:67:47:F3 Connected: yes
[CHG] Device C0:D7:6E:67:47:F3 Connected: no
[CHG] Device C0:D7:6E:67:47:F3 Connected: yes
[CHG] Device C0:D7:6E:67:47:F3 Connected: no
[CHG] Device C0:D7:6E:67:47:F3 Connected: yes
[CHG] Device C0:D7:6E:67:47:F3 Connected: no
...

`sudo /usr/lib/bluetooth/bluetoothd -n -d` gives me this (for each connection/disconnection):

...
bluetoothd[7299]: src/adapter.c:resume_discovery() 
bluetoothd[7299]: src/adapter.c:trigger_start_discovery() 
bluetoothd[7299]: src/adapter.c:cancel_passive_scanning() 
bluetoothd[7299]: src/adapter.c:connected_callback() hci0 device C0:D7:6E:67:47:F3 connected eir_len 26
bluetoothd[7299]: src/adapter.c:dev_disconnected() Device C0:D7:6E:67:47:F3 disconnected, reason 0
bluetoothd[7299]: src/adapter.c:adapter_remove_connection() 
bluetoothd[7299]: plugins/policy.c:disconnect_cb() reason 0
bluetoothd[7299]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr C0:D7:6E:67:47:F3 type 2 status 0xe
bluetoothd[7299]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
bluetoothd[7299]: src/device.c:device_bonding_failed() status 14
...

Also my bluetooth headset isn't detected anymore.

I couldn't find any relevant package update in the logs around the moment bluetooth broke. networkmanager maybe.

I have the same issue using the LTS kernel.

Any idea? Thanks.

Offline

#2 2020-08-08 10:46:49

julienfalque
Member
Registered: 2016-06-17
Posts: 43

Re: Bluetooth mouse disconnected immediatly after connection

I tried downgrading bluez packages but that doesn't fix anything sad

Offline

#3 2020-08-11 15:37:20

julienfalque
Member
Registered: 2016-06-17
Posts: 43

Re: Bluetooth mouse disconnected immediatly after connection

I also tried downgrading the entire distribution to a date I know everything was fine and replacing /lib/firmware/brcm/BCM-0a5c-6410.hcd with an older version, still no luck.

I unpaired the mouse. Now when I try to pair it again I have almost the same result:

[bluetooth]# pair C0:D7:6E:67:47:F5
Attempting to pair with C0:D7:6E:67:47:F5
[CHG] Device C0:D7:6E:67:47:F5 Connected: yes
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device C0:D7:6E:67:47:F5 Connected: no

`sudo /usr/lib/bluetooth/bluetoothd -n -d` gives me this:

bluetoothd[2387]: src/agent.c:agent_ref() 0x55737d975bd0: ref=2
bluetoothd[2387]: src/device.c:bonding_request_new() Requesting bonding for C0:D7:6E:67:47:F5
bluetoothd[2387]: src/agent.c:agent_ref() 0x55737d975bd0: ref=3
bluetoothd[2387]: src/agent.c:agent_unref() 0x55737d975bd0: ref=2
bluetoothd[2387]: src/adapter.c:suspend_discovery() 
bluetoothd[2387]: src/adapter.c:adapter_bonding_attempt() hci0 bdaddr C0:D7:6E:67:47:F5 type 2 io_cap 0x01
bluetoothd[2387]: src/adapter.c:connected_callback() hci0 device C0:D7:6E:67:47:F5 connected eir_len 26
bluetoothd[2387]: src/adapter.c:pair_device_complete() Failed (0x03)
bluetoothd[2387]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr C0:D7:6E:67:47:F5 type 2 status 0x3
bluetoothd[2387]: src/device.c:device_bonding_complete() bonding 0x55737d9abce0 status 0x03
bluetoothd[2387]: src/device.c:device_bonding_failed() status 3
bluetoothd[2387]: src/agent.c:agent_unref() 0x55737d975bd0: ref=1
bluetoothd[2387]: src/adapter.c:resume_discovery() 
bluetoothd[2387]: src/adapter.c:dev_disconnected() Device C0:D7:6E:67:47:F5 disconnected, reason 0
bluetoothd[2387]: src/adapter.c:adapter_remove_connection() 
bluetoothd[2387]: plugins/policy.c:disconnect_cb() reason 0
bluetoothd[2387]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr C0:D7:6E:67:47:F5 type 2 status 0xe
bluetoothd[2387]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
bluetoothd[2387]: src/device.c:device_bonding_failed() status 14
bluetoothd[2387]: src/adapter.c:resume_discovery()

I'm now looking for information about the 0x03 code in `src/adapter.c:pair_device_complete() Failed (0x03)`

Offline

#4 2020-08-14 17:31:17

julienfalque
Member
Registered: 2016-06-17
Posts: 43

Re: Bluetooth mouse disconnected immediatly after connection

I found a workaround using a USB controller. Everything seems to work as normal with it.

I have still no idea why the integrated controller stopped working though. I noticed my laptop is not discoverable with the integrated controller, despite bluetoothctl saying it is.

Offline

Board footer

Powered by FluxBB