Skip to contentSkip to conversation

hdaps: remove duplicate whitelist entry and add ThinkPad R52 (1847W62)

PATCH New Stephan Berberig 1 participant 1 message Oct 1, 2006 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hdaps: remove duplicate whitelist entry and add ThinkPad R52 (1847W62)

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!

drivers/hwmon/hdaps.c renamed from drivers/hwmon/hdaps.c.orig +1 -1
@@ -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"),