{"action":"created","issue":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/55","labels_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/55/comments","events_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/55/events","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/55","id":116101533,"number":55,"title":"Updating to kernel 4.3.0 made iio-sensor-proxy stop working","user":{"login":"badshah400","id":3532467,"avatar_url":"https://avatars.githubusercontent.com/u/3532467?v=3","gravatar_id":"","url":"https://api.github.com/users/badshah400","html_url":"https://github.com/badshah400","followers_url":"https://api.github.com/users/badshah400/followers","following_url":"https://api.github.com/users/badshah400/following{/other_user}","gists_url":"https://api.github.com/users/badshah400/gists{/gist_id}","starred_url":"https://api.github.com/users/badshah400/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badshah400/subscriptions","organizations_url":"https://api.github.com/users/badshah400/orgs","repos_url":"https://api.github.com/users/badshah400/repos","events_url":"https://api.github.com/users/badshah400/events{/privacy}","received_events_url":"https://api.github.com/users/badshah400/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T12:57:29Z","updated_at":"2015-11-10T12:58:29Z","closed_at":null,"body":"I recently updated to kernel 4.3.0. Previously with kernel 4.2.4, iio-sensor-proxy was working great: auto-rotation, auto-brightness, the whole works. However immediately after booting into kernel 4.3.0, everything stopped working. Output of G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy running as root (and below that the output from same command but using Kernel 4.2.4), done after stopping the iio-sensor-proxy service as suggested in the README.md is pasted below. Please let me know if this is a kernel issue and does not belong here.\r\n\r\n**Kernel 4.3.0**\r\n\r\n> ** (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\r\n** (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\r\n** (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\r\n** (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\r\n** (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\r\n** (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\r\n** (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\r\n** (process:2088): DEBUG: Got type for in_accel_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Got type for in_accel_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Got type for in_accel_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Built channel array for in_accel_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Built channel array for in_accel_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Built channel array for in_accel_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (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\r\n** (process:2088): DEBUG: Got type for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:2088): DEBUG: Built channel array for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (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\r\n** (process:2088): DEBUG: Got type for in_magn_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Got type for in_magn_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Got type for in_magn_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (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\r\n** (process:2088): DEBUG: Built channel array for in_magn_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Built channel array for in_magn_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:2088): DEBUG: Built channel array for in_magn_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (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\r\n** (process:2088): DEBUG: Handling driver refcounting method 'ClaimLight' for ambient light sensor device\r\n** (process:2088): DEBUG: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n** (process:2088): DEBUG: No new data available\r\n\r\n\r\n\r\n\r\n**Kernel 4.2.4**\r\n\r\n>** (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\r\n** (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\r\n** (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\r\n** (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\r\n** (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\r\n** (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\r\n** (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\r\n** (process:17505): DEBUG: Got type for in_accel_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Got type for in_accel_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Got type for in_accel_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Built channel array for in_accel_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Built channel array for in_accel_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Built channel array for in_accel_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (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\r\n** (process:17505): DEBUG: Got type for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:17505): DEBUG: Built channel array for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (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\r\n** (process:17505): DEBUG: Got type for in_magn_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Got type for in_magn_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Got type for in_magn_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (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\r\n** (process:17505): DEBUG: Built channel array for in_magn_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Built channel array for in_magn_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:17505): DEBUG: Built channel array for in_magn_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (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\r\n** (process:17505): DEBUG: Handling driver refcounting method 'ClaimLight' for ambient light sensor device\r\n** (process:17505): DEBUG: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 8, -964, -308\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: Emitted orientation changed: from undefined to normal\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 3, -963, -308\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 5, -963, -321\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 4, -964, -318\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 4, -963, -314\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 4, -963, -314\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 7, -962, -318\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 4, -961, -311\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 8, -963, -333\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3\r\n** (process:17505): DEBUG: No new data available\r\n** (process:17505): DEBUG: Read from IIO: 3, -963, -310\r\n** (process:17505): DEBUG: Accel sent by driver (quirk applied): 0, 9, -3"},"comment":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/comments/155413337","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/55#issuecomment-155413337","issue_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/55","id":155413337,"user":{"login":"hadess","id":769861,"avatar_url":"https://avatars.githubusercontent.com/u/769861?v=3","gravatar_id":"","url":"https://api.github.com/users/hadess","html_url":"https://github.com/hadess","followers_url":"https://api.github.com/users/hadess/followers","following_url":"https://api.github.com/users/hadess/following{/other_user}","gists_url":"https://api.github.com/users/hadess/gists{/gist_id}","starred_url":"https://api.github.com/users/hadess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadess/subscriptions","organizations_url":"https://api.github.com/users/hadess/orgs","repos_url":"https://api.github.com/users/hadess/repos","events_url":"https://api.github.com/users/hadess/events{/privacy}","received_events_url":"https://api.github.com/users/hadess/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T12:58:29Z","updated_at":"2015-11-10T12:58:29Z","body":"If using a newer kernel is the only difference, that strikes me as a kernel bug I'm afraid."}}