All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aaron Lu <aaron.lu@intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	linux-acpi@vger.kernel.org, Len Brown <lenb@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Revert "ACPI / video: Add HP EliteBook Revolve 810 to the blacklist"
Date: Mon, 17 Feb 2014 21:07:08 +0800	[thread overview]
Message-ID: <5302097C.4000000@intel.com> (raw)
In-Reply-To: <s5h61oe12r7.wl%tiwai@suse.de>

On 02/17/2014 05:56 PM, Takashi Iwai wrote:
> At Mon, 17 Feb 2014 13:52:46 +0800,
> Aaron Lu wrote:
>>
>> On 02/15/2014 06:21 AM, Rafael J. Wysocki wrote:
>>> On Friday, February 14, 2014 05:26:01 PM Mika Westerberg wrote:
>>>> On Fri, Feb 14, 2014 at 03:46:20PM +0100, Takashi Iwai wrote:
>>>>> The acpi_osi blacklist is just a workaround, and if we have better
>>>>> solutions, it should be removed.  That's why I'm asking it.
>>>>>
>>>>> So, after removing acpi_osi blacklist, and keeping your video
>>>>> blacklist patch, the backlight works?
>>>>
>>>> Yes, the backlight works (there is only intel_backlight listed under
>>>> /sys/class/backlight).
>>>>
>>>>> If yes, as mentioned, we should think of rather extending this video
>>>>> blacklist to more EliteBook G1 and ProBook G1 machines, and remove
>>>>> acpi_osi blacklist instead.
>>>>
>>>> Makes sense to me. (Well, I'm fine as long as backlight on my machine works
>>>> ;-))
>>>>
>>>> Aaron, Rafael, any comments on this?
>>>
>>> I generally agree with Takashi, but I'm not sure what to do for 3.14.
>>
>> I can re-base the previously sent patch titled:
>> [PATCH] ACPI / video: Add systems that should favor native backlight interface
>> And put Mika's system into the DMI table that will use native backlight
>> interface in video module and remove it from video_detect's DMI table at
>> the same time. Does this sound OK?
> 
> Rather put more generic DMI entries for the recent HP ProBook and
> EliteBook machines as in acpi_osi blacklist:
> 
> 	{
> 	.callback = dmi_disable_osi_win8,
> 	.ident = "HP ProBook 2013 models",
> 	.matches = {
> 		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> 		     DMI_MATCH(DMI_PRODUCT_NAME, "HP ProBook "),
> 		     DMI_MATCH(DMI_PRODUCT_NAME, " G1"),
> 		},
> 	},
> 	{
> 	.callback = dmi_disable_osi_win8,
> 	.ident = "HP EliteBook 2013 models",
> 	.matches = {
> 		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> 		     DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteBook "),
> 		     DMI_MATCH(DMI_PRODUCT_NAME, " G1"),
> 		},
> 	},
> 	{
> 	.callback = dmi_disable_osi_win8,
> 	.ident = "HP ZBook 14",
> 	.matches = {
> 		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> 		     DMI_MATCH(DMI_PRODUCT_NAME, "HP ZBook 14"),
> 		},
> 	},
> 	{
> 	.callback = dmi_disable_osi_win8,
> 	.ident = "HP ZBook 15",
> 	.matches = {
> 		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> 		     DMI_MATCH(DMI_PRODUCT_NAME, "HP ZBook 15"),
> 		},
> 	},
> 	{
> 	.callback = dmi_disable_osi_win8,
> 	.ident = "HP ZBook 17",
> 	.matches = {
> 		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> 		     DMI_MATCH(DMI_PRODUCT_NAME, "HP ZBook 17"),
> 		},
> 	},
> 	{
> 	.callback = dmi_disable_osi_win8,
> 	.ident = "HP EliteBook 8780w",
> 	.matches = {
> 		     DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> 		     DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteBook 8780w"),
> 		},
> 	},
> 
> All these are known to have different behavior with Win8, including
> the broken ACPI backlight.  Once after merging that patch, we can
> revert the commit 2d4054d84224.

OK, thanks for the info.
I'll add the above laptops to the video module's use_native_backlight
DMI table.

Thanks,
Aaron

> 
> I suppose it'd be OK for to do these for 3.14, since the acpi_osi
> commit was merged first in 3.14.  Then we can continue fixing in a
> saner way.
> 
> 
> thanks,
> 
> Takashi
> 


  reply	other threads:[~2014-02-17 13:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 12:34 [PATCH] Revert "ACPI / video: Add HP EliteBook Revolve 810 to the blacklist" Mika Westerberg
2014-02-14 13:37 ` Takashi Iwai
2014-02-14 14:03   ` Mika Westerberg
2014-02-14 14:01     ` Takashi Iwai
2014-02-14 14:16       ` Mika Westerberg
2014-02-14 14:16         ` Takashi Iwai
2014-02-14 14:45           ` Mika Westerberg
2014-02-14 14:46             ` Takashi Iwai
2014-02-14 14:50               ` Aaron Lu
2014-02-14 14:54                 ` Takashi Iwai
2014-02-14 15:26               ` Mika Westerberg
2014-02-14 22:21                 ` Rafael J. Wysocki
2014-02-17  5:52                   ` Aaron Lu
2014-02-17  9:56                     ` Takashi Iwai
2014-02-17 13:07                       ` Aaron Lu [this message]
2014-02-17  9:57                     ` Mika Westerberg
2014-02-14 14:47       ` Aaron Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5302097C.4000000@intel.com \
    --to=aaron.lu@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=rjw@rjwysocki.net \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.