All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI / blacklist: blacklist Win8 OSI for HP Pavilion dv6
@ 2015-03-03  6:39 Alex Hung
  2015-03-10 22:20 ` Rafael J. Wysocki
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Hung @ 2015-03-03  6:39 UTC (permalink / raw)
  To: lenb, rjw, linux-acpi, alex.hung

The brightness hotkeys of HP Pavilion dv6 does not work with Win8 OSI. Due
to insufficient documentation for the driver implementation, blacklist
it as a workaround.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 drivers/acpi/blacklist.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index 9b693d5..98aa360 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -300,6 +300,18 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
 	},
 
 	/*
+	 * The brightness hotkeys do not work on those machines when
+	 * returning true for _OSI("Windows 2012")
+	 */
+	{
+	.callback = dmi_disable_osi_win8,
+	.ident = "HP Pavilion dv6",
+	.matches = {
+		    DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+		    DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv6 Notebook PC"),
+		},
+	},
+	/*
 	 * BIOS invocation of _OSI(Linux) is almost always a BIOS bug.
 	 * Linux ignores it, except for the machines enumerated below.
 	 */
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-17  6:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03  6:39 [PATCH] ACPI / blacklist: blacklist Win8 OSI for HP Pavilion dv6 Alex Hung
2015-03-10 22:20 ` Rafael J. Wysocki
2015-03-14 12:46   ` Alex Hung
2015-03-17  2:31     ` Rafael J. Wysocki
2015-03-17  3:01       ` Aaron Lu
2015-03-17  6:14         ` Alex Hung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.