After deactivating Airplane Mode, I can not re-enable Bluetooth from System Settings.
I would like Bluetooth to be reactivated from System Settings:
- When Airplane Mode is deactivated
- Or, when I click the Bluetooth toggle button in the header bar
How can I achieve this?
Sequence of Steps
Enable Airplane Mode by pressing the ✈ F12 key.
Airplane mode is enabled [expected]
WiFi is disabled [expected]
Bluetooth is disabled [expected]
sudo rfkill list all 1: phy0: Wireless LAN Soft blocked: yes Hard blocked: no 2: hci0: Bluetooth Soft blocked: yes Hard blocked: no
Disable Airplane Mode from System Settings by clicking the Airplane Mode toggle button.
Airplane mode is disabled [expected]
WiFi is enabled, and automatically connects to my network [expected]
Bluetooth stays disabled [UNEXPECTED]
sudo rfkill list all 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: hci0: Bluetooth Soft blocked: no Hard blocked: no
Attempt to re-enable Bluetooth from System Setting
- Click the Bluetooth toggle button in the header bar
- Bluetooth stays disabled [UNEXPECTED]
Sometimes, I can reactivate Bluetooth from the command line.
This doesn't always work, and my goal is to get it to work from the System Settings GUI.
systemctl restart bluetooth
System Information
Bluetooth and WiFi Adapters:
lsusb | grep Bluetooth
Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
lspci | grep Network
3b:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
Operating System:
Ubuntu 21.04
uname -r 5.11.0-16-generic
dpkg -l bluez 5.56-0ubuntu4
Laptop:
- HP Spectre x360 Convertible 15-bl1XX
- There is no physical WiFi or Bluetooth switch on this machine
- The ✈ F12 key enables/disables Airplane Mode (although disabling doesn't always work)
systemctl bluetooth restart
got me moving again, so thanks for that, but I've no idea on the underlying problem sorry. Hopefully someone in the know chimes in – Mike Hardy May 10 '21 at 01:37