{"action":"created","issue":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/117","repository_url":"https://api.github.com/repos/hadess/iio-sensor-proxy","labels_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/117/comments","events_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/117/events","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/117","id":191093980,"number":117,"title":"Lenovo Ideapad Yoga 910","user":{"login":"henrythor","id":3781670,"avatar_url":"https://avatars.githubusercontent.com/u/3781670?v=3","gravatar_id":"","url":"https://api.github.com/users/henrythor","html_url":"https://github.com/henrythor","followers_url":"https://api.github.com/users/henrythor/followers","following_url":"https://api.github.com/users/henrythor/following{/other_user}","gists_url":"https://api.github.com/users/henrythor/gists{/gist_id}","starred_url":"https://api.github.com/users/henrythor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrythor/subscriptions","organizations_url":"https://api.github.com/users/henrythor/orgs","repos_url":"https://api.github.com/users/henrythor/repos","events_url":"https://api.github.com/users/henrythor/events{/privacy}","received_events_url":"https://api.github.com/users/henrythor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-22T18:56:42Z","updated_at":"2016-11-23T21:32:52Z","closed_at":null,"body":"I'm having difficulties getting sensors working on my Yoga 910.\r\n\r\nHere's journalctl output with debugging enabled:\r\n```\r\nNov 22 18:43:03 tempest systemd[1]: Starting IIO Sensor Proxy service...\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Found als at /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200041.3.auto/iio:device1\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Found device /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200041.3.auto/iio:device1 of type ambient light sensor at IIO Buffer Light sensor\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Found accel_3d at /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200073.2.auto/iio:device0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Found device /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200073.2.auto/iio:device0 of type accelerometer at IIO Buffer accelerometer\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Found associated trigger at /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200073.2.auto/trigger0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Enabled sensor /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200073.2.auto/iio:device0/scan_elements/in_accel_y_en\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Enabled sensor /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200073.2.auto/iio:device0/scan_elements/in_accel_x_en\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Enabled sensor /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200073.2.auto/iio:device0/scan_elements/in_accel_z_en\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Got type for in_accel_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Got type for in_accel_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Got type for in_accel_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Built channel array for in_accel_x: index: 0, is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Built channel array for in_accel_y: index: 1, is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Built channel array for in_accel_z: index: 2, is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Found associated trigger at /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200041.3.auto/trigger1\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Enabled sensor /sys/devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-8/i2c-ITE8186:00/0018:048D:8186.0003/HID-SENSOR-200041.3.auto/iio:device1/scan_elements/in_intensity_both_en\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Got type for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\nNov 22 18:43:06 tempest iio-sensor-prox[295]: Built channel array for in_intensity_both: index: 0, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0\r\nNov 22 18:43:06 tempest systemd[1]: Started IIO Sensor Proxy service.\r\nNov 22 18:43:15 tempest iio-sensor-prox[295]: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device\r\nNov 22 18:43:16 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:17 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:17 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:18 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:19 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:20 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:20 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:21 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:22 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:22 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:23 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:23 tempest iio-sensor-prox[295]: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device\r\nNov 22 18:43:23 tempest iio-sensor-prox[295]: Handling driver refcounting method 'ClaimLight' for ambient light sensor device\r\nNov 22 18:43:24 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:24 tempest iio-sensor-prox[295]: No new data available on 'iio:device1'\r\nNov 22 18:43:24 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:25 tempest iio-sensor-prox[295]: No new data available on 'iio:device1'\r\nNov 22 18:43:25 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:25 tempest iio-sensor-prox[295]: No new data available on 'iio:device1'\r\nNov 22 18:43:26 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:26 tempest iio-sensor-prox[295]: No new data available on 'iio:device1'\r\nNov 22 18:43:27 tempest iio-sensor-prox[295]: No new data available on 'iio:device0'\r\nNov 22 18:43:27 tempest iio-sensor-prox[295]: No new data available on 'iio:device1'\r\n```\r\n\r\nHere's the gdbus introspect:\r\n```\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\n```\r\n\r\nAnd here's udevadm's output http://pastebin.com/Q9QA0A7G"},"comment":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/comments/262635092","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/117#issuecomment-262635092","issue_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/117","id":262635092,"user":{"login":"henrythor","id":3781670,"avatar_url":"https://avatars.githubusercontent.com/u/3781670?v=3","gravatar_id":"","url":"https://api.github.com/users/henrythor","html_url":"https://github.com/henrythor","followers_url":"https://api.github.com/users/henrythor/followers","following_url":"https://api.github.com/users/henrythor/following{/other_user}","gists_url":"https://api.github.com/users/henrythor/gists{/gist_id}","starred_url":"https://api.github.com/users/henrythor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrythor/subscriptions","organizations_url":"https://api.github.com/users/henrythor/orgs","repos_url":"https://api.github.com/users/henrythor/repos","events_url":"https://api.github.com/users/henrythor/events{/privacy}","received_events_url":"https://api.github.com/users/henrythor/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T21:32:52Z","updated_at":"2016-11-23T21:32:52Z","body":"No, that doesn't appear to have any effect. You mean suspend-to-memory, not disk, yes?"}}
{"actor":{"display_login":"henrythor"}}