{"action":"opened","issue":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/51","labels_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/51/comments","events_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/51/events","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/51","id":112053570,"number":51,"title":"Yoga 2 Pro gnome-settings-daemon stops working after a while","user":{"login":"vladimiroltean","id":11811246,"avatar_url":"https://avatars.githubusercontent.com/u/11811246?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimiroltean","html_url":"https://github.com/vladimiroltean","followers_url":"https://api.github.com/users/vladimiroltean/followers","following_url":"https://api.github.com/users/vladimiroltean/following{/other_user}","gists_url":"https://api.github.com/users/vladimiroltean/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimiroltean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimiroltean/subscriptions","organizations_url":"https://api.github.com/users/vladimiroltean/orgs","repos_url":"https://api.github.com/users/vladimiroltean/repos","events_url":"https://api.github.com/users/vladimiroltean/events{/privacy}","received_events_url":"https://api.github.com/users/vladimiroltean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-19T00:40:00Z","updated_at":"2015-10-19T00:40:00Z","closed_at":null,"body":"Hi, I didn't know of a better place to post this.\r\nI am using Arch Linux with GNOME 3.18, and this proxy to provide screen auto rotation.\r\nAfter a while however (can't pinpoint what's causing it), auto rotation stops working. I have checked the output of monitor-sensor and it is still running, giving messages such as:\r\n> ** Message: Accelerometer orientation changed: left-up\r\n\r\nEither reloading GNOME shell (Alt-F2 + r) or running \"killall gnome-settings-daemon\" help (temporarily) solve the issue, but I'd much rather prefer it not happening.\r\nThe output of \"G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy\" is:\r\n> ** (process:7135): DEBUG: Found als at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.9.auto/iio:device5\r\n> ** (process:7135): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.9.auto/iio:device5 of type ambient light sensor at IIO Buffer Light sensor\r\n> ** (process:7135): DEBUG: Found accel_3d at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.2.auto/iio:device3\r\n> ** (process:7135): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.2.auto/iio:device3 of type accelerometer at IIO Buffer accelerometer\r\n> ** (process:7135): DEBUG: Found magn_3d at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.4.auto/iio:device2\r\n> ** (process:7135): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.4.auto/iio:device2 of type compass at IIO Buffer Compass\r\n> ** (process:7135): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.2.auto/trigger3\r\n> ** (process:7135): WARNING **: Failed to write current_trigger file Permission denied\r\n> ** (process:7135): WARNING **: Could not open for write '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200073.2.auto/iio:device3/buffer/enable'\r\n> ** (process:7135): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.9.auto/trigger5\r\n> ** (process:7135): WARNING **: Failed to write current_trigger file Permission denied\r\n> ** (process:7135): WARNING **: Could not open for write '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200041.9.auto/iio:device5/buffer/enable'\r\n> ** (process:7135): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.4.auto/trigger2\r\n> ** (process:7135): WARNING **: Failed to write current_trigger file Permission denied\r\n> ** (process:7135): WARNING **: Could not open for write '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/0003:2047:0855.0001/HID-SENSOR-200083.4.auto/iio:device2/buffer/enable'\r\n"}}