http://bugzilla.opensuse.org/show_bug.cgi?id=954588
http://bugzilla.opensuse.org/show_bug.cgi?id=954588#c6
--- Comment #6 from Atri Bhattacharya ---
Just in case this might be useful, using the tool
G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy
running as root (frm https://github.com/hadess/iio-sensor-proxy ), when using
the kernel 4.2.4 I see output like:
----------------------------------------------------------
** (process:17505): DEBUG: Found als at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.8.auto/iio:device2
** (process:17505): DEBUG: Found device
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.8.auto/iio:device2
of type ambient light sensor at IIO Buffer Light sensor
** (process:17505): DEBUG: Found accel_3d at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.1.auto/iio:device0
** (process:17505): DEBUG: Found device
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.1.auto/iio:device0
of type accelerometer at IIO Buffer accelerometer
** (process:17505): DEBUG: Found magn_3d at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.3.auto/iio:device1
** (process:17505): DEBUG: Found device
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.3.auto/iio:device1
of type compass at IIO Buffer Compass
** (process:17505): DEBUG: Found associated trigger at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.1.auto/trigger0
** (process:17505): DEBUG: Got type for in_accel_x: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Got type for in_accel_y: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Got type for in_accel_z: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Built channel array for in_accel_x: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Built channel array for in_accel_y: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Built channel array for in_accel_z: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Found associated trigger at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.8.auto/trigger2
** (process:17505): DEBUG: Got type for in_intensity_both: is signed: 1, bytes:
4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:17505): DEBUG: Built channel array for in_intensity_both: is
signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:17505): DEBUG: Found associated trigger at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.3.auto/trigger1
** (process:17505): DEBUG: Got type for in_magn_x: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Got type for in_magn_y: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Got type for in_magn_z: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Got type for in_rot_from_north_magnetic_tilt_comp:
is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Built channel array for in_magn_x: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Built channel array for in_magn_y: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Built channel array for in_magn_z: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Built channel array for
in_rot_from_north_magnetic_tilt_comp: is signed: 1, bytes: 4, bits_used: 16,
shift: 0, mask: 0x65535, be: 0
** (process:17505): DEBUG: Handling driver refcounting method 'ClaimLight' for
ambient light sensor device
** (process:17505): DEBUG: Handling driver refcounting method
'ClaimAccelerometer' for accelerometer device
** (process:17505): DEBUG: No new data available
** (process:17505): DEBUG: Read from IIO: 8, -964, -308
** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3
** (process:17505): DEBUG: Emitted orientation changed: from undefined to
normal
** (process:17505): DEBUG: No new data available
** (process:17505): DEBUG: Read from IIO: 3, -963, -308
** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3
** (process:17505): DEBUG: No new data available
** (process:17505): DEBUG: Read from IIO: 5, -963, -321
** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3
** (process:17505): DEBUG: No new data available
----------------------------------------------------------
while using 4.3.0 I see, instead,
----------------------------------------------------------
** (process:2088): DEBUG: Found als at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.8.auto/iio:device0
** (process:2088): DEBUG: Found device
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.8.auto/iio:device0
of type ambient light sensor at IIO Buffer Light sensor
** (process:2088): DEBUG: Found accel_3d at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.1.auto/iio:device1
** (process:2088): DEBUG: Found device
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.1.auto/iio:device1
of type accelerometer at IIO Buffer accelerometer
** (process:2088): DEBUG: Found magn_3d at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.3.auto/iio:device5
** (process:2088): DEBUG: Found device
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.3.auto/iio:device5
of type compass at IIO Buffer Compass
** (process:2088): DEBUG: Found associated trigger at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.1.auto/trigger1
** (process:2088): DEBUG: Got type for in_accel_x: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Got type for in_accel_y: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Got type for in_accel_z: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Built channel array for in_accel_x: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Built channel array for in_accel_y: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Built channel array for in_accel_z: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Found associated trigger at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.8.auto/trigger0
** (process:2088): DEBUG: Got type for in_intensity_both: is signed: 1, bytes:
4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:2088): DEBUG: Built channel array for in_intensity_both: is signed:
1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:2088): DEBUG: Found associated trigger at
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.3.auto/trigger5
** (process:2088): DEBUG: Got type for in_magn_x: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Got type for in_magn_y: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Got type for in_magn_z: is signed: 1, bytes: 4,
bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Got type for in_rot_from_north_magnetic_tilt_comp: is
signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Built channel array for in_magn_x: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Built channel array for in_magn_y: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Built channel array for in_magn_z: is signed: 1,
bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Built channel array for
in_rot_from_north_magnetic_tilt_comp: is signed: 1, bytes: 4, bits_used: 16,
shift: 0, mask: 0x65535, be: 0
** (process:2088): DEBUG: Handling driver refcounting method 'ClaimLight' for
ambient light sensor device
** (process:2088): DEBUG: Handling driver refcounting method
'ClaimAccelerometer' for accelerometer device
** (process:2088): DEBUG: No new data available
** (process:2088): DEBUG: No new data available
** (process:2088): DEBUG: No new data available
** (process:2088): DEBUG: No new data available
** (process:2088): DEBUG: No new data available
** (process:2088): DEBUG: No new data available
** (process:2088): DEBUG: No new data available
** (process:2088): DEBUG: No new data available
** (process:2088): DEBUG: No new data available
---------------------------------------------------------
and so on.
--
You are receiving this mail because:
You are on the CC list for the bug.