From: Hans de Goede Date: Sat, 22 May 2021 14:22:36 +0000 (+0200) Subject: hwdb: Add accel orientation quirk for the Lenovo Yoga 300-11IBR 2-in-1 X-Git-Tag: v249-rc1~170^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f769f9d095d6fee148e11b012241a3f9db3d0079;p=thirdparty%2Fsystemd.git hwdb: Add accel orientation quirk for the Lenovo Yoga 300-11IBR 2-in-1 Add a quirk for the accelerometer orientation and location for the 2 accelerometers inside the Lenovo Yoga 300-11IBR 2-in-1. --- diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb index d757555ce62..11f331d89a9 100644 --- a/hwdb.d/60-sensor.hwdb +++ b/hwdb.d/60-sensor.hwdb @@ -537,6 +537,16 @@ sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XE:* sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80U1:* ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 +# Yoga 300-11IBR, display sensor +sensor:modalias:acpi:DUAL250E*:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:* + ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 + ACCEL_LOCATION=display + +# Yoga 300-11IBR, base sensor +sensor:modalias:i2c:bmc150_accel:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:* + ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, -1 + ACCEL_LOCATION=base + ######################################### # LINX #########################################