Commit graph

127 commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek 4f10b80786 Rename udev's hwdb/ to hwdb.d/
As in the parent commit, this makes the name consistent with the
rest of the source tree and the actuall installation path.
2019-10-10 00:53:09 +01:00
Hans de Goede 889ee82032 hwdb: Update Primebook C11B sensor entry to also work with older BIOS versions
Older Primebook C11B BIOS versions use "Primebook C11B" as product name
instead of "PRIMEBOOK C11B", update the Primebook C11B 60-sensor.hwdb entries
to match on both spellings.
2019-10-09 14:44:13 +09:00
Daniel Stuart 820a2e996b hwdb: Add Chromebook accelerometer orientation quirk
Chromebooks have their accelerometer set to a negative orientation.
2019-09-24 18:45:44 -03:00
matthiasroos 358e50fa7f hwdb: add Medion Akoya E2292 (#13498)
Fixes #13480.
2019-09-16 21:10:15 +02:00
Bastien Nocera d7cf4984b0 hwdb: Also mark lis3lv02d sensors in "HP" laptops as being in the base
We matched "*Hewlett-Packard*" laptops but not "*HP*" laptops, which
caused a regression for the HP Elite Book 850 G3.

Fixes: 4247938ee1

Closes: #13543
2019-09-12 23:52:53 +02:00
Hans de Goede 4247938ee1 hwdb: Mark lis3lv02d sensors in HP laptops as being in the base
The lis3lv02d sensor used in many HP laptops is (almost) always intented
primarily for freefall detection / HDD protection and (almost) always
is located in the base of a classic clamshell laptop

Before we had the ACCEL_LOCATION udev property the issues this caused
with screen-rotation were fixed by applying a mount-matrix which
translates base-coordinates to display-coordinates assuming the display
is at an angle of exact 90 degrees to the base (swap Y and Z axis).

The comment calls this translate "from "can play neverball" to
"matches Windows 8 orientation"" but what it really does is translate
base accel-axis to display accel-axis. Thus allows rotating the screen
if you put the laptop on its side, but no-one normally does that with
a 2Kg clamshell laptop.

The obviously correct thing to do on classic clamshell laptops (not 2-in-1s)
is to disable automatic screen rotation. This commit marks the accelerometer
in these laptops as being part of the base, which will make iio-sensor-proxy
disable automatic screen rotation.

This commit also removes the orientation-matrix since the unmodified coordinates
coming from the sensor are oriented correctly for a sensor in the base.

Also see the "Bad accelerometer values cause incorrect screen rotation"
systemd-devel mail-thread from September 2019.
2019-09-05 17:04:36 +02:00
Jan-Michael Brummer c1087fdd0d hwdb: Add HP Elitebook 850 G3 laptop accelerometer location quirk 2019-09-03 07:41:43 +09:00
Hans de Goede fa657ed068 hwdb: Add HP laptop accelerometer location quirk
Add another HP laptop to the list of HP laptops with their
accelerometer in the base.

While at it also fixup the indentation of a neighboring quirk.
2019-08-28 15:32:40 +02:00
Zbigniew Jędrzejewski-Szmek fef40ceb5d
Merge pull request #13402 from jwrdegoede/accel-quirks
hwdb: Accel quirks for 2 devices
2019-08-27 08:52:49 +02:00
VD-Lycos c0b62cd6a7 Add accel mount matrix for Medion Akoya E2293
Add ACCEL_MOUNT_MATRIX for Medion Akoya E2293 MD61130
2019-08-26 11:17:05 +03:00
Hans de Goede 38c865648d hwdb: Add accel. mount matrix and location for the Trekstor Primebook C11B
The Trekstor Primebook C11B 2-in-1 has 2 accelerometers. Add mount-matrix
and location info for both to 60-sensor.hwdb.
2019-08-25 20:36:54 +02:00
Hans de Goede 7b04c7af10 hwdb: Add accel location quirk for the GPD win
The acceleromater in the GPD win is in the base, mark it as such so that
iio-sensor-proxy does not try to use it for display rotation.

Note as mentioned in the added comment the DMI strings are unfortunately
somewhat generic, but the combination of using all DMI strings including
the BIOS build data + the sensor modalias should be unique enough.
2019-08-25 20:36:54 +02:00
Hans de Goede 1262ecb983 hwdb: add sensor location for HP ProBook4535s
https://bugzilla.redhat.com/show_bug.cgi?id=1717712
2019-08-22 11:00:35 +02:00
Albrecht Lohofener 4b1b33f4a1 Add Chuwi Hi10 to 60-sensor.hwdb (#13351) 2019-08-22 09:12:31 +02:00
EtherGraf 8c21fba875 hwdb: acceleration mount matrix for a Medion Akoya E3221 (#13310) 2019-08-14 18:15:50 +02:00
RussianNeuroMancer 0c9256703e Add accel mount matrix for Irbis TW90 2019-07-08 11:53:34 +02:00
Connor Reeder 01979136f5 Added ACCEL_MOUNT_MATRIX for Asus Q551LN in hwdb/60-sensor.hwdb 2019-07-04 00:08:35 +02:00
Lennart Poettering 3987598ca0
Merge pull request #12449 from ljmf00/hwdb-accel-location-patch
hwdb: Add support for Teclast F6 Pro base sensor
2019-05-29 12:23:13 +02:00
Jack cf36eb9cfe hwdb: Add support for Linx 12V64 (#12665)
This fixes the accelerometer for the Linx 12V64.
Note that even though the configuration for both models is the same, the 12V64 and 12X64 are different models.
2019-05-26 05:42:00 +09:00
Luís Ferreira 12dfe0b83a hwdb: add base sensor and ACCEL_LOCATION property for Teclast F6 Pro device sensors 2019-05-19 19:23:39 +01:00
pEJipE deff4b87aa hwdb: update the Chuwi HI13 pattern (#12469)
Correct the searching pattern for Chuwi Hi13. Follow-up for
c70b51a7b9.
2019-05-06 15:55:22 +02:00
mpe85 448cd0f3ee hwdb: add Medion Akoya E3222 MD62450 to 60-sensor.hwdb (#12485) 2019-05-06 15:18:26 +02:00
Lennart Poettering 8b6cd93044
Merge pull request #12322 from ljmf00/hwdb-accel-location-patch
Add support for ACCEL_LOCATION udev property to deal with 2 sensors
2019-04-28 17:43:54 +02:00
Luís Ferreira cdb6b552c2 hwdb: add ACCEL_LOCATION to the allowed properties
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2019-04-27 22:12:07 +01:00
David Art ec8181d1c5 hwdb: Add Medion Akoya E3216 MD60900 (#12323)
Fixes: #12312
2019-04-16 10:23:28 +02:00
Luís Ferreira df09b49af6 hwdb: Add accelerometer orientation quirk for the Teclast F6 Pro 2019-04-05 16:52:12 +09:00
Lennart Poettering 0f6e58f637 hwdb: fix trailing newline issue 2019-03-18 16:06:36 +01:00
AndreyYashkin ef57c69b78 Update 60-sensor.hwdb for Acer Acer One 10 S1002
Tested on GNOME iio-sensor-proxy. With this config touchscreen auto-rotation works fine.
2019-03-18 10:39:31 +01:00
Van Laser 3ac35cbc2b Add accelerometer orientation quirk for the MYRIA MY8307 2-in-1. 2019-03-14 15:55:34 +01:00
Hans de Goede 7e85b073c7 hwdb: Add accelerometer orientation quirk for the Medion Akoya E2212T
Add accelerometer orientation quirk for the Medion Akoya E2212T 2-in-1.
2019-02-21 16:40:51 +01:00
Benjamin Dahlhoff d3b8e06dee hwdb: rotation for Trekstor Surf Tab Twin 11.6 aka VolksTablet (#11771) 2019-02-20 19:05:25 +01:00
Lance 8e3c4454bf hwdb: Fix rotation for Nuvision Solo 10 Draw (#11686)
Model number TM101W610L

This fixes issue #11683

Also add proper label for other Nuvision tablet.
2019-02-12 15:21:45 +01:00
Stephan Gerhold aa4b6da71b hwdb: Add accelerometer mount matrix for ASUS MeMO Pad 7 (ME176C) 2019-02-11 18:01:00 +01:00
zsergeant77 c11cd775db Update 60-sensor.hwdb
Added mount matrix for Digma CITI E203 hybrid
2019-01-26 12:02:45 +01:00
marvelousblack f047466041 Add Teclast X80 PLUS (H5C5) accel mount matrix 2019-01-08 15:09:08 +01:00
howl 9387953c9a hwdb: Add Lenovo IdeaPad D330 accel mount matrix
I have the fhd screen with pentium without lte model. Don't know if other models could differ in the accelerometer.
2019-01-03 14:58:37 +01:00
Hans de Goede 78a562ee4b hwdb: Add accelerometer orientation quirk for the PoV TAB-P1006W-232-3G
Add accelerometer orientation quirk for the Point of View TAB-P1006W-232-3G
tablet.
2018-12-20 18:46:56 +01:00
lbernstone cb84bb25d5 hwdb: add accelerometer orientation quirk for the Teclast F5 (#11005) 2018-12-17 09:33:35 +01:00
Bruce Zhang 0b1093018b add device hwdb for IdeaPad Miix510-12ISK
add ACCEL_MOUNT_MATRIX for IdeaPad Miix510-12ISK

multiple match expressions for Miix510 series

extend comments for miix510 series

Signed-off-by: Bruce Zhang <zttt183525594@gmail.com>

add device hwdb for IdeaPad Miix510-12ISK

Signed-off-by: Bruce Zhang <zttt183525594@gmail.com>
2018-12-14 09:16:36 +01:00
Hans de Goede 84e8548313 hwdb: Add accelerometer orientation quirk for the PoV P1005W-232 tablet
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2018-12-08 22:11:39 +01:00
Hans de Goede 76efe240b8 hwdb: Add accelerometer orientation quirk for the Prowise PT301 tablet 2018-12-08 22:11:39 +01:00
Marian Cepok e9c026c2bf hwdb: Add ACCEL_MOUNT_MATRIX for Trekstor T13B tablet 2018-11-25 13:43:18 +00:00
Ruben Suarez Alvarez 080a0178f8 hwdb: Add accelerometer orientation quirk for the Chuwi CoreBook tablet 2018-11-14 09:56:50 +01:00
jambonmcyeah d08819ed74 hwdb: Add Onda V820w accelerometer transformation matrix
Added accelerometer transformation matrix for the Onda V820w Tablet
2018-11-14 09:54:38 +01:00
imayoda 844df810b8 hwdb: IdeaPad Miix 310 with another bios version (#10661)
another bios version for same model with portrait screen.
2018-11-07 12:59:24 +09:00
Bastien Nocera 0d1a2be93e hwdb: Apply the same quirk to all the lis3lv02d devices
HP laptops and desktop containing the lis3lv02d device (as supported by
the drivers/platform/x86/hp_accel.c driver) are supposed to output their
values according to their "standard" orientation, one that
corresponds to "can play neverball".

For all those devices, we need to convert that "neverball" orientation
to a "Windows 8" orientation. We will not accept quirks for HP machines
that use the lis3lv02d device, they should go in the hp_accel.c driver
instead.

Closes: #5160
2018-10-30 11:02:51 +01:00
TJ d1a7b5dd07 hwdb: Add Asus T300CHI accelerator matrix 2018-10-29 13:52:53 +01:00
Hans de Goede 390611babb hwdb: Add accelerometer orientation quirk for the Onda V80 Plus tablet
Add accelerometer orientation quirk for the Onda V80 Plus tablet.
2018-10-12 16:55:59 +02:00
Hans de Goede a2b9ed9c4b hwdb: Add accelerometer orientation quirk for the Acer One 10 aka S1003
Add accelerometer orientation quirk for the Acer One 10 2-in-1 also known
as the Acer S1003.
2018-10-12 16:55:59 +02:00
javitoom 124b3686f9 Remove trailing space
Remove trailing space
2018-09-19 09:44:21 +02:00