All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] platform/x86/dell-laptop: Add another Dell laptop to the DMI whitelist
@ 2010-02-14 10:54 Erik Andren
  2010-02-14 15:47 ` Andreas Mohr
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Erik Andren @ 2010-02-14 10:54 UTC (permalink / raw)
  To: mjg; +Cc: linux-kernel, linux-pm, Erik Andren

The Latitude C640 has another variation of dell in its DMI vendor entry.
Add it to the whitelist in order to enjoy the sweet fruits of software backlight toggling.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
---
 drivers/platform/x86/dell-laptop.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index 3780994..b5246f1 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -79,6 +79,13 @@ static const struct dmi_system_id __initdata dell_device_table[] = {
 			DMI_MATCH(DMI_CHASSIS_TYPE, "8"),
 		},
 	},
+	{
+		.ident = "Dell Computer Corporation",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
+			DMI_MATCH(DMI_CHASSIS_TYPE, "8"),
+		},
+	},
 	{ }
 };
 
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [PATCH 1/1] platform/x86/dell-laptop: Add another Dell laptop to the DMI whitelist
@ 2010-02-14 10:54 Erik Andren
  0 siblings, 0 replies; 14+ messages in thread
From: Erik Andren @ 2010-02-14 10:54 UTC (permalink / raw)
  To: mjg; +Cc: linux-pm, linux-kernel, Erik Andren

The Latitude C640 has another variation of dell in its DMI vendor entry.
Add it to the whitelist in order to enjoy the sweet fruits of software backlight toggling.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
---
 drivers/platform/x86/dell-laptop.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index 3780994..b5246f1 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -79,6 +79,13 @@ static const struct dmi_system_id __initdata dell_device_table[] = {
 			DMI_MATCH(DMI_CHASSIS_TYPE, "8"),
 		},
 	},
+	{
+		.ident = "Dell Computer Corporation",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
+			DMI_MATCH(DMI_CHASSIS_TYPE, "8"),
+		},
+	},
 	{ }
 };
 
-- 
1.6.3.3

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

end of thread, other threads:[~2010-02-14 19:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-14 10:54 [PATCH 1/1] platform/x86/dell-laptop: Add another Dell laptop to the DMI whitelist Erik Andren
2010-02-14 15:47 ` Andreas Mohr
2010-02-14 15:47 ` Andreas Mohr
2010-02-14 16:57   ` Matthew Garrett
2010-02-14 16:57   ` Matthew Garrett
2010-02-14 16:55 ` Matthew Garrett
2010-02-14 18:59   ` Erik Andrén
2010-02-14 18:59   ` Erik Andrén
2010-02-14 19:04     ` Matthew Garrett
2010-02-14 19:07       ` Erik Andrén
2010-02-14 19:07       ` Erik Andrén
2010-02-14 19:04     ` Matthew Garrett
2010-02-14 16:55 ` Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2010-02-14 10:54 Erik Andren

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.