I am using Ubuntu 18.04. I never use the Bluetooth so I always turn it off. That means: if I disable wifi the device goes into Airplane Mode. I get that it makes sense to turn on Airplane Mode when wifi and Bluetooth are off. The problem is: When I want to turn my wifi on again, I have to disable the Airplane Mode and that results in automatically turning on the Bluetooth again. That means that I have to disable the Bluetooth manually every time, even though it was turned off before.
I know of these two posts (and there are more):
Airplane mode turns on when I turn off Wi-Fi
Airplane mode automatic turn on problem
I also know that there is a bug report here.
However, my question remains: Is there a script I can write or some airplane mode configurations I can tweak right now so that I don't have to turn off Bluetooth manually every time I exit the Airplane Mode? I am new to scripting/editing configs and don't want to break stuff.
Edit:
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:568b Realtek Semiconductor Corp.
Bus 001 Device 003: ID 0cf3:e300 Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb
– Jeremy31 Nov 17 '19 at 17:57SUBSYSTEM=="usb", ATTRS{idVendor}=="0cf3", ATTRS{idProduct}=="e300", ATTR{authorized}="0"
– Jeremy31 Nov 22 '19 at 21:46