Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f23e50a authored by Stephan Berberig's avatar Stephan Berberig Committed by Jean Delvare
Browse files

hwmon/hdaps: Update the list of supported devices



Remove the strange DMI for the R52 (1846AQG)
and add a note to update to latest BIOS in the Kconfig
and source code.

Signed-off-by: default avatarStephan Berberig <s.berberig@arcor.de>
Signed-off-by: default avatarRobert Love <rlove@rlove.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 509a5e85
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -527,6 +527,9 @@ config SENSORS_HDAPS
	  This driver also provides an absolute input class device, allowing
	  This driver also provides an absolute input class device, allowing
	  the laptop to act as a pinball machine-esque joystick.
	  the laptop to act as a pinball machine-esque joystick.


	  If your ThinkPad is not recognized by the driver, please update to latest
	  BIOS. This is especially the case for some R52 ThinkPads.

	  Say Y here if you have an applicable laptop and want to experience
	  Say Y here if you have an applicable laptop and want to experience
	  the awesome power of hdaps.
	  the awesome power of hdaps.


+3 −3
Original line number Original line Diff line number Diff line
@@ -511,14 +511,14 @@ static int __init hdaps_dmi_match_invert(struct dmi_system_id *id)
}
}


/* Note that HDAPS_DMI_MATCH_NORMAL("ThinkPad T42") would match
/* Note that HDAPS_DMI_MATCH_NORMAL("ThinkPad T42") would match
  "ThinkPad T42p", so the order of the entries matters */
   "ThinkPad T42p", so the order of the entries matters.
   If your ThinkPad is not recognized, please update to latest
   BIOS. This is especially the case for some R52 ThinkPads. */
static struct dmi_system_id __initdata hdaps_whitelist[] = {
static struct dmi_system_id __initdata hdaps_whitelist[] = {
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad H"),
	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad R50p"),
	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad R50p"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R50"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R50"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R51"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R51"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R52"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R52"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad H"),	   /* R52 (1846AQG) */
	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T41p"),
	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T41p"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T41"),
	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T41"),
	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T42p"),
	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T42p"),