Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Screenrotation and ambient is notworking for HP Pro x2 612 G2 Tablet(L5H60EA) #163

Closed
fanningert opened this issue Apr 21, 2017 · 1 comment

Comments

@fanningert
Copy link

fanningert commented Apr 21, 2017

Used version: 2.2
OS: Archlinux

Output monitor-sensor

    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 the output with the command G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy

** (process:22992): DEBUG: Found IIO buffer ALS at /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200041.2.auto/iio:device2
** (process:22992): DEBUG: Found device /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200041.2.auto/iio:device2 of type ambient light sensor at IIO Buffer Light sensor
** (process:22992): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200073.7.auto/trigger0
** (process:22992): DEBUG: Found IIO buffer accelerometer at /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200073.7.auto/iio:device0
** (process:22992): DEBUG: Found device /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200073.7.auto/iio:device0 of type accelerometer at IIO Buffer accelerometer
** (process:22992): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200073.7.auto/trigger0
** (process:22992): DEBUG: Already enabled sensor /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200073.7.auto/iio:device0/scan_elements/in_accel_y_en
** (process:22992): DEBUG: Already enabled sensor /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200073.7.auto/iio:device0/scan_elements/in_accel_x_en
** (process:22992): DEBUG: Already enabled sensor /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200073.7.auto/iio:device0/scan_elements/in_accel_z_en
** (process:22992): DEBUG: Got type for in_accel_y: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:22992): DEBUG: Got type for in_accel_x: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:22992): DEBUG: Got type for in_accel_z: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:22992): DEBUG: Built channel array for in_accel_x: index: 0, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:22992): DEBUG: Built channel array for in_accel_y: index: 1, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:22992): DEBUG: Built channel array for in_accel_z: index: 2, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:22992): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200041.2.auto/trigger2
** (process:22992): DEBUG: Already enabled sensor /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200041.2.auto/iio:device2/scan_elements/in_intensity_both_en
** (process:22992): DEBUG: Got type for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:22992): DEBUG: Built channel array for in_intensity_both: index: 0, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:22992): DEBUG: Handling driver refcounting method 'ClaimLight' for ambient light sensor device
** (process:22992): DEBUG: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device
** (process:22992): DEBUG: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device
** (process:22992): DEBUG: No new data available on 'iio:device2'
** (process:22992): DEBUG: No new data available on 'iio:device0'
** (process:22992): DEBUG: No new data available on 'iio:device2'
** (process:22992): DEBUG: No new data available on 'iio:device0'
** (process:22992): DEBUG: No new data available on 'iio:device2'
** (process:22992): DEBUG: No new data available on 'iio:device0'
** (process:22992): DEBUG: No new data available on 'iio:device2'
@fanningert
Copy link
Author

fanningert commented May 25, 2017

iio-sesnor-proxy is working from kernel version 4.11 on Archlinux

# monitor-sensor
    Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: normal)
=== Has ambient light sensor (value: 460.111022, unit: lux)
    Light changed: 473.333022 (lux)
    Light changed: 460.111022 (lux)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant