Bluetooth issue Raspberry pi 4B

Hi guys,

Since I’ve restored my HA backup on a new rpi4b I’ve my bluetooth which stops working.

My configuration:
Home Assistant OS 5.12

In the host logs, I’ve:
[25580.551115] Bluetooth: hci0: command 0x200b tx timeout
[25635.911703] Bluetooth: hci0: command 0x0401 tx timeout

In the shell, I’ve:

Do you have an idea about this issue?
Thks a lot.


I’ve troubleshooted a bit more:

In the shell, I got this error when I launch a “scan on”:

Failed to start discovery: org.bluez.Error.InProgress

It’s like my device hci0, witch is the bluetooth integrated to the pi4, doesn’t exist…

I have the same problem.

Have you found any solution to this?

Glad to see I’m not alone.
I haven’t found a solution for making it work…

My workaround: get a Lilo D32 which get bluetooth/wifi and use esphome and esp32_ble_tracker.

I have the same problem. Any solution?

Did anyone find a solution on this ?

The only solution I’ve found is a Lilo D32 which get bluetooth/wifi and esphome with esp32_ble_tracker.

I had the same issue. If you run
systemctl status bluetooth.service
on your host and you get an error message similar to this:

Nov 28 23:12:56 server bluetoothd[508]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
Nov 28 23:12:56 server bluetoothd[508]: sap-server: Operation not permitted (1)

it has something to do with the SIM Access Profile of the bluetooth stack.

you could try deactivating the SIM profile. In
ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap

reload the daemon
systemctl daemon-reload

restart the service
systemctl restart bluetooth.service

check if error persists
systemctl status bluetooth.service

In my case the error was gone and after HA reboot, my bluetooth dongle worked like before.