acer-wmi: add Acer Extensa 5235 to video backlight vendor
Subsystems (2)
PATCH 1/1 acer-wmi: add Acer Extensa 5235 to video backlight vendor
From: "Lee, Chun-Yi" <[email protected]>
Acer Extensa 5235 laptop have broken _BCM implemenation, the AML code wrote value to EC register but firmware didn't change brighenss.
Fortunately, the brightness control works on those machines with vendor mode. So, add this machine to video backlight vendor mode quirk table.
Reference: bko#42833
https://bugzilla.kernel.org/show_bug.cgi?id=42833
--- drivers/platform/x86/acer-wmi.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/platform/x86/acer-wmi.c +8 -0
@@ -523,6 +523,14 @@ static const struct dmi_system_id video_vendor_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 4750"), }, }, + { + .callback = video_set_backlight_video_vendor, + .ident = "Acer Extensa 5235", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "Extensa 5235"), + }, + }, {} };
Signature · 1 line
1.7.7
joeyli
maintainer於 三,2012-04-18 於 17:01 +0800,Lee, Chun-Yi 提到:
Quoted 31 lines
From: "Lee, Chun-Yi" <[email protected]>
Acer Extensa 5235 laptop have broken
_BCMimplemenation, the AML code wrote value to EC register but firmware didn't change brighenss.Fortunately, the brightness control works on those machines with vendor mode. So, add this machine to video backlight vendor mode quirk table.
Reference: bko#42833
https://bugzilla.kernel.org/show_bug.cgi?id=42833Cc Bence Lukacs <[email protected]>Cc Carlos Corbacho <[email protected]>Cc Matthew Garrett <[email protected]>Cc Dmitry Torokhov <[email protected]>Cc Corentin Chary <[email protected]>Cc Thomas Renninger <[email protected]>Signed-off-by Lee, Chun-Yi <[email protected]>--- drivers/platform/x86/acer-wmi.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)drivers/platform/x86/acer-wmi.c +1
-0@@ -523,6 +523,14 @@ static const struct dmi_system_id video_vendor_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 4750"), }, }, + {
drivers/platform/x86/acer-wmi.c static const struct dmi_system_id video_vendor_dmi_table[] = { · line 536
Quoted 10 lines
drivers/platform/x86/acer-wmi.c +7
-0+ .callback = video_set_backlight_video_vendor, + .ident = "Acer Extensa 5235", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "Extensa 5235"), + }, + }, {} };
Collected more issue machines need add to quirk table.
I just re-sent patch:
[PATCH] acer-wmi: add 3 laptops to video backlight vendor mode quirk table
Thanks
Joey Lee