You are not logged in.

#1 2022-04-28 01:43:44

gearhead
Member
Registered: 2018-03-24
Posts: 52

bluetooth keeps turning off

I have a BT headset that I have paired and connected to my Arch install. It is fully up to date. I have been able to pair and connect my headset and it works for a few minutes then BT is turned off and it disconnects.
According to rfkill,. it is not blocked:

$ rfkill
ID TYPE      DEVICE      SOFT      HARD
 1 wlan      phy0   unblocked unblocked
 4 bluetooth hci0   unblocked unblocked

When it shuts down bluetooth and disconnects the headset, I get this in the journal:

Apr 27 20:35:01 V550VX kernel: usb 1-9: USB disconnect, device number 14
Apr 27 20:35:01 V550VX bluetoothd[565]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Apr 27 20:35:01 V550VX gsd-media-keys[1465]: Unable to get default sink
Apr 27 20:35:01 V550VX gsd-media-keys[1465]: Unable to get default source
Apr 27 20:35:01 V550VX kernel: Bluetooth: hci0: setting interface failed (19)
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/ldac_hq
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/ldac_sq
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/ldac_mq
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSink/aptx_hd
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/aptx_hd
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSink/aptx
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/aptx
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSink/sbc
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/sbc
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint unregistered: sender=:1.89 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Apr 27 20:35:01 V550VX systemd[1]: Starting Load/Save RF Kill Switch Status...
Apr 27 20:35:01 V550VX systemd[1181]: Stopped target Bluetooth.
Apr 27 20:35:01 V550VX systemd[1]: Stopped target Bluetooth Support.
Apr 27 20:35:01 V550VX systemd[1]: Started Load/Save RF Kill Switch Status.
Apr 27 20:35:01 V550VX kernel: usb 1-9: new full-speed USB device number 15 using xhci_hcd
Apr 27 20:35:01 V550VX kernel: usb 1-9: New USB device found, idVendor=8087, idProduct=07dc, bcdDevice= 0.01
Apr 27 20:35:01 V550VX kernel: usb 1-9: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Apr 27 20:35:01 V550VX kernel: Bluetooth: hci0: Legacy ROM 2.5 revision 8.0 build 1 week 45 2013
Apr 27 20:35:01 V550VX kernel: Bluetooth: hci0: Intel device is already patched. patch num: 2a
Apr 27 20:35:01 V550VX systemd[1181]: Reached target Bluetooth.
Apr 27 20:35:01 V550VX systemd[1]: Reached target Bluetooth Support.
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/ldac_hq
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/ldac_sq
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/ldac_mq
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSink/aptx_hd
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/aptx_hd
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSink/aptx
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/aptx
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSink/sbc
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/sbc
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Apr 27 20:35:01 V550VX bluetoothd[565]: Endpoint registered: sender=:1.89 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Apr 27 20:35:06 V550VX systemd[1]: systemd-rfkill.service: Deactivated successfully.

and the BT icon disappears from the tray and the sound stops. If I turn it back on it works for a short while then turns off again.

dmesg info:

sudo dmesg | grep Blue
[    2.931226] Bluetooth: Core ver 2.22
[    2.931246] Bluetooth: HCI device and connection manager initialized
[    2.931248] Bluetooth: HCI socket layer initialized
[    2.931250] Bluetooth: L2CAP socket layer initialized
[    2.931253] Bluetooth: SCO socket layer initialized
[    3.975972] Bluetooth: hci0: Legacy ROM 2.5 revision 8.0 build 1 week 45 2013
[    3.975977] Bluetooth: hci0: Intel device is already patched. patch num: 2a
[    4.069473] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.069476] Bluetooth: BNEP filters: protocol multicast
[    4.069480] Bluetooth: BNEP socket layer initialized
[   20.080213] Bluetooth: RFCOMM TTY layer initialized
[   20.080220] Bluetooth: RFCOMM socket layer initialized
[   20.080223] Bluetooth: RFCOMM ver 1.11
[   33.709162] Bluetooth: hci0: ACL packet for unknown connection handle 256
[   37.511461] Bluetooth: hci0: SCO packet for unknown connection handle 0
[   37.511474] Bluetooth: hci0: SCO packet for unknown connection handle 0
[   37.511479] Bluetooth: hci0: SCO packet for unknown connection handle 0
[   37.521458] Bluetooth: hci0: SCO packet for unknown connection handle 0
[  255.545475] Bluetooth: hci0: setting interface failed (19)
[  256.009705] Bluetooth: hci0: Legacy ROM 2.5 revision 8.0 build 1 week 45 2013
[  256.009720] Bluetooth: hci0: Intel device is already patched. patch num: 2a
[  282.603618] Bluetooth: hci0: Ignoring HCI_Connection_Complete for invalid handle
[  338.395407] Bluetooth: hci0: Legacy ROM 2.5 revision 8.0 build 1 week 45 2013
[  338.395414] Bluetooth: hci0: Intel device is already patched. patch num: 2a
[  395.246228] Bluetooth: hci0: Legacy ROM 2.5 revision 8.0 build 1 week 45 2013
[  395.246239] Bluetooth: hci0: Intel device is already patched. patch num: 2a
[  811.503802] Bluetooth: hci0: ACL packet for unknown connection handle 256
[  815.296764] Bluetooth: hci0: SCO packet for unknown connection handle 0
[  815.296769] Bluetooth: hci0: SCO packet for unknown connection handle 0
[  815.296771] Bluetooth: hci0: SCO packet for unknown connection handle 0
[  815.306839] Bluetooth: hci0: SCO packet for unknown connection handle 0
[  970.164987] Bluetooth: hci0: setting interface failed (19)
[  970.643292] Bluetooth: hci0: Legacy ROM 2.5 revision 8.0 build 1 week 45 2013
[  970.643304] Bluetooth: hci0: Intel device is already patched. patch num: 2a

I found this thread and tried the old firmware from December 2021 and I get the same thing. 
https://bbs.archlinux.org/viewtopic.php?id=263806

Any help appreciated.

Gearhead

Offline

#2 2022-04-28 06:40:08

seth
Member
Registered: 2012-09-03
Posts: 31,026

Re: bluetooth keeps turning off

https://wiki.archlinux.org/title/Blueto … ew_moments
Also/otherwise maybe btusb.enable_autosuspend=n or usbcore.autosuspend=-1 and nb. that userspace power management tools like TLP may override this and need to be configured accordingly
And if there is a "parallel OS", see the 3rd link below as well.

Online

Board footer

Powered by FluxBB