this is what happens
Code:
~ $ sudo service bluetooth stop
bluetooth stop/waiting
still the bluetooth applet is lightened up, like bluetooth is still on
but, if I open the bluetooth settings from gnome control center, bluetooth is shown to be off
in this situation the network works normally
if in this situation I test with rfkill I get
Code:
~ $ rfkill list all
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
4: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
so from rfkill point of view, bluetooth is still on
however, if I do
Code:
~ $ rfkill block 4 && rfkill list all
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
4: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
the bluetooth applet gets dimmed and it reports that bluetooth is off, as well as in control settings
in this situation the network works
instead, if I switch off bluetooth directly from the applet or I do
the wifi led blinks for a while, then it goes to white, like wifi is supposed to be on and I get the authentication problem mentioned in the first post
and the network does not work.
so the question is if bluetooth is really off when I give rfkill to block hci0
after stopping the service and blocking hci0 I tried to launch blueman and got the following
Bluez daemon is not running, blueman-manager cannot continue.
This probably means that there were no Bluetooth adapters detected or Bluetooth daemon was not started.
so it seems to have worked
also because if I scan around for bluetooth devices with my smartphone I cannot detect my laptop
it seems however, for my laptop, the bluetooth applet switches off the wrong device
should I file a bug for it?
another option would be to have a script that blocks hci0 at startup, the problem is that with rfkill devices change continuously number....
Thanks a lot
Bookmarks