9f366b943d
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. systemd-commit fea267f8c71d0edffee5ccbb806755fb626c5e29 Author: Alper Nebi Yasak <alpernebiyasak@gmail.com> Date: Thu Aug 18 18:24:05 2022 +0300 |
||
---|---|---|
.github/workflows | ||
hwdb | ||
man | ||
rule_generator | ||
rules | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
autogen.sh | ||
BUILD | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
LEGACY | ||
Makefile.am | ||
NOTES | ||
README.md |
This git repo is a fork of git://anongit.freedesktop.org/systemd/systemd with the aim of isolating udev from any particular flavor of system initialization. In this case, the isolation is from systemd.
This is a project started by Gentoo developers and testing was initially being done mostly on OpenRC. We welcome contribution from others using a variety of system initializations to ensure eudev remains system initialization and distribution neutral. On 2021-08-20 Gentoo decided to abandon eudev and a new project was established on 2021-09-14 by Alpine, Devuan and Gentoo contributors (alphabetical order).
Homepage: https://github.com/eudev-project/eudev
Tarballs of releases: https://github.com/eudev-project/eudev/releases
Old releases (archive): http://dev.gentoo.org/~blueness/eudev/
The eudev community gathers on Libera.Chat:
ircs://irc.libera.chat:6697/#eudev
https://web.libera.chat/#eudev
Active team members (alphabetical order by last name):
Arsen Asenović (Arsen) <arsen@aarsen.me>
Luca Barbato (lu_zero) <lu_zero@gentoo.org>
Anthony G. Basile (blueness) <blueness@gentoo.org>
Boian Bonev (bb|hcb) <boian@bonev.com>
Ariadne Conill (Ariadne) <ariadne@dereferenced.org>
Emeritus team members (alphabetical order by last name):
Francisco Izquierdo (klondike) <klondike@gentoo.org>
Ian Stakenvicius (axs) <axs@gentoo.org>
Matthew Thode (prometheanfire) <prometheanfire@gentoo.org>
Tony Vroon (chainsaw) <tony@linx.net>
Richard Yao (ryao) <ryao@gentoo.org>