I have a RPI 400 running Buster release 10 and I've not connected up a bluetooth device to it in a while. Today I was working to connect a device and found that nothing was showing up in the Add Device dialog box from the bluetooth icon on the desktop. I can confirm that other computers can see the bt devices broadcasting, so even if the RPi couldn't connect, it should've seen a handful of devices which were looking to connect and nothing was showing, which led me to believe there was an underlying issue.
I tried bluetoothctl, and ran "list" and I get nothing back, which seems to indicate there's no active controller. I tried some of the systemctl suggestions around restarting bt and some others about uninstalling and reinstalling bt and none of them seemed to make a difference.
Any suggestions on how to troubleshoot and/or resolve?
When I restart the bt service with a "-d" appended in the bt service file I have this in the syslog:
and since it came up in some posts, but not sure of it's relevance, this is what the hciuart service returns for status in case its helpful:
I tried bluetoothctl, and ran "list" and I get nothing back, which seems to indicate there's no active controller. I tried some of the systemctl suggestions around restarting bt and some others about uninstalling and reinstalling bt and none of them seemed to make a difference.
Any suggestions on how to troubleshoot and/or resolve?
When I restart the bt service with a "-d" appended in the bt service file I have this in the syslog:
Code:
Jan 3 15:21:00 riften bluetoothd[12692]: TerminatingJan 3 15:21:00 riften systemd[1]: Stopping Bluetooth service...Jan 3 15:21:00 riften bluetoothd[12692]: Stopping SDP serverJan 3 15:21:00 riften bluetoothd[12692]: ExitJan 3 15:21:00 riften systemd[1]: bluetooth.service: Succeeded.Jan 3 15:21:00 riften systemd[1]: Stopped Bluetooth service.Jan 3 15:21:00 riften systemd[1]: Starting Bluetooth service...Jan 3 15:21:00 riften bluetoothd[13644]: Bluetooth daemon 5.50Jan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() parsing /etc/bluetooth/main.confJan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() Key file does not have key “DiscoverableTimeout” in group “General”Jan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() Key file does not have key “PairableTimeout” in group “General”Jan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() Key file does not have key “Privacy” in group “General”Jan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() Key file does not have key “Name” in group “General”Jan 3 15:21:00 riften systemd[1]: Started Bluetooth service.Jan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() Key file does not have key “Class” in group “General”Jan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() Key file does not have key “DeviceID” in group “General”Jan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() Key file does not have key “ReverseServiceDiscovery” in group “General”Jan 3 15:21:00 riften bluetoothd[13644]: src/main.c:parse_config() Key file does not have key “MinEncKeySize” in group “GATT”Jan 3 15:21:00 riften bluetoothd[13644]: src/adapter.c:adapter_init() sending read version commandJan 3 15:21:00 riften bluetoothd[13644]: Starting SDP serverJan 3 15:21:00 riften bluetoothd[13644]: src/sdpd-service.c:register_device_id() Adding device id record for 0002:1d6b:0246:0532Jan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:plugin_init() Loading builtin pluginsJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading hostname pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading wiimote pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading autopair pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading policy pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading neard pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading sap pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading a2dp pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading avrcp pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading network pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading input pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading hog pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading health pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading gap pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading scanparam pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading deviceinfo pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading midi pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:add_plugin() Loading battery pluginJan 3 15:21:00 riften bluetoothd[13644]: src/plugin.c:plugin_init() Loading plugins /usr/lib/arm-linux-gnueabihf/bluetooth/pluginsJan 3 15:21:00 riften bluetoothd[13644]: profiles/health/hdp.c:hdp_manager_start() Starting Health managerJan 3 15:21:00 riften bluetoothd[13644]: profiles/input/suspend-none.c:suspend_init() Jan 3 15:21:00 riften bluetoothd[13644]: profiles/network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key “DisableSecurity” in group “General”Jan 3 15:21:00 riften bluetoothd[13644]: profiles/network/manager.c:read_config() Config options: Security=trueJan 3 15:21:00 riften bluetoothd[13644]: plugins/neard.c:neard_init() Setup neard pluginJan 3 15:21:00 riften bluetoothd[13644]: src/main.c:main() Entering main loopJan 3 15:21:00 riften dbus-daemon[396]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2446' (uid=0 pid=13644 comm="/usr/lib/bluetooth/bluetoothd -d ")Jan 3 15:21:00 riften bluetoothd[13644]: src/rfkill.c:rfkill_event() RFKILL event idx 0 type 1 op 0 soft 0 hard 0Jan 3 15:21:00 riften bluetoothd[13644]: Bluetooth management interface 1.18 initializedJan 3 15:21:00 riften bluetoothd[13644]: src/adapter.c:read_version_complete() sending read supported commands commandJan 3 15:21:00 riften bluetoothd[13644]: src/adapter.c:read_version_complete() sending read index list commandJan 3 15:21:00 riften bluetoothd[13644]: src/rfkill.c:rfkill_event() RFKILL event idx 1 type 2 op 0 soft 0 hard 0Jan 3 15:21:00 riften bluetoothd[13644]: src/adapter.c:read_commands_complete() Number of commands: 79Jan 3 15:21:00 riften bluetoothd[13644]: src/adapter.c:read_commands_complete() Number of events: 40Jan 3 15:21:00 riften bluetoothd[13644]: src/adapter.c:read_commands_complete() enabling kernel-side connection controlJan 3 15:21:00 riften bluetoothd[13644]: src/adapter.c:read_index_list_complete() Number of controllers: 0Jan 3 15:21:00 riften systemd[1]: Starting Hostname Service...Jan 3 15:21:01 riften dbus-daemon[396]: [system] Successfully activated service 'org.freedesktop.hostname1'Jan 3 15:21:01 riften systemd[1]: Started Hostname Service.Jan 3 15:21:01 riften bluetoothd[13644]: plugins/hostname.c:property_changed() static hostname: riftenJan 3 15:21:01 riften bluetoothd[13644]: plugins/hostname.c:property_changed() pretty hostname: Jan 3 15:21:01 riften bluetoothd[13644]: plugins/hostname.c:property_changed() chassis: Jan 3 15:21:01 riften bluetoothd[13644]: src/agent.c:agent_ref() 0xd35ad0: ref=1Jan 3 15:21:01 riften bluetoothd[13644]: src/agent.c:register_agent() agent :1.70Jan 3 15:21:31 riften systemd[1]: systemd-hostnamed.service: Succeeded.
Code:
● hciuart.service - Configure Bluetooth Modems connected by UART Loaded: loaded (/lib/systemd/system/hciuart.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2025-01-03 14:56:49 EST; 22min ago Main PID: 480 (hciattach) Tasks: 1 (limit: 4915) CGroup: /system.slice/hciuart.service └─480 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow -Jan 03 14:56:49 riften systemd[1]: Starting Configure Bluetooth Modems connected by UART...Jan 03 14:56:49 riften btuart[402]: Cannot open directory '/etc/firmware': No such file or directoryJan 03 14:56:49 riften btuart[402]: Patch not found, continue anywayJan 03 14:56:49 riften btuart[402]: bcm43xx_initJan 03 14:56:49 riften btuart[402]: Set Controller UART speed to 3000000 bit/sJan 03 14:56:49 riften btuart[402]: Device setup completeJan 03 14:56:49 riften systemd[1]: Started Configure Bluetooth Modems connected by UART.
Statistics: Posted by wolfefin — Fri Jan 03, 2025 8:27 pm