[ASUS][X501U][X401U] Fn + F8 display mode switch hot key will switch the mode 2 times by one single key stroke

Bug #1052278 reported by AceLan Kao
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
AceLan Kao
Precise
Won't Fix
Undecided
Unassigned
Quantal
Won't Fix
High
AceLan Kao

Bug Description

For machines with AMD graphic chips, it will send out WMI event and ACPI
interrupt at the same time while hitting the hotkey. BIOS will notify the
system the next display output mode throught WMI event code, so that
windows' application can show an OSD to tell the user which mode will be
taken effect. User can hit the display toggle key many times within 2
seconds to choose the mode they want. After 2 seconds, WMI dirver should
send a WMIMethod(SDSP) command to tell the BIOS which mode the user chose.
And then BIOS will raise another ACPI interrupt to tell the system to
really switch the display mode.

In Linux desktop, we don't have this kind of OSD to let users to choose
the mode they want, so we don't need to call WMIMethod(SDSP) to have
another ACPI interrupt. To simplify the problem, we just have to ignore
the WMI event, and let the first ACPI interrupt to send out the key event.

Revision history for this message
AceLan Kao (acelankao) wrote :
tags: added: blocks-hwcert-enablement
tags: added: patch
Changed in linux (Ubuntu Quantal):
importance: Undecided → High
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-asus-wmi-add-display-toggle-quirk.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

Revision history for this message
Yang Kun (YK) (dayangkuncn) wrote :

@AceLan could you please send the patch in comment #1 to the ubuntu kernel team for review ?

Revision history for this message
AceLan Kao (acelankao) wrote :

YK, this patch is still not in mainstream kernel tree, and also is not in platform-drivers-x86 tree yet.
The maintainer of asus-wmi driver accepted this patch, so it still needs some time to wait this patch to enter mainstream kernel.
Once this patch is in mainstream kernel tree, I'll submit the ubuntu kernel SRU.

Revision history for this message
madsheytan (madsheytan) wrote :

Hey! I'm running DELL XPS 15z and after i put up the lid of my sleeping notebook, the display backlight is turned off. Might this bug cause my problem too?

Revision history for this message
AceLan Kao (acelankao) wrote :

madsheytan,
the patch is only for asus machines, so it won't affect other vendors'
You can file a new bug and upload the logs, we will look into it.

Revision history for this message
AceLan Kao (acelankao) wrote :

This patch is in 3.8 kernel.

commit a2a96f0c7221806c8a8072b662e6deaa119833da
Author: AceLan Kao <email address hidden>
Date: Wed Oct 3 11:26:31 2012 +0200

    asus-wmi: add display toggle quirk

    For machines with AMD graphic chips, it will send out WMI event and ACPI
    interrupt at the same time while hitting the hotkey. BIOS will notify the
    system the next display output mode throught WMI event code, so that
    windows' application can show an OSD to tell the user which mode will be
    taken effect. User can hit the display toggle key many times within 2
    seconds to choose the mode they want. After 2 seconds, WMI dirver should
    send a WMIMethod(SDSP) command to tell the BIOS which mode the user chose.
    And then BIOS will raise another ACPI interrupt to tell the system to
    really switch the display mode.

    In Linux desktop, we don't have this kind of OSD to let users to choose
    the mode they want, so we don't need to call WMIMethod(SDSP) to have
    another ACPI interrupt. To simplify the problem, we just have to ignore
    the WMI event, and let the first ACPI interrupt to send out the key event.

    For the need, here comes another quirk to add machines with this kind of
    behavior. When the WMI driver receives the display toggle WMI event, and
    found the machin is in the list, it will do nothing and let ACPI video
    driver to report the key event.

    Signed-off-by: AceLan Kao <email address hidden>
    Signed-off-by: Corentin Chary <email address hidden>
    Signed-off-by: Matthew Garrett <email address hidden>

Changed in linux (Ubuntu Quantal):
status: In Progress → Triaged
AceLan Kao (acelankao)
Changed in linux (Ubuntu):
status: In Progress → Triaged
Changed in linux (Ubuntu Precise):
status: New → Won't Fix
Changed in linux (Ubuntu Quantal):
status: Triaged → Won't Fix
Revision history for this message
Anthony Wong (anthonywong) wrote :

Patch landed in 3.9, will be fixed in 13.10.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.