[op6-enchilada] Bluetooth broken on 6.6-sdm845 but working on 6.1-sdm845
Bluetooth is not working (does not scan, is not discoverable) on Mobian trixie with kernel 6.6 on both Phosh and PlaMo environments. Bluetoothctl shows the controller not to be available, that leads IMO to a kernel bug not enabling Bluetooth controller on 6.6. Downgrading to 6.1 gets Bluetooth working.
On 6.6
$ bluetoothctl
Agent registered
[bluetooth]# info
Missing device address argument
No default controller available
[bluetooth]#
while on 6.1
$ bluetoothctl
hci0 new_settings: bondable ssp br/edr le secure-conn
Agent registered
[CHG] Controller 39:90:21:74:07:00 Pairable: yes
[bluetooth]# info
Missing device address argument
DeviceSet (null) not available
[bluetooth]#
journalctl | grep bluetooth on 6.1
Sep 30 10:34:41 mobian kernel: Bluetooth: Core ver 2.22
Sep 30 10:34:41 mobian kernel: NET: Registered PF_BLUETOOTH protocol family
Sep 30 10:34:41 mobian kernel: Bluetooth: HCI device and connection manager initialized
Sep 30 10:34:41 mobian kernel: Bluetooth: HCI socket layer initialized
Sep 30 10:34:41 mobian kernel: Bluetooth: L2CAP socket layer initialized
Sep 30 10:34:41 mobian kernel: Bluetooth: SCO socket layer initialized
Sep 30 10:34:41 mobian kernel: Bluetooth: HCI UART driver ver 2.3
Sep 30 10:34:41 mobian kernel: Bluetooth: HCI UART protocol H4 registered
Sep 30 10:34:41 mobian kernel: Bluetooth: HCI UART protocol LL registered
Sep 30 10:34:41 mobian kernel: Bluetooth: HCI UART protocol Broadcom registered
Sep 30 10:34:41 mobian kernel: Bluetooth: HCI UART protocol QCA registered
Sep 30 10:34:41 mobian kernel: Bluetooth: hci0: setting up wcn399x
Sep 30 10:34:42 mobian systemd[1]: Starting bluetooth.service - Bluetooth service...
Sep 30 10:34:42 mobian (uetoothd)[555]: bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
Sep 30 10:34:42 mobian kernel: Bluetooth: hci0: QCA Product ID :0x0000000a
Sep 30 10:34:42 mobian kernel: Bluetooth: hci0: QCA SOC Version :0x40010214
Sep 30 10:34:42 mobian kernel: Bluetooth: hci0: QCA ROM Version :0x00000201
Sep 30 10:34:42 mobian kernel: Bluetooth: hci0: QCA Patch Version:0x00000001
Sep 30 10:34:42 mobian bluetoothd[555]: Bluetooth daemon 5.70
Sep 30 10:34:42 mobian kernel: Bluetooth: hci0: QCA controller version 0x02140201
Sep 30 10:34:42 mobian kernel: Bluetooth: hci0: QCA Downloading qca/crbtfw21.tlv
Sep 30 10:34:42 mobian bluetoothd[555]: Starting SDP server
Sep 30 10:34:42 mobian bluetoothd[555]: src/plugin.c:plugin_init() System does not support csip plugin
Sep 30 10:34:42 mobian bluetoothd[555]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Sep 30 10:34:42 mobian bluetoothd[555]: src/plugin.c:plugin_init() System does not support micp plugin
Sep 30 10:34:42 mobian bluetoothd[555]: src/plugin.c:plugin_init() System does not support vcp plugin
Sep 30 10:34:42 mobian bluetoothd[555]: src/plugin.c:plugin_init() System does not support mcp plugin
Sep 30 10:34:42 mobian bluetoothd[555]: src/plugin.c:plugin_init() System does not support bass plugin
Sep 30 10:34:42 mobian bluetoothd[555]: src/plugin.c:plugin_init() System does not support bap plugin
Sep 30 10:34:42 mobian systemd[1]: Started bluetooth.service - Bluetooth service.
Sep 30 10:34:42 mobian kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 30 10:34:42 mobian kernel: Bluetooth: BNEP filters: protocol multicast
Sep 30 10:34:42 mobian kernel: Bluetooth: BNEP socket layer initialized
Sep 30 10:34:42 mobian dbus-daemon[556]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2' (uid=0 pid=555 comm="/usr/libexec/bluetooth/bluetoothd")
Sep 30 10:34:42 mobian bluetoothd[555]: Bluetooth management interface 1.22 initialized
Sep 30 10:34:42 mobian systemd[1]: Reached target bluetooth.target - Bluetooth Support.
Sep 30 10:34:42 mobian NetworkManager[594]: <info> [1696070082.5667] Loaded device plugin: NMBluezManager (/usr/lib/aarch64-linux-gnu/NetworkManager/1.44.2/libnm-device-plugin-bluetooth.so)
Sep 30 10:34:43 mobian kernel: Bluetooth: hci0: QCA Downloading qca/oneplus6/crnv21.bin
Sep 30 10:34:43 mobian kernel: Bluetooth: hci0: QCA setup on UART is completed
Sep 30 10:34:43 mobian kernel: Bluetooth: MGMT ver 1.22
Sep 30 10:34:43 mobian bluetoothd[555]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
Sep 30 10:34:43 mobian bluetoothd[555]: sap-server: Operation not permitted (1)
Sep 30 10:34:50 mobian kernel: Bluetooth: RFCOMM TTY layer initialized
Sep 30 10:34:50 mobian kernel: Bluetooth: RFCOMM socket layer initialized
Sep 30 10:34:50 mobian kernel: Bluetooth: RFCOMM ver 1.11
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/ldac
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSink/aptx_hd
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_hd
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSink/aptx
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSink/sbc
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/sbc
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSink/sbc_xq
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/sbc_xq
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/faststream
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/faststream_duplex
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSink/opus_05
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/opus_05
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Sep 30 10:34:50 mobian bluetoothd[555]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/ldac
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSink/aptx_hd
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_hd
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSink/aptx
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSink/sbc
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/sbc
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSink/sbc_xq
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/sbc_xq
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/faststream
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/faststream_duplex
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSink/opus_05
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/opus_05
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Sep 30 10:34:59 mobian bluetoothd[555]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/ldac
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/aptx_hd
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_hd
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/aptx
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/sbc
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/sbc
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/sbc_xq
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/sbc_xq
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/faststream
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/faststream_duplex
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/opus_05
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/opus_05
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Sep 30 10:35:07 mobian bluetoothd[555]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/opus_05_duplex
journalctl | grep bluetooth on 6.6
set 30 12:34:40 mobian kernel: Bluetooth: Core ver 2.22
set 30 12:34:40 mobian kernel: NET: Registered PF_BLUETOOTH protocol family
set 30 12:34:40 mobian kernel: Bluetooth: HCI device and connection manager initialized
set 30 12:34:40 mobian kernel: Bluetooth: HCI socket layer initialized
set 30 12:34:40 mobian kernel: Bluetooth: L2CAP socket layer initialized
set 30 12:34:40 mobian kernel: Bluetooth: SCO socket layer initialized
set 30 12:34:40 mobian kernel: Bluetooth: HCI UART driver ver 2.3
set 30 12:34:40 mobian kernel: Bluetooth: HCI UART protocol H4 registered
set 30 12:34:40 mobian kernel: Bluetooth: HCI UART protocol LL registered
set 30 12:34:40 mobian kernel: Bluetooth: HCI UART protocol Broadcom registered
set 30 12:34:40 mobian kernel: Bluetooth: HCI UART protocol QCA registered
set 30 12:34:40 mobian kernel: Bluetooth: hci0: setting up wcn399x
set 30 12:34:40 mobian kernel: Bluetooth: hci0: QCA Product ID :0x0000000a
set 30 12:34:40 mobian kernel: Bluetooth: hci0: QCA SOC Version :0x40010214
set 30 12:34:40 mobian kernel: Bluetooth: hci0: QCA ROM Version :0x00000201
set 30 12:34:40 mobian kernel: Bluetooth: hci0: QCA Patch Version:0x00000001
set 30 12:34:40 mobian kernel: Bluetooth: hci0: QCA controller version 0x02140201
set 30 12:34:40 mobian kernel: Bluetooth: hci0: QCA Downloading qca/crbtfw21.tlv
set 30 12:34:41 mobian systemd[1]: Starting bluetooth.service - Bluetooth service...
set 30 12:34:41 mobian (uetoothd)[483]: bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
set 30 12:34:41 mobian bluetoothd[483]: Bluetooth daemon 5.70
set 30 12:34:41 mobian systemd[1]: Started bluetooth.service - Bluetooth service.
set 30 12:34:41 mobian systemd[1]: Reached target bluetooth.target - Bluetooth Support.
set 30 12:34:41 mobian bluetoothd[483]: Starting SDP server
set 30 12:34:41 mobian bluetoothd[483]: src/plugin.c:plugin_init() System does not support csip plugin
set 30 12:34:41 mobian bluetoothd[483]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
set 30 12:34:41 mobian bluetoothd[483]: src/plugin.c:plugin_init() System does not support micp plugin
set 30 12:34:41 mobian bluetoothd[483]: src/plugin.c:plugin_init() System does not support vcp plugin
set 30 12:34:41 mobian bluetoothd[483]: src/plugin.c:plugin_init() System does not support mcp plugin
set 30 12:34:41 mobian bluetoothd[483]: src/plugin.c:plugin_init() System does not support bass plugin
set 30 12:34:41 mobian bluetoothd[483]: src/plugin.c:plugin_init() System does not support bap plugin
set 30 12:34:41 mobian kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
set 30 12:34:41 mobian kernel: Bluetooth: BNEP filters: protocol multicast
set 30 12:34:41 mobian kernel: Bluetooth: BNEP socket layer initialized
set 30 12:34:41 mobian bluetoothd[483]: Bluetooth management interface 1.22 initialized
set 30 12:34:41 mobian dbus-daemon[484]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.3' (uid=0 pid=483 comm="/usr/libexec/bluetooth/bluetoothd")
set 30 12:34:41 mobian kernel: Bluetooth: hci0: QCA Downloading qca/oneplus6/crnv21.bin
set 30 12:34:41 mobian kernel: Bluetooth: hci0: QCA setup on UART is completed
set 30 12:34:42 mobian NetworkManager[530]: <info> [1696070082.6702] Loaded device plugin: NMBluezManager (/usr/lib/aarch64-linux-gnu/NetworkManager/1.44.2/libnm-device-plugin-bluetooth.so)
set 30 12:35:04 mobian systemd[906]: Starting obex.service - Bluetooth OBEX service...
set 30 12:35:04 mobian systemd[906]: Started obex.service - Bluetooth OBEX service.
Edit 26/12/2023: sorry just recognized I was grep-ping without the flag to ignore case, then lines with Bluetooth were previously ignored...
Edited by Marco Mattiolo