[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8db1092f0907231236x54972749p9f535f696c9b008f@mail.gmail.com>
Date: Thu, 23 Jul 2009 21:36:14 +0200
From: Maciej Rutecki <maciej.rutecki@...il.com>
To: Alan Jenkins <alan-jenkins@...fmail.co.uk>
Cc: Matthew Garrett <mjg@...hat.com>,
linux acpi <linux-acpi@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] hp-wmi: improve rfkill support
2009/7/23 Alan Jenkins <alan-jenkins@...fmail.co.uk>:
>
> That's a bug. You're saying this is in -rc4, without applying my patch?
Yes
>
> I think I know exactly what is happening. Apply my patch, and it will go
> away :-).
Yes. I add Your patch to -rc4 and rfkill works OK:
Enable by button:
root@...is:/home/maciek# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
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
Disable by button:
root@...is:/home/maciek# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
After resume from s2disk:
root@...is:/home/maciek# rfkill list
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
4: phy1: Wireless LAN
Soft blocked: no
Hard blocked: yes
(are some differences after and before s2disk)
Enable by button:
root@...is:/home/maciek# rfkill list
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
4: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
5: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
And wifi/bluetooth works without manual enable. Thanks.
>
> I'm not sure this is a new bug though. It might be triggered by the big
> rfkill rewrite, but I don't see how that could happen. Can you confirm if
> this happens in 2.6.30?
2.6.30 works OK
>
> Thanks
> Alan
>
Regards
--
Maciej Rutecki
http://www.maciek.unixy.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists