iio-sensor-proxy seems to at least properly detect accelerometer and ambient light sensors, but is unable to provide sensible values for them. (For example: ambient light always reports 0 Lux). Manually reading the raw sensor files in sysfs report proper values.
My System:
OpenSUSE Tumbleweed
Linux 5.1.7-1-default
iio-sensor-proxy 2.6-1.3
KDE auto-rotate already worked once with this notebook, so this could be a regression.
monitor-sensors output:
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: undefined)
=== Has ambient light sensor (value: 0.000000, unit: lux)
Here is the log of iio-sensor-proxy when run with debug-messages:
** (process:428): DEBUG: 15:19:40.418: Found IIO buffer ALS at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2
** (process:428): DEBUG: 15:19:40.418: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2 of type ambient light sensor at IIO Buffer Light sensor
** (process:428): DEBUG: 15:19:40.421: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/trigger4
** (process:428): DEBUG: 15:19:40.421: Found IIO buffer accelerometer at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4
** (process:428): DEBUG: 15:19:40.421: No autodetected location, falling back to display location
** (process:428): DEBUG: 15:19:40.421: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4 of type accelerometer at IIO Buffer accelerometer
** (process:428): DEBUG: 15:19:40.421: Found IIO buffer compass at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3
** (process:428): DEBUG: 15:19:40.421: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3 of type compass at IIO Buffer Compass
** (process:428): DEBUG: 15:19:40.423: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/trigger4
** (process:428): DEBUG: 15:19:40.424: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/scan_elements/in_accel_x_en
** (process:428): DEBUG: 15:19:40.424: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/scan_elements/in_accel_z_en
** (process:428): DEBUG: 15:19:40.424: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/scan_elements/in_timestamp_en
** (process:428): DEBUG: 15:19:40.424: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/scan_elements/in_accel_y_en
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_x_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_accel_x_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_x_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_accel_x_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Got type for in_accel_x: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_z_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_accel_z_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_z_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_accel_z_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Got type for in_accel_z: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_timestamp_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_timestamp_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_timestamp_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_timestamp_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Got type for in_timestamp: is signed: 1, bytes: 8, bits_used: 64, shift: 0, mask: 0x18446744073709551615, be: 0
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_y_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_accel_y_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Trying to read 'in_accel_y_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.424: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4/in_accel_y_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.425: Trying to read 'in_accel_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200073.2.auto/iio:device4'
** (process:428): DEBUG: 15:19:40.425: Got type for in_accel_y: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.425: Built channel array for in_accel_x: index: 0, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.425: Built channel array for in_accel_y: index: 1, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.425: Built channel array for in_accel_z: index: 2, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.425: Built channel array for in_timestamp: index: 3, is signed: 1, bytes: 8, bits_used: 64, shift: 0, mask: 0x18446744073709551615, be: 0
** (process:428): DEBUG: 15:19:40.425: Failed to auto-detect mount matrix, falling back to identity
** (process:428): DEBUG: 15:19:40.425: No autodetected location, falling back to display location
** (process:428): DEBUG: 15:19:40.426: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/trigger1
** (process:428): DEBUG: 15:19:40.427: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2/scan_elements/in_intensity_both_en
** (process:428): DEBUG: 15:19:40.427: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2/scan_elements/in_illuminance_en
** (process:428): DEBUG: 15:19:40.427: Trying to read 'in_intensity_both_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2'
** (process:428): DEBUG: 15:19:40.427: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2/in_intensity_both_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.427: Trying to read 'in_intensity_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2'
** (process:428): DEBUG: 15:19:40.427: Trying to read 'in_intensity_both_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2'
** (process:428): DEBUG: 15:19:40.427: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2/in_intensity_both_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.427: Trying to read 'in_intensity_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2'
** (process:428): DEBUG: 15:19:40.427: Got type for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.427: Trying to read 'in_illuminance_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2'
** (process:428): DEBUG: 15:19:40.427: Trying to read 'in_illuminance_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200041.7.auto/iio:device2'
** (process:428): DEBUG: 15:19:40.427: Got type for in_illuminance: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.427: Built channel array for in_intensity_both: index: 0, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.427: Built channel array for in_illuminance: index: 1, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.430: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/trigger3
** (process:428): DEBUG: 15:19:40.431: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/scan_elements/in_magn_z_en
** (process:428): DEBUG: 15:19:40.431: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/scan_elements/in_magn_y_en
** (process:428): DEBUG: 15:19:40.431: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/scan_elements/in_magn_x_en
** (process:428): DEBUG: 15:19:40.431: Already enabled sensor /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/scan_elements/in_rot_from_north_magnetic_tilt_comp_en
** (process:428): DEBUG: 15:19:40.431: Trying to read 'in_magn_z_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.431: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/in_magn_z_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.431: Trying to read 'in_magn_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.431: Trying to read 'in_magn_z_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.431: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/in_magn_z_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.431: Trying to read 'in_magn_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.431: Got type for in_magn_z: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_magn_y_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/in_magn_y_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_magn_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_magn_y_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/in_magn_y_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_magn_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Got type for in_magn_y: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_magn_x_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/in_magn_x_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_magn_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_magn_x_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/in_magn_x_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_magn_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Got type for in_magn_x: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_rot_from_north_magnetic_tilt_comp_scale' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/in_rot_from_north_magnetic_tilt_comp_scale: No such file or directory
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_rot_scale' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_rot_from_north_magnetic_tilt_comp_offset' (name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Failed to read float from /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3/in_rot_from_north_magnetic_tilt_comp_offset: No such file or directory
** (process:428): DEBUG: 15:19:40.432: Trying to read 'in_rot_offset' (generic name) from dir '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/0003:0483:91D1.0001/HID-SENSOR-200083.4.auto/iio:device3'
** (process:428): DEBUG: 15:19:40.432: Got type for in_rot_from_north_magnetic_tilt_comp: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.432: Built channel array for in_magn_x: index: 0, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.432: Built channel array for in_magn_y: index: 1, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.432: Built channel array for in_magn_z: index: 2, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:428): DEBUG: 15:19:40.432: Built channel array for in_rot_from_north_magnetic_tilt_comp: index: 3, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
iio-sensor-proxy seems to at least properly detect accelerometer and ambient light sensors, but is unable to provide sensible values for them. (For example: ambient light always reports 0 Lux). Manually reading the raw sensor files in sysfs report proper values.
My System:
KDE auto-rotate already worked once with this notebook, so this could be a regression.
monitor-sensors output:
Here is the log of
iio-sensor-proxy
when run with debug-messages:Here is the sysfs structure: