acpi/video_detect: Add force_native quirk for Dell XPS 17 L702X
Subsystems (2)
PATCH 1/2 acpi/video_detect: Add force_native quirk for Dell XPS 17 L702X
The Dell XPS 17 L702X has a non-working acpi_video0 backlight interface and an intel_backlight interface which works fine. Add a force_native quirk for it so that the non-working acpi_video0 interface does not get registered.
Note that there also is an issue with the brightnesskeys on this laptop, they do not generate key-press events in anyway. That is not solved by this patch.
--- drivers/acpi/video_detect.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/acpi/video_detect.c +9 -0
@@ -296,6 +296,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Vostro V131"), }, }, + { + /* https://bugzilla.redhat.com/show_bug.cgi?id=1123661 */ + .callback = video_detect_force_native, + .ident = "Dell XPS 17 L702X", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L702X"), + }, + }, { }, };
Signature · 1 line
2.9.3
PATCH 2/2 acpi/video_detect: Add force_native quirk for HP Pavilion dv6
The HP Pavilion dv6 has a non-working acpi_video0 backlight interface and an intel_backlight interface which works fine. Add a force_native quirk for it so that the non-working acpi_video0 interface does not get registered.
Note that there are quite a few HP Pavilion dv6 variants, some woth ATI and some with NVIDIA hybrid gfx, both seem to need this quirk to have working backlight control. There are also some versions with only Intel integrated gfx, these may not need this quirk, but it should not hurt there.
--- drivers/acpi/video_detect.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
drivers/acpi/video_detect.c +11 -0
@@ -305,6 +305,17 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L702X"), }, }, + { + /* https://bugzilla.redhat.com/show_bug.cgi?id=1204476 */ + /* https://bugs.launchpad.net/ubuntu/+source/linux-lts-trusty/+bug/1416940 */ + .callback = video_detect_force_native, + .ident = "HP Pavilion dv6", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv6 Notebook PC"), + }, + }, + { }, };
Signature · 1 line
2.9.3
Re: [PATCH 2/2] acpi/video_detect: Add force_native quirk for HP Pavilion dv6
Quoted 11 lines · Hans de Goede
The HP Pavilion dv6 has a non-working
acpi_video0backlight interface and anintel_backlightinterface which works fine. Add aforce_nativequirk for it so that the non-workingacpi_video0interface does not get registered.Note that there are quite a few HP Pavilion dv6 variants, some woth ATI and some with NVIDIA hybrid gfx, both seem to need this quirk to have working backlight control. There are also some versions with only Intel integrated gfx, these may not need this quirk, but it should not hurt there.
Quoted 3 lines
It's always good to say what the oldest -stable series this applies to is.
Quoted 1 line
Signed-off-by Hans de Goede <[email protected]>
Anyway, both [1-2/2] applied.
Thanks,
Rafael