Comment 15 for bug 445462

Revision history for this message
Janne Hyötylä (janne-hyotyla) wrote : Re: dell-bluetooth - confusing/contradictory info about bluetooth status (on/off)

See attachment for the BIOS setting.

Now to the weird dell-bluetooth behaviour:

When I start the laptop with killswitch off, I get the following:

$ rfkill list
0: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
1: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
2: dell-bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

and

$ bluetooth-applet
** Message: adding killswitch idx 0 state 1
** Message: adding killswitch idx 2 state 1
** Message: Reading of RFKILL events failed
** Message: killswitch 0 is 1
** Message: killswitch 2 is 1
** Message: killswitches state 1
** (bluetooth-applet:9715): DEBUG: Unhandled UUID 00005001-0000-1000-8000-0002ee000001 (0x5001)
** (bluetooth-applet:9715): DEBUG: Unhandled UUID 00005002-0000-1000-8000-0002ee000001 (0x5002)
** (bluetooth-applet:9715): DEBUG: Unhandled UUID 00005003-0000-1000-8000-0002ee000001 (0x5003)
** (bluetooth-applet:9715): DEBUG: Unhandled UUID 00005557-0000-1000-8000-0002ee000001 (0x5557)
** (bluetooth-applet:9715): DEBUG: Unhandled UUID 00005601-0000-1000-8000-0002ee000001 (0x5601)
** Message: killswitch 0 is 1
** Message: killswitch 2 is 1
** Message: killswitches state 1

Switching the killswitch on:

$ rfkill list
1: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
2: dell-bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

$ bluetooth-applet
** Message: adding killswitch idx 2 state 1
** Message: Reading of RFKILL events failed
** Message: killswitch 2 is 1
** Message: killswitches state 1
** Message: killswitch 2 is 1
** Message: killswitches state 1

Now bluetooth-applet shows a greyed out "Bluetooth: On" and a clickable "Turn off bluetooth", although it is already off, as correctly displayed with an X in the icon itself.

Clicking "turn off bluetooth" shows the following from bluetooth-applet:
** Message: updating killswitch status 2
** Message: killswitch 2 is 2
** Message: killswitches state 2
** Message: killswitch 2 is 2
** Message: killswitches state 2
** Message: RFKILL event: idx 2 type 2 op 2 soft 1 hard 1

** Message: killswitch 2 is 2
** Message: killswitches state 2

and:

$ rfkill list
1: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
2: dell-bluetooth: Bluetooth
 Soft blocked: yes
 Hard blocked: yes
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

At the same time, the option to turn BT off disappears from the applet icon, and clicking "Turn on Bluetooth" in the preferences window does not do anything.

After switching the killswitch off, I get:
** Message: killswitch 2 is 2
** Message: killswitches state 2
** Message: RFKILL event: idx 4 type 2 op 0 soft 0 hard 0

** Message: adding killswitch idx 4 state 1
** Message: killswitch 2 is 2
** Message: killswitches state 2
** Message: RFKILL event: idx 4 type 2 op 2 soft 0 hard 0

** Message: killswitch 2 is 2
** Message: killswitches state 2
** Message: RFKILL event: idx 4 type 2 op 0 soft 0 hard 0

** Message: adding killswitch idx 4 state 1
** Message: killswitch 2 is 2
** Message: killswitches state 2
** Message: RFKILL event: idx 4 type 2 op 2 soft 0 hard 0

** Message: killswitch 2 is 2
** Message: killswitches state 2
** (bluetooth-properties:11857): DEBUG: Unhandled UUID 00005001-0000-1000-8000-0002ee000001 (0x5001)
** (bluetooth-properties:11857): DEBUG: Unhandled UUID 00005002-0000-1000-8000-0002ee000001 (0x5002)
** (bluetooth-properties:11857): DEBUG: Unhandled UUID 00005003-0000-1000-8000-0002ee000001 (0x5003)
** (bluetooth-properties:11857): DEBUG: Unhandled UUID 00005557-0000-1000-8000-0002ee000001 (0x5557)
** (bluetooth-properties:11857): DEBUG: Unhandled UUID 00005601-0000-1000-8000-0002ee000001 (0x5601)
** (bluetooth-applet:10410): DEBUG: Unhandled UUID 00005001-0000-1000-8000-0002ee000001 (0x5001)
** (bluetooth-applet:10410): DEBUG: Unhandled UUID 00005002-0000-1000-8000-0002ee000001 (0x5002)
** (bluetooth-applet:10410): DEBUG: Unhandled UUID 00005003-0000-1000-8000-0002ee000001 (0x5003)
** (bluetooth-applet:10410): DEBUG: Unhandled UUID 00005557-0000-1000-8000-0002ee000001 (0x5557)
** (bluetooth-applet:10410): DEBUG: Unhandled UUID 00005601-0000-1000-8000-0002ee000001 (0x5601)

and

$ rfkill list
1: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
2: dell-bluetooth: Bluetooth
 Soft blocked: yes
 Hard blocked: yes
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
4: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no

==========================

So in summary it seems a complete mess, which bluetooth device bt-applet is using for which function. Even the pop-up menu and the icon seem to refer to different devices.
Second, dell-bluetooth seems to get stuck in off/off mode once it has been turned off.