public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hdaps: remove duplicate whitelist entry and add ThinkPad R52 (1847W62)
@ 2006-10-01 12:02 Stephan Berberig
  0 siblings, 0 replies; only message in thread
From: Stephan Berberig @ 2006-10-01 12:02 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

Hi,

the attached patch removes a duplicate whitelist entry for the "ThinkPad
H" and adds the "strange" DMI for the ThinkPad R52 (1847W62).

BTW, The strange DMIs for the ThinkPad R52 1846AQG and 1847W62 are fixed
in latest BIOS. See http://www.thinkwiki.org/wiki/List_of_DMI_IDs#R_series

Best regards,
Stephan

PS: Please CC me as I'm not subscribed to the list. Thanks!

[-- Attachment #2: hdaps-for-2.6.18-git15.patch --]
[-- Type: text/x-patch, Size: 829 bytes --]

--- linux-2.6.18-git15/drivers/hwmon/hdaps.c.orig	2006-10-01 13:49:03.000000000 +0200
+++ linux-2.6.18-git15/drivers/hwmon/hdaps.c	2006-10-01 13:50:12.000000000 +0200
@@ -525,12 +525,12 @@
 	/* Note that HDAPS_DMI_MATCH_NORMAL("ThinkPad T42") would match
 	  "ThinkPad T42p", so the order of the entries matters */
 	struct dmi_system_id hdaps_whitelist[] = {
-		HDAPS_DMI_MATCH_NORMAL("ThinkPad H"),
 		HDAPS_DMI_MATCH_INVERT("ThinkPad R50p"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad R50"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad R51"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad R52"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad H"),	 /* R52 (1846AQG) */
+		HDAPS_DMI_MATCH_NORMAL("ThinkPad ."),	 /* R52 (1847W62) */
 		HDAPS_DMI_MATCH_INVERT("ThinkPad T41p"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad T41"),
 		HDAPS_DMI_MATCH_INVERT("ThinkPad T42p"),

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-01 12:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-01 12:02 [PATCH] hdaps: remove duplicate whitelist entry and add ThinkPad R52 (1847W62) Stephan Berberig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox