lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161221095553.rbrw7qyulrdsyunl@lenoch>
Date:   Wed, 21 Dec 2016 10:55:53 +0100
From:   Ladislav Michl <ladis@...ux-mips.org>
To:     Eric Piel <eric.piel@...mplin-utc.net>,
        Darren Hart <dvhart@...radead.org>,
        Takashi Iwai <tiwai@...e.de>
Cc:     platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] hp_accel: Add support for HP ZBook 17

HP ZBook 17 laptop needs a non-standard mapping (xy_swap_yz_inverted).

Signed-off-by: Ladislav Michl <ladis@...ux-mips.org>
---
 Test done on patched driver; reading /sys/devices/platform/lis3lv02d/position 
 - laptop is horizontal: (-36,0,1188)
 - the left side is elevated: (522,18,1062)
 - the front side (where the touchpad is) is elevated: (0,-612,990)
 - the laptop is put upside-down: (-36,18,-1188)

 drivers/platform/x86/hp_accel.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c
index 09356684c32f..493d8910a74e 100644
--- a/drivers/platform/x86/hp_accel.c
+++ b/drivers/platform/x86/hp_accel.c
@@ -251,6 +251,7 @@ static const struct dmi_system_id lis3lv02d_dmi_ids[] = {
 	AXIS_DMI_MATCH("HPB64xx", "HP EliteBook 84", xy_swap),
 	AXIS_DMI_MATCH("HPB65xx", "HP ProBook 65", x_inverted),
 	AXIS_DMI_MATCH("HPZBook15", "HP ZBook 15", x_inverted),
+	AXIS_DMI_MATCH("HPZBook17", "HP ZBook 17", xy_swap_yz_inverted),
 	{ NULL, }
 /* Laptop models without axis info (yet):
  * "NC6910" "HP Compaq 6910"

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ