Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1311773 > unrolled thread

[PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list

Started byJosh Boyer <jwboyer@fedoraproject.org>
First post2016-01-18 20:40 +0100
Last post2016-01-24 19:20 +0100
Articles 10 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list Josh Boyer <jwboyer@fedoraproject.org> - 2016-01-18 20:40 +0100
    Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list Josh Boyer <jwboyer@fedoraproject.org> - 2016-01-20 15:20 +0100
      Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi  list Darren Hart <dvhart@infradead.org> - 2016-01-20 17:50 +0100
        Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list Josh Boyer <jwboyer@fedoraproject.org> - 2016-01-20 17:50 +0100
    Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi  list Darren Hart <dvhart@infradead.org> - 2016-01-21 23:00 +0100
    Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi  list Darren Hart <dvhart@infradead.org> - 2016-01-23 08:30 +0100
      Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list Josh Boyer <jwboyer@fedoraproject.org> - 2016-01-23 14:00 +0100
        Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi  list Darren Hart <dvhart@infradead.org> - 2016-01-24 19:20 +0100
    [PATCH v2] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list Josh Boyer <jwboyer@fedoraproject.org> - 2016-01-24 16:50 +0100
      Re: [PATCH v2] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill  dmi list Darren Hart <dvhart@infradead.org> - 2016-01-24 19:20 +0100

#1311773 — [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list

FromJosh Boyer <jwboyer@fedoraproject.org>
Date2016-01-18 20:40 +0100
Subject[PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
Message-ID<qSnOH-5b4-25@gated-at.bofh.it>
Like the Yoga 900 models the Lenovo Yoga 700 does not have a
hw rfkill switch, and trying to read the hw rfkill switch through the
ideapad module causes it to always reported blocking breaking wifi.

This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
the wifi breakage.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
Tested-by: <dinyar.rabady+spam@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
---

This applies to the for-next branch of the platform-x86-drivers tree


 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 d28db0e793df..51178626305d 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -900,6 +900,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
 		},
 	},
 	{
+		.ident = "Lenogo Yoga 700",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 700"),
+		},
+	},
+	{
 		.ident = "Lenovo Yoga 900",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-- 
2.5.0

[toc] | [next] | [standalone]


#1313240

FromJosh Boyer <jwboyer@fedoraproject.org>
Date2016-01-20 15:20 +0100
Message-ID<qT1M6-7FE-9@gated-at.bofh.it>
In reply to#1311773
On Mon, Jan 18, 2016 at 2:32 PM, Josh Boyer <jwboyer@fedoraproject.org> wrote:
> Like the Yoga 900 models the Lenovo Yoga 700 does not have a
> hw rfkill switch, and trying to read the hw rfkill switch through the
> ideapad module causes it to always reported blocking breaking wifi.
>
> This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
> the wifi breakage.
>
> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
> Tested-by: <dinyar.rabady+spam@gmail.com>
> Cc: stable@vger.kernel.org
> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
> ---
>
> This applies to the for-next branch of the platform-x86-drivers tree

Just another note that this is actually a new separate entry.  The
changelog and DMI information look similar to the patch that was just
merged into Linus' tree, but they are different.  This patch isn't a
resend.

josh

>
>
>  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 d28db0e793df..51178626305d 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -900,6 +900,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
>                 },
>         },
>         {
> +               .ident = "Lenogo Yoga 700",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 700"),
> +               },
> +       },
> +       {
>                 .ident = "Lenovo Yoga 900",
>                 .matches = {
>                         DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> --
> 2.5.0
>

[toc] | [prev] | [next] | [standalone]


#1313363 — Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list

FromDarren Hart <dvhart@infradead.org>
Date2016-01-20 17:50 +0100
SubjectRe: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
Message-ID<qT47h-Ma-33@gated-at.bofh.it>
In reply to#1313240
On Wed, Jan 20, 2016 at 09:18:10AM -0500, Josh Boyer wrote:
> On Mon, Jan 18, 2016 at 2:32 PM, Josh Boyer <jwboyer@fedoraproject.org> wrote:
> > Like the Yoga 900 models the Lenovo Yoga 700 does not have a
> > hw rfkill switch, and trying to read the hw rfkill switch through the
> > ideapad module causes it to always reported blocking breaking wifi.
> >
> > This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
> > the wifi breakage.
> >
> > BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
> > Tested-by: <dinyar.rabady+spam@gmail.com>
> > Cc: stable@vger.kernel.org
> > Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
> > ---
> >
> > This applies to the for-next branch of the platform-x86-drivers tree
> 
> Just another note that this is actually a new separate entry.  The
> changelog and DMI information look similar to the patch that was just
> merged into Linus' tree, but they are different.  This patch isn't a
> resend.

Yup, understood - I just couldn't include it in yesterday's pull request as it
came in too late. As a DMI match, it will still make the 4.5 series.

-- 
Darren Hart
Intel Open Source Technology Center

[toc] | [prev] | [next] | [standalone]


#1313365

FromJosh Boyer <jwboyer@fedoraproject.org>
Date2016-01-20 17:50 +0100
Message-ID<qT47h-Ma-39@gated-at.bofh.it>
In reply to#1313363
On Wed, Jan 20, 2016 at 11:47 AM, Darren Hart <dvhart@infradead.org> wrote:
> On Wed, Jan 20, 2016 at 09:18:10AM -0500, Josh Boyer wrote:
>> On Mon, Jan 18, 2016 at 2:32 PM, Josh Boyer <jwboyer@fedoraproject.org> wrote:
>> > Like the Yoga 900 models the Lenovo Yoga 700 does not have a
>> > hw rfkill switch, and trying to read the hw rfkill switch through the
>> > ideapad module causes it to always reported blocking breaking wifi.
>> >
>> > This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
>> > the wifi breakage.
>> >
>> > BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
>> > Tested-by: <dinyar.rabady+spam@gmail.com>
>> > Cc: stable@vger.kernel.org
>> > Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
>> > ---
>> >
>> > This applies to the for-next branch of the platform-x86-drivers tree
>>
>> Just another note that this is actually a new separate entry.  The
>> changelog and DMI information look similar to the patch that was just
>> merged into Linus' tree, but they are different.  This patch isn't a
>> resend.
>
> Yup, understood - I just couldn't include it in yesterday's pull request as it
> came in too late. As a DMI match, it will still make the 4.5 series.

Yep, no worries.  Just wanted to make sure people didn't think it was
a duplicate.

josh

[toc] | [prev] | [next] | [standalone]


#1314559 — Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list

FromDarren Hart <dvhart@infradead.org>
Date2016-01-21 23:00 +0100
SubjectRe: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
Message-ID<qTvqO-2KT-11@gated-at.bofh.it>
In reply to#1311773
On Mon, Jan 18, 2016 at 02:32:53PM -0500, Josh Boyer wrote:
> Like the Yoga 900 models the Lenovo Yoga 700 does not have a
> hw rfkill switch, and trying to read the hw rfkill switch through the
> ideapad module causes it to always reported blocking breaking wifi.
> 
> This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
> the wifi breakage.
> 
> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
> Tested-by: <dinyar.rabady+spam@gmail.com>
> Cc: stable@vger.kernel.org
> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>

Queued to testing, thank you.

-- 
Darren Hart
Intel Open Source Technology Center

[toc] | [prev] | [next] | [standalone]


#1315530 — Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list

FromDarren Hart <dvhart@infradead.org>
Date2016-01-23 08:30 +0100
SubjectRe: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
Message-ID<qU0NX-7OX-3@gated-at.bofh.it>
In reply to#1311773
On Mon, Jan 18, 2016 at 02:32:53PM -0500, Josh Boyer wrote:
> Like the Yoga 900 models the Lenovo Yoga 700 does not have a
> hw rfkill switch, and trying to read the hw rfkill switch through the
> ideapad module causes it to always reported blocking breaking wifi.
> 
> This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
> the wifi breakage.
> 
> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
> Tested-by: <dinyar.rabady+spam@gmail.com>
> Cc: stable@vger.kernel.org
> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
> ---
> 
> This applies to the for-next branch of the platform-x86-drivers tree
> 
> 
>  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 d28db0e793df..51178626305d 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -900,6 +900,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
>  		},
>  	},
>  	{
> +		.ident = "Lenogo Yoga 700",

Josh,

Is this a typo? "Lenogo"? Please tell me it's a typo.... :-)

-- 
Darren Hart
Intel Open Source Technology Center

[toc] | [prev] | [next] | [standalone]


#1315586

FromJosh Boyer <jwboyer@fedoraproject.org>
Date2016-01-23 14:00 +0100
Message-ID<qU5Xl-2Mq-7@gated-at.bofh.it>
In reply to#1315530
On Sat, Jan 23, 2016 at 2:27 AM, Darren Hart <dvhart@infradead.org> wrote:
> On Mon, Jan 18, 2016 at 02:32:53PM -0500, Josh Boyer wrote:
>> Like the Yoga 900 models the Lenovo Yoga 700 does not have a
>> hw rfkill switch, and trying to read the hw rfkill switch through the
>> ideapad module causes it to always reported blocking breaking wifi.
>>
>> This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
>> the wifi breakage.
>>
>> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
>> Tested-by: <dinyar.rabady+spam@gmail.com>
>> Cc: stable@vger.kernel.org
>> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
>> ---
>>
>> This applies to the for-next branch of the platform-x86-drivers tree
>>
>>
>>  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 d28db0e793df..51178626305d 100644
>> --- a/drivers/platform/x86/ideapad-laptop.c
>> +++ b/drivers/platform/x86/ideapad-laptop.c
>> @@ -900,6 +900,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
>>               },
>>       },
>>       {
>> +             .ident = "Lenogo Yoga 700",
>
> Josh,
>
> Is this a typo? "Lenogo"? Please tell me it's a typo.... :-)

Ugh, yes.  A typo.  One that apparently doesn't matter in
functionality because the tester used this exact patch and things
work, but embarrassing either way.

Do you need me to send a v2, or is that something you can fixup?

josh

[toc] | [prev] | [next] | [standalone]


#1315945 — Re: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list

FromDarren Hart <dvhart@infradead.org>
Date2016-01-24 19:20 +0100
SubjectRe: [PATCH] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
Message-ID<qUxqy-ck-19@gated-at.bofh.it>
In reply to#1315586
On Sat, Jan 23, 2016 at 07:57:23AM -0500, Josh Boyer wrote:
> On Sat, Jan 23, 2016 at 2:27 AM, Darren Hart <dvhart@infradead.org> wrote:
> > On Mon, Jan 18, 2016 at 02:32:53PM -0500, Josh Boyer wrote:
> >> Like the Yoga 900 models the Lenovo Yoga 700 does not have a
> >> hw rfkill switch, and trying to read the hw rfkill switch through the
> >> ideapad module causes it to always reported blocking breaking wifi.
> >>
> >> This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
> >> the wifi breakage.
> >>
> >> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
> >> Tested-by: <dinyar.rabady+spam@gmail.com>
> >> Cc: stable@vger.kernel.org
> >> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
> >> ---
> >>
> >> This applies to the for-next branch of the platform-x86-drivers tree
> >>
> >>
> >>  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 d28db0e793df..51178626305d 100644
> >> --- a/drivers/platform/x86/ideapad-laptop.c
> >> +++ b/drivers/platform/x86/ideapad-laptop.c
> >> @@ -900,6 +900,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
> >>               },
> >>       },
> >>       {
> >> +             .ident = "Lenogo Yoga 700",
> >
> > Josh,
> >
> > Is this a typo? "Lenogo"? Please tell me it's a typo.... :-)
> 
> Ugh, yes.  A typo.  One that apparently doesn't matter in
> functionality because the tester used this exact patch and things
> work, but embarrassing either way.
> 
> Do you need me to send a v2, or is that something you can fixup?

Normally I could have just fixed it up. I had some emergency travel on Friday
until now, so couldn't get back to it. Thank you for resending.

-- 
Darren Hart
Intel Open Source Technology Center

[toc] | [prev] | [next] | [standalone]


#1315919 — [PATCH v2] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list

FromJosh Boyer <jwboyer@fedoraproject.org>
Date2016-01-24 16:50 +0100
Subject[PATCH v2] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
Message-ID<qUv5o-6Ps-15@gated-at.bofh.it>
In reply to#1311773
Like the Yoga 900 models the Lenovo Yoga 700 does not have a
hw rfkill switch, and trying to read the hw rfkill switch through the
ideapad module causes it to always reported blocking breaking wifi.

This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
the wifi breakage.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
Tested-by: <dinyar.rabady+spam@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
---

v2: Fix Lenogo typo in ident structure member

 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 d28db0e793df..d78ee151c9e4 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -900,6 +900,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
 		},
 	},
 	{
+		.ident = "Lenovo Yoga 700",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 700"),
+		},
+	},
+	{
 		.ident = "Lenovo Yoga 900",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-- 
2.5.0

[toc] | [prev] | [next] | [standalone]


#1315946 — Re: [PATCH v2] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list

FromDarren Hart <dvhart@infradead.org>
Date2016-01-24 19:20 +0100
SubjectRe: [PATCH v2] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
Message-ID<qUxqy-ck-25@gated-at.bofh.it>
In reply to#1315919
On Sun, Jan 24, 2016 at 10:46:42AM -0500, Josh Boyer wrote:
> Like the Yoga 900 models the Lenovo Yoga 700 does not have a
> hw rfkill switch, and trying to read the hw rfkill switch through the
> ideapad module causes it to always reported blocking breaking wifi.
> 
> This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing
> the wifi breakage.
> 
> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272
> Tested-by: <dinyar.rabady+spam@gmail.com>
> Cc: stable@vger.kernel.org
> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>

Queued, thank you Josh.

-- 
Darren Hart
Intel Open Source Technology Center

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web