From b0081def3d0d97927eeee6193df393610ff86184 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 5 Oct 2011 11:42:23 +1100 Subject: [PATCH] hp_accel: Add axis-mapping for HP ProBook / EliteBook Add the corrected axis-mapping for some HP laptops. Signed-off-by: Takashi Iwai Cc: Matthew Garrett Signed-off-by: Andrew Morton --- drivers/platform/x86/hp_accel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c index 074e79e4ad98..64b454855f65 100644 --- a/drivers/platform/x86/hp_accel.c +++ b/drivers/platform/x86/hp_accel.c @@ -229,6 +229,10 @@ static struct dmi_system_id lis3lv02d_dmi_ids[] = { AXIS_DMI_MATCH("HPB522x", "HP ProBook 522", xy_swap), AXIS_DMI_MATCH("HPB532x", "HP ProBook 532", y_inverted), AXIS_DMI_MATCH("Mini510x", "HP Mini 510", xy_rotated_left_usd), + AXIS_DMI_MATCH("HPB63xx", "HP ProBook 63", xy_swap), + AXIS_DMI_MATCH("HPB64xx", "HP ProBook 64", xy_swap), + AXIS_DMI_MATCH("HPB64xx", "HP EliteBook 84", xy_swap), + AXIS_DMI_MATCH("HPB65xx", "HP ProBook 65", x_inverted), { NULL, } /* Laptop models without axis info (yet): * "NC6910" "HP Compaq 6910" -- 2.39.5