REPRODUCIBILITY (% or how often): 60%
BUILD ID = OS VERSION (Settings > About product): 3.4.0.24
HARDWARE (Jolla1, Tablet, XA2,…): Xperia XA2
UI LANGUAGE: Czech
REGRESSION: (compared to previous public release: Yes, No, ?): -
DESCRIPTION:
Turning Bluetooth on doesn’t work in UI.
PRECONDITIONS:
STEPS TO REPRODUCE:
Settings → Bluetooth
tap to turn it on.
EXPECTED RESULT:
Turning Bluetooth on.
ACTUAL RESULT:
Bluetooth icon still blinking.
ADDITIONAL INFORMATION:
Restarting phone didn’t help everytime so I’ve tried to restart bluetooth.service via systemctl restart bluetooth.service and it helped and BT started to work.
I’m going to watch journalctl after it’ll be back, or can I see some log why BT isn’t working sometimes?
Same happened to me once with Xperia XA2 with latest 3.4.0.24. I wasn’t able to turn bluetooth on neither from Settings->Bluetooth nor from top menu Bluetooh button. Luckily reboot helped. Next time It happens, I’ll check Journal as well.
I discovered today the same problem on Jolla C and Xperia X (both with Koli 4.0.1.48). On XperiaX i was able to activate BT once after reboot and never again when deactivated it. On Jolla C i get no BT icon in the statusbar.
Output from Jolla C
> [root@Sailfish nemo]# systemctl status bluetooth.service
> ● bluetooth.service - Bluetooth service
> Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled)
> Active: active (running) since Thu 2021-02-11 20:59:42 CET; 4min 9s ago
> Docs: man:bluetoothd(8)
> Main PID: 7742 (bluetoothd)
> Status: “Running”
> Memory: 368.0K
> CGroup: /system.slice/bluetooth.service
> └─7742 /usr/libexec/bluetooth/bluetoothd -n
>
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: bluetoothd[7742]: Bluetooth management interface 1.3 initialized
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: Bluetooth management interface 1.3 initialized
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: bluetoothd[7742]: Failed to read advertising features: Unknown Command (0x
> 01)
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: Failed to read advertising features: Unknown Comma
> nd (0x01)
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: hci0 Load Connection Parameters failed: Unknown Co
> mmand (0x01)
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: bluetoothd[7742]: hci0 Load Connection Parameters failed: Unknown Command
> (0x01)
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: bluetoothd[7742]: Endpoint registered: sender=:1.44 path=/MediaEndpoint/A2
> DPSource
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: Endpoint registered: sender=:1.44 path=/MediaEndpoint/A2DPSource
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: bluetoothd[7742]: Endpoint registered: sender=:1.44 path=/MediaEndpoint/A2
> DPSink
> Feb 11 20:59:42 Sailfish bluetoothd[7742]: Endpoint registered: sender=:1.44 path=/MediaEndpoint/A2DPSink
Output from XperiaX
> [root@Sailfish nemo]# systemctl status bluetooth.service
> ● bluetooth.service - Bluetooth service
> Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled)
> Active: active (running) since Thu 2021-02-11 21:54:42 CET; 1s ago
> Docs: man:bluetoothd(8)
> Main PID: 14945 (bluetoothd)
> Status: “Running”
> Memory: 400.0K
> CGroup: /system.slice/bluetooth.service
> └─14945 /usr/libexec/bluetooth/bluetoothd -n
>
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: Unknown key PairableTimeout for group General in
> /etc/bluetooth/main.conf
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: bluetoothd[14945]: Unknown key Channels for group GATT in /etc/bluetooth/
> main.conf
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: Unknown key Channels for group GATT in /etc/bluet
> ooth/main.conf
> Feb 11 21:54:42 Sailfish systemd[1]: Started Bluetooth service.
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: bluetoothd[14945]: Starting SDP server
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: Starting SDP server
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: bluetoothd[14945]: Failed to open RFKILL control device
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: Failed to open RFKILL control device
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: bluetoothd[14945]: Bluetooth management interface 1.3 initialized
> Feb 11 21:54:42 Sailfish bluetoothd[14945]: Bluetooth management interface 1.3 initialized
In my case, the Xperia X dual SIM, it looks like this
when BT is off
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2021-02-18 15:44:56 CET; 21h ago
Docs: man:bluetoothd(8)
Main PID: 777 (bluetoothd)
Status: "Running"
Memory: 1.3M
CGroup: /system.slice/bluetooth.service
└─777 /usr/libexec/bluetooth/bluetoothd -n
feb 19 13:19:15 Sailfish bluetoothd[777]: bluetoothd[777]: Loading LTKs timed out for hci0
feb 19 13:19:15 Sailfish bluetoothd[777]: Loading LTKs timed out for hci0
feb 19 13:24:00 Sailfish bluetoothd[777]: bluetoothd[777]: Failed to set mode: Not Powered (0x0f)
feb 19 13:24:00 Sailfish bluetoothd[777]: bluetoothd[777]: Failed to read advertising features: Unknown Command (0x01)
feb 19 13:24:00 Sailfish bluetoothd[777]: bluetoothd[777]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
feb 19 13:24:00 Sailfish bluetoothd[777]: bluetoothd[777]: Failed to get connections: Not Powered (0x0f)
feb 19 13:24:00 Sailfish bluetoothd[777]: Failed to set mode: Not Powered (0x0f)
feb 19 13:24:00 Sailfish bluetoothd[777]: Failed to read advertising features: Unknown Command (0x01)
feb 19 13:24:00 Sailfish bluetoothd[777]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
feb 19 13:24:00 Sailfish bluetoothd[777]: Failed to get connections: Not Powered (0x0f)
when BT is on
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2021-02-18 15:44:56 CET; 21h ago
Docs: man:bluetoothd(8)
Main PID: 777 (bluetoothd)
Status: "Running"
Memory: 1.3M
CGroup: /system.slice/bluetooth.service
└─777 /usr/libexec/bluetooth/bluetoothd -n
feb 19 13:19:08 Sailfish bluetoothd[777]: bluetoothd[777]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource
feb 19 13:19:08 Sailfish bluetoothd[777]: bluetoothd[777]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSink
feb 19 13:19:08 Sailfish bluetoothd[777]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource
feb 19 13:19:08 Sailfish bluetoothd[777]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSink
feb 19 13:19:12 Sailfish bluetoothd[777]: bluetoothd[777]: Endpoint registered: sender=:1.42 path=/MediaEndpoint/A2DPSource
feb 19 13:19:12 Sailfish bluetoothd[777]: bluetoothd[777]: Endpoint registered: sender=:1.42 path=/MediaEndpoint/A2DPSink
feb 19 13:19:12 Sailfish bluetoothd[777]: Endpoint registered: sender=:1.42 path=/MediaEndpoint/A2DPSource
feb 19 13:19:12 Sailfish bluetoothd[777]: Endpoint registered: sender=:1.42 path=/MediaEndpoint/A2DPSink
feb 19 13:19:15 Sailfish bluetoothd[777]: bluetoothd[777]: Loading LTKs timed out for hci0
feb 19 13:19:15 Sailfish bluetoothd[777]: Loading LTKs timed out for hci0
Sending contacts from the People app to another device (Gemini PDA) via BT works.
Sending a file from the File Browser to the same device does not work.
Came here to see if somebody else is experiencing this after Koli update, was not disappointed
Restarting the BT service on my Xperia X doesn’t work (same RFKILL messages) but restarting the device makes BT work once; after a disconnect or toggling BT on/off it gets stuck and won’t budge until restart.
I’m having the exact same problem after upgrading to SFOS 4 (Koli). Bluetooth works fine once, then gets stuck after trying to enable it a second time. Only rebooting resolves the issue. Using an Xperia X and everything worked as ist should before the upgrade.
I also have the exactly same problem in two XPERIA X (single and double SIM). Bluetooth works once. After disconnecting the headphones they cannot be reconnected. Only rebooting helps – but also not always. The headphones work perfectly with other devices.
I have noticed the same problem with my Xpreria X. Bluetooth used to work like a charm, but now only once and reboot needed to (maybe) have it work again. Got headphones with a cable as a “workaround”.
Restarting the bluetooth service (bluez) is only half the solution and for me does not fix the issue when it occurs (on XA2). I also need to restart bluebinder.service for bluetooth to work again.
So I found out is has to do something with bluetooth.service as well as bluetooth-rfkill-event.service. After bluetooth fails to work when trying to enable it the second time, I did the following:
Killed the bluetooth-rfkill.service
Restarted bluetooth.service
Restarted bluetooth-rfkill.service
Turned on bluetooth via Settings as usual. And the it works again (for one time :)).