pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.44k stars 84 forks source link

After turning airplane mode on, I cannot switch it off #1692

Open krboelter opened 3 years ago

krboelter commented 3 years ago

Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="20.10" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 20.10" VERSION_ID="20.10" VERSION_CODENAME=groovy UBUNTU_CODENAME=groovy

Related Application and/or Package Version (run apt policy $PACKAGE NAME): N: Unable to locate package NAME

Issue/Bug Description: I pressed the airplane mode button on my keyboard and it turns airplane mode on, but when I press it again it doesn't turn airplane mode off. I then get a bug to where I can't turn my Bluetooth back on until I restart.

Steps to reproduce (if you know): Press airplane mode on keyboard, press it again: it doesn't turn off.

Expected behavior: I would expect, when I press the airplane mode button it switches to the opposite of what the current status of airplane mode is.

Other Notes: None.

jacobgkau commented 3 years ago

If you open up the Settings app and switch WiFi on manually (using the switch in the top right of the window), does airplane mode turn off/WiFi turn on?

krboelter commented 3 years ago

Airplane mode does not turn off, but WiFi turns back on just fine. Bluetooth does not.

bflanagin commented 3 years ago

I'm seeing it on 20.04 as well. I've attached the logs from dbus-monitor and journalctl.

dbus-monitor "type='signal', interface=org.freedesktop.DBus.Properties"

airplane_mode_toggle.txt

journalctl -r | grep rfkill | head -n 20 (this may not give enough info, let me know if we need more)

rfkill-journalctl.txt

jeedaiian commented 3 years ago

I faced this bug after updating 20.10 to kernel 5.11. This issue was not present for kernel 5.8.

This issue also occurs when enabling airplane mode in Settings. Airplane mode cannot be disabled. My workaround to re-enable bluetooth:

rfkill unblock all

systemctl restart bluetooth

Hardware: Thinkpad E15 G2 AMD

Note: after updating to bluez 5.55-0ubuntu1.2, only the rfkill unblock all command has to be run to lift airplane mode. Bluetooth now resumes correctly after.