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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!
--- 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"),

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux