* [PATCH] ideapad_laptop: Add Lenovo G40-30 to devices without radio switch
@ 2015-05-02 13:14 Philippe Coval
2015-05-03 18:16 ` Darren Hart
0 siblings, 1 reply; 2+ messages in thread
From: Philippe Coval @ 2015-05-02 13:14 UTC (permalink / raw)
To: ike.pan, dvhart
Cc: Philippe Coval, platform-driver-x86, linux-kernel, Philippe Coval
Lenovo G40-30 does not provide any physical radio switch to user.
Therefore disable the rfkill switch identically to the Yoga 2 approach.
(Note for later, models ids are sorted alphabetically).
Benefit is to make wireless available again without unloading module.
It was tested successfully on 4.1.0-rc1 base with this model:
(LENOVO_MT_80FY_BU_idea_FM_Lenovo G40-30).
BugLink: https://bugs.launchpad.net/ideapad-laptop/+bug/1450946
Cc: platform-driver-x86@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Philippe Coval <rzr@gna.org>
---
drivers/platform/x86/ideapad-laptop.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index b3d419a..b496db8 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -830,6 +830,13 @@ static void ideapad_acpi_notify(acpi_handle handle, u32 event, void *data)
*/
static const struct dmi_system_id no_hw_rfkill_list[] = {
{
+ .ident = "Lenovo G40-30",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G40-30"),
+ },
+ },
+ {
.ident = "Lenovo Yoga 2 11 / 13 / Pro",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ideapad_laptop: Add Lenovo G40-30 to devices without radio switch
2015-05-02 13:14 [PATCH] ideapad_laptop: Add Lenovo G40-30 to devices without radio switch Philippe Coval
@ 2015-05-03 18:16 ` Darren Hart
0 siblings, 0 replies; 2+ messages in thread
From: Darren Hart @ 2015-05-03 18:16 UTC (permalink / raw)
To: Philippe Coval; +Cc: ike.pan, platform-driver-x86, linux-kernel, Philippe Coval
On Sat, May 02, 2015 at 03:14:08PM +0200, Philippe Coval wrote:
> Lenovo G40-30 does not provide any physical radio switch to user.
> Therefore disable the rfkill switch identically to the Yoga 2 approach.
> (Note for later, models ids are sorted alphabetically).
>
> Benefit is to make wireless available again without unloading module.
>
> It was tested successfully on 4.1.0-rc1 base with this model:
> (LENOVO_MT_80FY_BU_idea_FM_Lenovo G40-30).
>
> BugLink: https://bugs.launchpad.net/ideapad-laptop/+bug/1450946
> Cc: platform-driver-x86@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Philippe Coval <rzr@gna.org>
Queued, thanks.
--
Darren Hart
Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-03 18:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-02 13:14 [PATCH] ideapad_laptop: Add Lenovo G40-30 to devices without radio switch Philippe Coval
2015-05-03 18:16 ` Darren Hart
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.