summaryrefslogtreecommitdiffstats
path: root/hwdb.d/60-sensor.hwdb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add hwdb sensor entry for Lenovo IdeaPad Duet 3 10IGL5 (82AT).Darrell Kavanagh2023-02-061-0/+4
|
* hwdb: Add Chuwi Hi10X (N4120 version) iio matrixWaltibaba2023-01-201-0/+4
| | | | | There is a later model version of the Chuwi Hi10X that has significantly changed components compared to the existing hwdb one. Differentiator (on Chuwi forums, in thesofproject, etc.) is the N4120 rather than the N4100 processor. The svn and pn seem to be identical, my Chuwi Hi10X matches with the old model except for the changed KIOX000A* iio sensor. With the added ACCEL_MOUNT_MATRIX, my device works on gnome and has the correct (right-up) output in monitor-sensors.
* hwdb: Add mount matrix for Linx 1020Spindle Security2023-01-111-0/+4
|
* hwdb: Mark Dell platform accel sensor location to baseKai-Chuan Hsieh2023-01-101-0/+1
| | | | | Dell would like to disable screen rotation for the platform eternally. Mark the aceel sensor location base to disable it.
* hwdb: Add Dell models that require ACCEL_LOCATION=baseDirk Su2023-01-051-0/+2
|
* hwdb: remove spurious whitespaceLuca Boccassi2023-01-031-1/+1
| | | | | | Fixes test failures. Follow-up for c3950f0a27fb7d2298a2182f21d645c7017f9c0c and https://github.com/systemd/systemd/pull/25908
* Added Tablet Teclast X98 Air 3G (C5J6)marcel1512023-01-031-0/+4
| | | Latest BIOS of X98 Air 3G has later date, that's why it wasn't recognized. Uses the same Matrix as the X89 (E7ED).
* Update 60-sensor.hwdbGio2023-01-011-2/+2
| | | Updated DBook D10 / Juno Tablet. Before the bvr (bios version) was hard coded to v1.05. This will read all versions
* hwdb: change definition of PROXIMITY_NEAR_LEVEL for sensorsPhilipp Jungkamp2022-12-211-2/+2
| | | | | | | | | | | | | | | | | The [kernel documentation][0] for the in_proximity_nearlevel sysfs attribute on iio proximity devices states: If the value read from the sensor is above or equal to the value in this file an object should typically be considered near. Meaning a 'greater than or equal to' comparison. Make the documentation comment in 60-sensors.hwdb suggest a greater-or-equal rather than a strict greater-than comparison. [0]: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio-proximity Fixes #25793
* hwdb: Fix mount matrix for CSL Panther Tab HD (#25752)mvzlb2022-12-151-1/+1
| | | | Commit a76d7aca sets ACCEL_MOUNT_MATRIX to match the device's casing (landscape) instead of the LCD panel (portrait).
* hwdb: Add mount matrix for CSL Panther Tab HDMVZ Ludwigsburg2022-12-141-0/+7
|
* hwdb: Add additional Dell models that require ACCEL_LOCATION=base (#25724)AndyChi2022-12-131-0/+2
|
* Add mount matrix for VisionBook 12Wr TabLycowolf2022-12-121-0/+3
|
* hwdb: Add accel orientation quirk for the Acer Switch V 10 SW5-017 2-in-1Hans de Goede2022-11-081-0/+3
| | | | | Add a quirk for the accelerometer orientation for the Acer Switch V 10 SW5-017 2-in-1.
* Fix inverted rotation in the Positivo DUO #24769 (#24770)Edson Juliano Drosdeck2022-09-211-0/+9
| | | | | hwdb: Fix inverted rotation in the Positivo DUO Fixes: #24769
* hwdb: Add accel orientation quirk for the Aya Neo AirMaccraft1232022-09-051-0/+4
|
* hwdb: Add Chromebook accel orientation quirks based on sysfs labelAlper Nebi Yasak2022-08-181-2/+8
| | | | | | | | | | | | | | | | | | | | The base-mounted accelerometer on Chromebooks return values same as the display when the lid angle is 180 degrees, instead of when the lid is closed. To match userspace expectations we must further rotate the existing accelerometer mounting matrix by 180 degrees around the X axis: [[-1, 0, 0], [[ 1, 0, 0], [[-1, 0, 0], [ 0, -1, 0], X [ 0, -1, 0], = [ 0, 1, 0], [ 0, 0, -1]] [ 0, 0, -1]] [ 0, 0, 1]] A previous commit lets us distinguish between the two cros-ec-accel devices on these boards by their 'label' sysfs file. Add hwdb entries that make base-mounted accelerometers use this correct matrix, and display-mounted ones use the existing one. Note that the cros-ec-accel drivers use 'label' only since Linux v6.0. The old match strings are not removed to support older kernels, even though they are only correct for the display-mounted sensor.
* udev: hwdb: Match iio sensors based on their labelAlper Nebi Yasak2022-08-181-0/+3
| | | | | | | | | | | | | | | | | | The IIO subsystem exposes a 'label' sysfs file to help userspace better identify its devices [1]. Standardized labels include the sensor type along with its location, including 'accel-base' and 'accel-display'. Most Chrome OS boards have two accelerometers that are indistinguishable except for this label (or a 'location' sysfs file before Linux v6.0), and need different mounting matrix corrections based on their location. Add a udev rule that matches hwdb entries using this label, so we can correct both accelerometers on these devices with hwdb entries. The existing rules and hwdb entries are not modified to keep potential out-of-tree entries working, but new entries in this form will override existing ones. Also add currently standardized labels to parse-hwdb.py. [1] https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio
* hwdb: Apply existing accel orientation quirk to all ChromebooksAlper Nebi Yasak2022-08-121-18/+4
| | | | | | | | | | | | The cros-ec-accel and cros-ec-accel-legacy kernel modules internally correct for the board-specific accelerometer mounting orientations. Their sensor outputs are in a standard reference frame consistent across different boards, so the orientation matrix already added for a number of devices should apply to every device using cros-ec accelerometers. The different matrix for the 'Nocturne' board seems to be an error. Replace the existing hwdb rules for select Chromebooks with generic rules that apply to all Chromebooks.
* Added DERE DBook D10 (#24173)Gio2022-08-031-0/+8
| | | * Added DERE DBook D10
* Add ACCEL_MOUNT_MATRIX for OXP MiniJoaquín Ignacio Aramendía2022-07-311-0/+4
|
* Fix automatic screen rotation for Asus Transformer T100TAMMichal Stanke2022-07-111-0/+1
|
* hwdb: Add Lenovo ThinkPad C13 YogaAkihiko Odaki2022-06-271-0/+4
|
* hwdb: Add accel orientation quirk for the Aya Neo NextMaccraft1232022-06-061-0/+8
|
* hwdb: fix accelerometer mount matrix for Aquarius NS483Nikolai Kostrigin2022-05-161-0/+8
| | | | Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
* hwdb: Add accel orientation for the I15-TGMartin2022-05-151-0/+1
| | | Add accel orientation for the Cube iWork 10 I15-TG
* hwdb: add rammus accelerometer supportlucagoc2022-05-081-0/+4
|
* fix typoYu Watanabe2022-05-021-1/+1
|
* Fix orientation detection for HP Pavilion X2 10-k010nrAlice S2022-05-021-0/+2
|
* Fix orientation detection for Asus Transformer T100TAF, copied T100TA ruletechtino2022-05-011-0/+1
|
* hwdb: Fix rotation for HP Pro Tablet 408 G1Lance2022-04-221-0/+4
|
* hwdb: drop boilerplate about match patterns being unstableZbigniew Jędrzejewski-Szmek2022-04-061-5/+0
| | | | | | | We've had this text since the beginning, but in fact the patterns must be stable in order for people to create local hwdb entries. And we support that and can't change the match patterns without being very careful. So let's just drop the text.
* hwbd: 60-sensor.hwdb: Add Pipo W2ProMatt Walton2022-02-071-0/+4
| | | Add accelerometer matrix for Pipo W2Pro tablet. Y-axis was backwards (normal <--> bottom-up).
* hwdb: Add accel orientation quirk for the GPD Pocket 3Thomas Batten2022-01-201-0/+4
|
* hwdb: Add accel orientation quirk for the Chuwi Hi10 Go tabletJayce Fayne2021-12-151-0/+4
|
* Update 60-sensor.hwdbchlorophyll-zz2021-10-061-1/+0
| | | | | #20287 was wrong. Y Axis was only reversed on Arch Linux because of a problem with iio-sensor-proxy This restores before the patch.
* hwdb: sensors: Fix some modalias matches no longer working with newer kernelsHans de Goede2021-09-291-18/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernels >= 5.8 have added new fields to the dmi/id/modalias file in the middle of the modalias (instead of adding them at the end). Specifically new ":br<value>:" and (optional) ":efr<value>:" fields have been added between the ":bd<value>:" and ":svn<value>:" fields. Note the 5.13.0 and 5.14.0 kernels also added a new ":sku<value>:" field between the ":pvr<value>:" and ":rvn<value>:" fields, this has been fixed in later 5.13.y and 5.14.y releases, by moving the sku field to the end: https://lore.kernel.org/lkml/20210831130508.14511-1-hdegoede@redhat.com/ Unfortunately the same cannot be done for the new br and efr fields since those have been added more then a year ago and hwdb even already has some newer entries relying on the new br field being there (and thus not working with older kernels). Fix the issue with the br and efr fields through the following changes: 1. Replace any matches on ":br<value>" from newer entries with an '*' 2. Replace "bd<value>:svn<value>" matches with: "bd<value>:*svn<value>" inserting an '*' where newer kernels will have the new br + efr fields This makes these matches working with old as well as new kernels. Link: https://github.com/systemd/systemd/issues/20550 Link: https://github.com/systemd/systemd/pull/20562
* hwdb: Add accel orientation quirk for the Cyberbook T116 tabletHans de Goede2021-09-281-0/+8
| | | | | Add a quirk for the accelerometer orientation for the Cyberbook T116 rugged tablet.
* hwdb: Add accel orientation quirk for the Chuwi Hi10 Plus (CWI527)Hans de Goede2021-09-281-1/+5
| | | | | Add a quirk for the accelerometer orientation for the Chuwi Hi10 Plus (CWI527) tablet.
* hwbd: 60-sensor.hwdb: Add Lenovo ThinkPad Yoga 11e 5th Gen (Type: 20LN, ↵Kay Siver Bø2021-09-271-0/+4
| | | | Gemini Lake)
* Add additional Dell models that require ACCEL_LOCATION=baseYao Wei (魏銘廷)2021-09-141-4/+4
| | | | | | | | | | | | This is a related commit to the bug reported in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1938259 This adds additional 4 models that without this param, the screen rotates when the clamshell laptop rotates, which is an unwanted behavior. This commit also merges entries that needs the same param. Signed-off-by: Yao Wei (魏銘廷) <yao.wei@canonical.com>
* Add matrix for the Chuwi SurBook Mini (CWI540)jlempen2021-08-301-0/+4
|
* hwdb: Add sensor rule for Hometech Wi101Wind/owZ2021-08-261-0/+10
| | | | | | | This commit was done to add sensor rule for Hometech Wi101. Note that this rule might be too general and need fixes. I couldn't test this on any other device since this one is the only one I have. Co-authored-by: Simeonlps <Simeonlps@users.noreply.github.com> Signed-off-by: Wind/owZ <windowz414@gnuweeb.org>
* Use SKU to identify Dell clamshell models for accelerometer propertiesYao Wei2021-07-281-2/+2
| | | | | | | As per request from Dell, we need to use sku property of modalias that is patched into linux 5.13 for model identification: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e26f023e01ef26b4138bc1099af309bdc4523d23
* Sensor Y Axis is inverted for TrekStor Surftab W1chlorophyll-zz2021-07-231-0/+1
| | | | | IIO Sensor Y Axis is inverted for TrekStor Surftab W1. When iio-sensor-proxy is running, up is down and down is up. This fixes the inversion.
* hwdb: Add accel orientation quirk for the Chuwi Hi13 (CWI534) with BMA250 sensorHans de Goede2021-07-011-0/+6
| | | | | | | | | | | | | | | Recently the kernel has gotten support for reading the mount-matrix for BMA250 sensors represented by a BOSC0200 ACPI device from the ACPI tables, so that we don't need to add quirks for these. At least that was the theory. The Chuwi Hi13 (CWI534) with BMA250 sensor has the sensor mounted such that it works / needs the normal(ized) matrix, but the ACPI tables actually contain a wrong matrix inverting the X and Y axis. Add a quirk to override /sys/bus/iio/devices/iio:device?/in_mount_matrix with the norm-matrix, since the ACPI derived matrix is actually wrong on these devices (sigh)
* hwdb: add accel matrix for One-netbook OneMix 2slaineantti2021-06-301-0/+5
|
* hwdb: Add accel orientation quirk for the Lenovo Yoga 300-11IBR 2-in-1Hans de Goede2021-05-221-0/+10
| | | | | Add a quirk for the accelerometer orientation and location for the 2 accelerometers inside the Lenovo Yoga 300-11IBR 2-in-1.
* hwdb: Add accel orientation quirk for the KD Kurio Smart C15200 tabletHans de Goede2021-05-221-0/+6
| | | | | Add a quirk to fix the accelerometer orientation on the KD Kurio Smart C15200 tablet.
* hwdb: sensor: D330-IGM use pvr instead cvrhowl2021-05-111-2/+2
| | | | | | | We use pvr match for efifb pitch and drm orientation quirk and in touchpad toggle keymap. Also seems most consistent with the devices here. While at it, correct a typo, 81H3 and 81MD are product names not numbers, my bad. Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>