* [PATCH 1/2] acpi/video_detect: Add force_native quirk for Dell XPS 17 L702X
@ 2016-11-29 14:32 Hans de Goede
2016-11-29 14:32 ` [PATCH 2/2] acpi/video_detect: Add force_native quirk for HP Pavilion dv6 Hans de Goede
0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2016-11-29 14:32 UTC (permalink / raw)
To: Rafael J . Wysocki, Len Brown; +Cc: linux-acpi, Hans de Goede, stable
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.
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1123661
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/acpi/video_detect.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index a6b36fc..7f48156 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -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"),
+ },
+ },
{ },
};
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] acpi/video_detect: Add force_native quirk for HP Pavilion dv6
2016-11-29 14:32 [PATCH 1/2] acpi/video_detect: Add force_native quirk for Dell XPS 17 L702X Hans de Goede
@ 2016-11-29 14:32 ` Hans de Goede
2016-11-30 22:31 ` Rafael J. Wysocki
0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2016-11-29 14:32 UTC (permalink / raw)
To: Rafael J . Wysocki, Len Brown; +Cc: linux-acpi, Hans de Goede, stable
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.
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1204476
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux-lts-trusty/+bug/1416940
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/acpi/video_detect.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 7f48156..02ded25 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -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"),
+ },
+ },
+
{ },
};
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] acpi/video_detect: Add force_native quirk for HP Pavilion dv6
2016-11-29 14:32 ` [PATCH 2/2] acpi/video_detect: Add force_native quirk for HP Pavilion dv6 Hans de Goede
@ 2016-11-30 22:31 ` Rafael J. Wysocki
0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2016-11-30 22:31 UTC (permalink / raw)
To: Hans de Goede; +Cc: Len Brown, linux-acpi, stable
On Tuesday, November 29, 2016 03:32:16 PM Hans de Goede wrote:
> 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.
>
> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1204476
> BugLink: https://bugs.launchpad.net/ubuntu/+source/linux-lts-trusty/+bug/1416940
> Cc: stable@vger.kernel.org
It's always good to say what the oldest -stable series this applies to is.
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Anyway, both [1-2/2] applied.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-30 22:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-29 14:32 [PATCH 1/2] acpi/video_detect: Add force_native quirk for Dell XPS 17 L702X Hans de Goede
2016-11-29 14:32 ` [PATCH 2/2] acpi/video_detect: Add force_native quirk for HP Pavilion dv6 Hans de Goede
2016-11-30 22:31 ` Rafael J. Wysocki
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).