Skip to content

Problem with hwdb accel matrix for One-netbook OneMix 2s #20550

@ghost

Description

Original pull request
#20068 (comment)

systemd version the issue has been seen with
249.3-1

Used distribution
Arch

Linux kernel version used (uname -a)
Linux antin-umpc 5.13.12-arch1-1 #1 SMP PREEMPT Wed, 18 Aug 2021 20:49:03 +0000 x86_64 GNU/Linux

CPU architecture issue was seen on
x86

Expected behaviour you didn't see
Rotating screen normally

Unexpected behaviour you saw
Screen is rotated 90 degree clockwise

Steps to reproduce the problem
Example rebooting machine.

Additional program output to the terminal or log subsystem illustrating the issue

     Loaded: loaded (/usr/lib/systemd/system/iio-sensor-proxy.service; static)
     Active: active (running) since Thu 2021-08-26 17:30:05 EEST; 1min 2s ago
   Main PID: 316 (iio-sensor-prox)
      Tasks: 3 (limit: 9414)
     Memory: 1.2M
        CPU: 89ms
     CGroup: /system.slice/iio-sensor-proxy.service
             └─316 /usr/lib/iio-sensor-proxy

elo 26 17:30:05 antin-umpc systemd[1]: Starting IIO Sensor Proxy service...
elo 26 17:30:05 antin-umpc systemd[1]: Started IIO Sensor Proxy service.
elo 26 17:30:05 antin-umpc iio-sensor-prox[316]: Could not find trigger name associated with /sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0

Bad "Fix" to /usr/lib/udev/hwdb.d/60-sensor.hwdb

sensor:modalias:acpi:BOSC0200*:dmi:*:svnDefaultstring:pnDefaultstring:*
 ACCEL_MOUNT_MATRIX=0, -1 0; 1, 0, 0; 0, 0, 1

Source: https://orumin.blogspot.com/2018/12/one-netbook-one-mix-2s.html

Error message when using that Bad "Fix"

● iio-sensor-proxy.service - IIO Sensor Proxy service
     Loaded: loaded (/usr/lib/systemd/system/iio-sensor-proxy.service; static)
     Active: active (running) since Thu 2021-08-26 17:05:38 EEST; 20min ago
   Main PID: 1959 (iio-sensor-prox)
      Tasks: 3 (limit: 9414)
     Memory: 1.3M
        CPU: 33ms
     CGroup: /system.slice/iio-sensor-proxy.service
             └─1959 /usr/lib/iio-sensor-proxy

elo 26 17:05:38 antin-umpc systemd[1]: Starting IIO Sensor Proxy service...
elo 26 17:05:38 antin-umpc systemd[1]: Started IIO Sensor Proxy service.
elo 26 17:05:38 antin-umpc iio-sensor-prox[1959]: Could not find trigger name associated with /sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0
elo 26 17:05:38 antin-umpc iio-sensor-prox[1959]: Failed to parse '0, -1 0; 1, 0, 0; 0, 0, 1' as a mount matrix
elo 26 17:05:38 antin-umpc iio-sensor-prox[1959]: Failed to parse ACCEL_MOUNT_MATRIX ('0, -1 0; 1, 0, 0; 0, 0, 1') from udev

I want and try to be helpful even when I don't fully understand this. Maybe some BIOS version number changed or somebody added some new accel matrix what is now in conflict or something? Maybe I did something wrong when I created accel matrix in the first place. Ask and I can post logs and other things what you need.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions