diff options
author | 16mc1r <16mc1r@users.noreply.github.com> | 2025-01-27 14:01:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 14:01:05 +0100 |
commit | 61c176744e7ec78b0efc40f8eee7f462539f7464 (patch) | |
tree | 4c523c6b28f552aa623cbbc0920b615c7c12386b /hwdb.d/60-sensor.hwdb | |
parent | core/dbus-manager: make output argument of transient_unit_from_message() opti... (diff) | |
download | systemd-61c176744e7ec78b0efc40f8eee7f462539f7464.tar.xz systemd-61c176744e7ec78b0efc40f8eee7f462539f7464.zip |
Adds asus T103HAF rotation matrix to 60-sensor.hwdb (#36177)
Rotation Matrix to enable correct auto-rotation with
[iio-sensor-proxy](https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/)
on an Asus Transformer Mini T103HAF with iio-sensor `HID-SENSOR-200073`.
- Tested on KDE Plasma Mobile (Fedora 41), details see inxi report.
Device Details:
- low powered 2in1 convertible with 10.1" screen size, 4core atom cpu
and 4gb ram. Usefull as x86 based tablet with stylus for annotation and
reading.
- [official asus website for the
device](https://www.asus.com/us/laptops/for-home/everyday-use/asus-transformer-mini-t103/)
#### inxi device report
```sh
System:
Host: ------ Kernel: 6.12.10-200.fc41.x86_64 arch: x86_64 bits: 64
Console: pty pts/3 Distro: Fedora Linux 41 (KDE Plasma Mobile)
Machine:
Type: Detachable System: ASUSTeK product: T103HAF v: 1.0 serial: J1N0CX212087050
Mobo: ASUSTeK model: T103HAF v: 1.0 serial: ---------- UEFI: American Megatrends
v: T103HAF.306 date: 12/05/2017
CPU:
Info: quad core model: Intel Atom x5-Z8350 bits: 64
Info:
Memory: total: 4 GiB
```
### udevadm info output for iio-device
```sh
# iio-device / accelerometer
P: /devices/pci0000:00/0000:00:0a.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:0001.0004/HID-SENSOR-200073.3.auto/iio:device0
M: iio:device0
R: 0
U: iio
T: iio_device
D: c 234:0
N: iio:device0
L: 0
E: DEVPATH=/devices/pci0000:00/0000:00:0a.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:0001.0004/HID-SENSOR-200073.3.auto/iio:device0
E: DEVNAME=/dev/iio:device0
E: DEVTYPE=iio_device
E: MAJOR=234
E: MINOR=0
E: SUBSYSTEM=iio
E: USEC_INITIALIZED=18119681
E: ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, -1
E: IIO_SENSOR_PROXY_TYPE=iio-poll-accel iio-buffer-accel
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:
```
### Full `udevadm info --export-db`
- as requested in
[60-sensor.hwdb](https://github.com/systemd/systemd/blob/ba0266b376d7cc5205d8a4a3d999aec13c24fe5d/hwdb.d/60-sensor.hwdb#L35)
-
[udevadm-info_103HAF.txt](https://github.com/user-attachments/files/18550448/udevadm-info_103HAF.txt)
Diffstat (limited to '')
-rw-r--r-- | hwdb.d/60-sensor.hwdb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb index 8d6a670900..26c292a4d7 100644 --- a/hwdb.d/60-sensor.hwdb +++ b/hwdb.d/60-sensor.hwdb @@ -156,6 +156,10 @@ sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnT100TAS:* sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:pnT200TA:* ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1 +# Asus Transformer Mini T103HAF +sensor:modalias:platform:HID-SENSOR-200073*:dmi:*svn*ASUSTeK*:pnT103HAF:* + ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, -1 + sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:*pnTP201SA:* sensor:modalias:acpi:INVN6500*:dmi:*svnASUSTeK*:pn*E205SA:* ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 |