2012-01-01 22:46:24

by Milan Bouchet-Valat

[permalink] [raw]
Subject: Disabling Bluetooth also kills WiFi

Hi!


With kernels 3.1 and 3.2, disabling Bluetooth via rfkill also disables
my wireless card on my HP Pavilion dm4. This didn't happen with 2.6.41
(I upgraded from Fedora 15 to 16).

My devices are set up as this (see attached output of lspci -vnn for
details about devices):
# rfkill list
0: 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
11: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

The problem is, these commands also stop the WiFi:
rfkill block bluetooth
and
rfkill block 3 [for hp-bluetooth]

But this one only kills the Bluetooth:
rfkill block 11


Running
rfkill block wifi
does kill the WiFi, but leaves the Bluetooth up.


So it looks like the hp-bluetooth device is the culprit. Sadly, it's
what bluetoothd uses by default (if I judge by what gnome-bluetooth
does).


(If it matters, running 'rfkill block bluetooth' makes hci0 disappear,
and after unblocking bluetooth, it reappears with the ID increased by 1.
This doesn't happen with the WiFi.)


Please ask if I can provide more information/testing.


Thanks for your help.


Attachments:
lspci.log (6.92 kB)

2012-01-03 13:08:18

by Milan Bouchet-Valat

[permalink] [raw]
Subject: Re: Disabling Bluetooth also kills WiFi

Le lundi 02 janvier 2012 à 14:23 -0800, Marcel Holtmann a écrit :
> the hp-bluetooth platform switch also killing the hci0 switch is
> expected. They are essentially for the same device. That is okay.
>
> That the platform switch kills also WiFi is something you have to take
> up with hp-bluetooth platform driver authors. This is the wrong mailing
> list unless these guys hang out here as well.
Ah, sorry, I didn't understand that the hp-bluetooth device was handled
by hp-wmi. I'll ask on LKML then.


Regards

2012-01-02 22:23:10

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Disabling Bluetooth also kills WiFi

Hi Milan,

> With kernels 3.1 and 3.2, disabling Bluetooth via rfkill also disables
> my wireless card on my HP Pavilion dm4. This didn't happen with 2.6.41
> (I upgraded from Fedora 15 to 16).
>
> My devices are set up as this (see attached output of lspci -vnn for
> details about devices):
> # rfkill list
> 0: 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
> 11: hci0: Bluetooth
> Soft blocked: no
> Hard blocked: no
>
> The problem is, these commands also stop the WiFi:
> rfkill block bluetooth
> and
> rfkill block 3 [for hp-bluetooth]
>
> But this one only kills the Bluetooth:
> rfkill block 11

the hp-bluetooth platform switch also killing the hci0 switch is
expected. They are essentially for the same device. That is okay.

That the platform switch kills also WiFi is something you have to take
up with hp-bluetooth platform driver authors. This is the wrong mailing
list unless these guys hang out here as well.

Regards

Marcel