{"action":"created","issue":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/45","labels_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/45/comments","events_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/45/events","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/45","id":109672441,"number":45,"title":"no data on Lenovo Yoga 2 13","user":{"login":"rickysarraf","id":65480,"avatar_url":"https://avatars.githubusercontent.com/u/65480?v=3","gravatar_id":"","url":"https://api.github.com/users/rickysarraf","html_url":"https://github.com/rickysarraf","followers_url":"https://api.github.com/users/rickysarraf/followers","following_url":"https://api.github.com/users/rickysarraf/following{/other_user}","gists_url":"https://api.github.com/users/rickysarraf/gists{/gist_id}","starred_url":"https://api.github.com/users/rickysarraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickysarraf/subscriptions","organizations_url":"https://api.github.com/users/rickysarraf/orgs","repos_url":"https://api.github.com/users/rickysarraf/repos","events_url":"https://api.github.com/users/rickysarraf/events{/privacy}","received_events_url":"https://api.github.com/users/rickysarraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-04T10:01:59Z","updated_at":"2015-10-04T11:13:55Z","closed_at":null,"body":"Now with GNOME 3.18, I hoped to see some action but unfortunate :-(\r\nTurns out there might be issues with this make/model\r\n\r\n\r\n```\r\nrrs@learner:/usr/share/doc/iio-sensor-proxy$ sudo G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy\r\n** (process:22187): DEBUG: Found als at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200041.9.auto/iio:device5\r\n** (process:22187): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200041.9.auto/iio:device5 of type ambient light sensor at IIO Buffer Light sensor\r\n** (process:22187): DEBUG: Found accel_3d at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200073.4.auto/iio:device0\r\n** (process:22187): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200073.4.auto/iio:device0 of type accelerometer at IIO Buffer accelerometer\r\n** (process:22187): DEBUG: Found magn_3d at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200083.6.auto/iio:device2\r\n** (process:22187): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200083.6.auto/iio:device2 of type compass at IIO Buffer Compass\r\n** (process:22187): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200073.4.auto/trigger0\r\n** (process:22187): DEBUG: Got type for in_accel_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:22187): DEBUG: Got type for in_accel_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:22187): DEBUG: Got type for in_accel_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\n** (process:22187): 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:22187): 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:22187): 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:22187): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200041.9.auto/trigger5\r\n** (process:22187): DEBUG: Got type for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:22187): 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:22187): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0003/HID-SENSOR-200083.6.auto/trigger2\r\n** (process:22187): DEBUG: Got type for in_magn_x: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:22187): DEBUG: Got type for in_magn_y: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:22187): DEBUG: Got type for in_magn_z: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:22187): 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:22187): DEBUG: Built channel array for in_magn_x: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:22187): DEBUG: Built channel array for in_magn_y: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:22187): DEBUG: Built channel array for in_magn_z: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\n** (process:22187): 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:22187): DEBUG: Handling driver refcounting method 'ClaimLight' for ambient light sensor device\r\n** (process:22187): DEBUG: Handling driver refcounting method 'ClaimLight' for ambient light sensor device\r\n** (process:22187): DEBUG: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device\r\n** (process:22187): DEBUG: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n** (process:22187): DEBUG: No new data available\r\n```\r\n\r\nAnd:\r\n\r\n```\r\nrrs@learner:/usr/share/doc/iio-sensor-proxy$ gdbus introspect --system --dest net.hadess.SensorProxy --object-path /net/hadess/SensorProxy\r\nnode /net/hadess/SensorProxy {\r\n  interface org.freedesktop.DBus.Properties {\r\n    methods:\r\n      Get(in  s interface_name,\r\n          in  s property_name,\r\n          out v value);\r\n      GetAll(in  s interface_name,\r\n             out a{sv} properties);\r\n      Set(in  s interface_name,\r\n          in  s property_name,\r\n          in  v value);\r\n    signals:\r\n      PropertiesChanged(s interface_name,\r\n                        a{sv} changed_properties,\r\n                        as invalidated_properties);\r\n    properties:\r\n  };\r\n  interface org.freedesktop.DBus.Introspectable {\r\n    methods:\r\n      Introspect(out s xml_data);\r\n    signals:\r\n    properties:\r\n  };\r\n  interface org.freedesktop.DBus.Peer {\r\n    methods:\r\n      Ping();\r\n      GetMachineId(out s machine_uuid);\r\n    signals:\r\n    properties:\r\n  };\r\n  interface net.hadess.SensorProxy {\r\n    methods:\r\n      ClaimAccelerometer();\r\n      ReleaseAccelerometer();\r\n      ClaimLight();\r\n      ReleaseLight();\r\n    signals:\r\n    properties:\r\n      readonly b HasAccelerometer = true;\r\n      readonly s AccelerometerOrientation = 'undefined';\r\n      readonly b HasAmbientLight = true;\r\n      readonly s LightLevelUnit = 'lux';\r\n      readonly d LightLevel = 0.0;\r\n  };\r\n  node Compass {\r\n  };\r\n};\r\n2015-10-04 / 15:23:33 ♒♒♒  ☺    \r\n```\r\n\r\nIs it expected ? The Orientation is marked as 'undefined' ???\r\nAnd monitor-sensor does not seem to be giving any output. I remember it did give meaningful output when I was initiailly packaging it."},"comment":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/comments/145337094","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/45#issuecomment-145337094","issue_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/45","id":145337094,"user":{"login":"rickysarraf","id":65480,"avatar_url":"https://avatars.githubusercontent.com/u/65480?v=3","gravatar_id":"","url":"https://api.github.com/users/rickysarraf","html_url":"https://github.com/rickysarraf","followers_url":"https://api.github.com/users/rickysarraf/followers","following_url":"https://api.github.com/users/rickysarraf/following{/other_user}","gists_url":"https://api.github.com/users/rickysarraf/gists{/gist_id}","starred_url":"https://api.github.com/users/rickysarraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickysarraf/subscriptions","organizations_url":"https://api.github.com/users/rickysarraf/orgs","repos_url":"https://api.github.com/users/rickysarraf/repos","events_url":"https://api.github.com/users/rickysarraf/events{/privacy}","received_events_url":"https://api.github.com/users/rickysarraf/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T11:13:55Z","updated_at":"2015-10-04T11:13:55Z","body":"Actually, dbus does see the event. But does not act on it, like changing the orientation of the desktop shell. I'm currently on GNOME Shell 3.17.92. Was this committed to 3.18 final ?\r\n\r\n```\r\nrrs@learner:/etc/dbus-1/system.d$ dbus-monitor \r\nsignal time=1443956881.875758 sender=org.freedesktop.DBus -> destination=:1.62 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired\r\n   string \":1.62\"\r\nsignal time=1443956881.875815 sender=org.freedesktop.DBus -> destination=:1.62 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost\r\n   string \":1.62\"\r\n±signal time=1443956898.073538 sender=:1.4 -> destination=:1.28 serial=448 path=/org/gnome/Shell; interface=org.gnome.Shell; member=AcceleratorActivated\r\n   uint32 107\r\n   array [\r\n      dict entry(\r\n         string \"device-id\"\r\n         variant             uint32 3\r\n      )\r\n      dict entry(\r\n         string \"timestamp\"\r\n         variant             uint32 514795\r\n      )\r\n      dict entry(\r\n         string \"action-mode\"\r\n         variant             uint32 1\r\n      )\r\n   ]\r\nmethod call time=1443956898.074310 sender=:1.28 -> destination=:1.4 serial=280 path=/org/gnome/Shell; interface=org.gnome.Shell; member=ShowOSD\r\n   array [\r\n      dict entry(\r\n         string \"icon\"\r\n         variant             string \"touchpad-disabled-symbolic\"\r\n      )\r\n   ]\r\nmethod return time=1443956898.079024 sender=:1.4 -> destination=:1.28 serial=449 reply_serial=280\r\nsignal time=1443956926.561803 sender=:1.4 -> destination=:1.28 serial=450 path=/org/gnome/Shell; interface=org.gnome.Shell; member=AcceleratorActivated\r\n   uint32 106\r\n   array [\r\n      dict entry(\r\n         string \"device-id\"\r\n         variant             uint32 3\r\n      )\r\n      dict entry(\r\n         string \"timestamp\"\r\n         variant             uint32 543298\r\n      )\r\n      dict entry(\r\n         string \"action-mode\"\r\n         variant             uint32 1\r\n      )\r\n   ]\r\nmethod call time=1443956926.562547 sender=:1.28 -> destination=:1.4 serial=281 path=/org/gnome/Shell; interface=org.gnome.Shell; member=ShowOSD\r\n   array [\r\n      dict entry(\r\n         string \"icon\"\r\n         variant             string \"input-touchpad-symbolic\"\r\n      )\r\n   ]\r\nmethod return time=1443956926.568494 sender=:1.4 -> destination=:1.28 serial=451 reply_serial=281\r\n\r\n```"}}