From: Felipe Contreras <felipe.contreras@gmail.com>
To: Aaron Lu <aaron.lwe@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: [REGRESSION/PATCH] acpi: blacklist win8 OSI for ASUS Zenbok Prime UX31A
Date: Thu, 1 Aug 2013 13:50:49 -0500 [thread overview]
Message-ID: <CAMP44s1LT_07o7191R4qLM5=cv1qyLXmeiPCbJKRU-5o0c3AxA@mail.gmail.com> (raw)
In-Reply-To: <51F874D0.8040500@gmail.com>
On Tue, Jul 30, 2013 at 9:22 PM, Aaron Lu <aaron.lwe@gmail.com> wrote:
> On 07/31/2013 10:07 AM, Felipe Contreras wrote:
>> On Tue, Jul 30, 2013 at 8:36 PM, Aaron Lu <aaron.lwe@gmail.com> wrote:
>>> On 07/31/2013 08:11 AM, Felipe Contreras wrote:
>>>> On Tue, Jul 30, 2013 at 6:13 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
>>>>> Yes, that will break backlight on your system and *then* you can complain to
>>>>> Linus if you wish.
>>>>
>>>> It is already broken in v3.11-rc3, in fact I just booted that to try
>>>> it out and it booted with the screen completely black (fortunately I
>>>> knew exactly what to type to change that).
>>>
>>> That is bad, can you please file a bug for that? I'll need to take a
>>> look at your ACPI tables, thanks.
>>
>> File a bug where?
>
> https://bugzilla.kernel.org/
> For component, please choose ACPI->Power_Video.
Here you go:
https://bugzilla.kernel.org/show_bug.cgi?id=60677
>>>> Apparently this commit also needs to be reverted: efaa14c (ACPI /
>>>> video: no automatic brightness changes by win8-compatible firmware).
>>>> In this machine it makes the backlight work again (without
>>>> acpi_osi="!Windows 2012"), but by doing so the ACPI driver also turns
>>>> off the screen completely at level 0. Also, each time I change the
>>>
>>> So with rc3 and commit efaa14c reverted, when you set level 0 to ACPI
>>> video's backlight interface, the screen will be off now? And this is not
>>> the case in 3.10, right?
>>
>> No, setting level 0 turns it off if efaa14c is *not* reverted. In 3.10
>> 0 doesn't turn it off.
>
> AFAIK, Win8 firmware will check a flag to decide what to do on hotkey
> press and backlight brightness level change. Common behavior is:
> If that flag is set:
> - on hotkey press, send out event;
> - on brightness level change, use GPU driver's interface to change
> backlight level following operation region spec.
> If that flag is not set:
> - on hotkey press, adjust the brightness level without sending out
> event;
> - on brightness level change, use EC to change the brightness level.
>
> The said commit sets the flag, so it seems with the flag set now,
> it is possible the firmware interface will also give a screen off
> result. But since we want to have notification event, we will have to
> set that flag I think.
Probably, but changing the brightness should still work even without
the flag, right? It doesn't work here.
Setting the flag makes it work, but not properly.
>>> Please attach acpidump output to the to be opened bugzilla page, thanks.
>>
>> I looked at the code in the DCDT, it appears to me that they store
>> different levels depending on the OSI version, so I don't think the
>> problem is in the ACPI driver. Yet, the issue remains there.
>
> It's good to know what is the problem, so I would like to see the table.
> Most of the bugs I solved in ACPI video driver's backlight control are
> caused by firmware, so yes, it's very unlikely a bug of the ACPI video
> driver itself.
I hope you meant the output of this:
https://aur.archlinux.org/packages/acpidump/
--
Felipe Contreras
next prev parent reply other threads:[~2013-08-01 18:50 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 19:20 [REGRESSION/PATCH] acpi: blacklist win8 OSI for ASUS Zenbok Prime UX31A Felipe Contreras
2013-07-29 20:17 ` Rafael J. Wysocki
2013-07-29 20:22 ` Felipe Contreras
2013-07-29 20:47 ` Rafael J. Wysocki
2013-07-29 21:04 ` Felipe Contreras
2013-07-30 3:11 ` Aaron Lu
2013-07-30 3:44 ` Felipe Contreras
2013-07-30 5:51 ` Aaron Lu
2013-07-30 5:57 ` Aaron Lu
2013-07-30 13:42 ` Rafael J. Wysocki
2013-07-30 20:59 ` Felipe Contreras
2013-07-30 23:13 ` Rafael J. Wysocki
2013-07-31 0:11 ` Felipe Contreras
2013-07-31 1:36 ` Aaron Lu
2013-07-31 2:07 ` Felipe Contreras
2013-07-31 2:22 ` Aaron Lu
2013-08-01 18:50 ` Felipe Contreras [this message]
2013-07-31 5:14 ` Matthew Garrett
2013-07-31 11:32 ` Felipe Contreras
2013-07-31 14:00 ` Matthew Garrett
2013-07-31 17:46 ` Felipe Contreras
2013-07-31 17:52 ` Matthew Garrett
2013-07-31 18:07 ` Felipe Contreras
2013-07-31 18:47 ` Matthew Garrett
2013-08-01 17:37 ` Felipe Contreras
2013-08-01 17:42 ` Matthew Garrett
2013-08-01 17:50 ` Felipe Contreras
2013-08-01 18:01 ` Matthew Garrett
2013-08-01 18:11 ` Felipe Contreras
2013-08-01 23:40 ` Felipe Contreras
2013-07-31 1:59 ` Aaron Lu
2013-07-31 2:09 ` Felipe Contreras
-- strict thread matches above, loose matches on Subject: below --
2013-10-20 22:16 Vincent Blut
2013-10-21 1:53 ` Aaron Lu
2013-10-21 21:21 ` Vincent Blut
2013-10-22 2:16 ` Aaron Lu
2013-10-22 2:12 ` Felipe Contreras
2013-10-23 15:31 ` Matthew Garrett
2013-10-23 19:39 ` Felipe Contreras
2013-10-24 0:53 ` Matthew Garrett
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='CAMP44s1LT_07o7191R4qLM5=cv1qyLXmeiPCbJKRU-5o0c3AxA@mail.gmail.com' \
--to=felipe.contreras@gmail.com \
--cc=aaron.lwe@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).