{"action":"created","issue":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/73","repository_url":"https://api.github.com/repos/hadess/iio-sensor-proxy","labels_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/73/comments","events_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/73/events","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/73","id":142948011,"number":73,"title":"Fails to get status from Accelerometer","user":{"login":"pksadiq","id":1289514,"avatar_url":"https://avatars.githubusercontent.com/u/1289514?v=3","gravatar_id":"","url":"https://api.github.com/users/pksadiq","html_url":"https://github.com/pksadiq","followers_url":"https://api.github.com/users/pksadiq/followers","following_url":"https://api.github.com/users/pksadiq/following{/other_user}","gists_url":"https://api.github.com/users/pksadiq/gists{/gist_id}","starred_url":"https://api.github.com/users/pksadiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pksadiq/subscriptions","organizations_url":"https://api.github.com/users/pksadiq/orgs","repos_url":"https://api.github.com/users/pksadiq/repos","events_url":"https://api.github.com/users/pksadiq/events{/privacy}","received_events_url":"https://api.github.com/users/pksadiq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T12:32:39Z","updated_at":"2016-04-19T14:31:55Z","closed_at":null,"body":"iio-sensor-proxy detects an accelerometer on my Laptop, though I think its the one on my Hard disk.\r\nThe data read by the iio-sensor-proxy is shown as 'undefined'. It shall be nice to support such accelerometers.\r\n\r\nOutput of 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 = false;\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\nAttaching the output of \"udevadm info --export-db\"\r\n[udevadm-info.txt](https://github.com/hadess/iio-sensor-proxy/files/185956/udevadm-info.txt)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/comments/211947150","html_url":"https://github.com/hadess/iio-sensor-proxy/issues/73#issuecomment-211947150","issue_url":"https://api.github.com/repos/hadess/iio-sensor-proxy/issues/73","id":211947150,"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":"2016-04-19T14:31:55Z","updated_at":"2016-04-19T14:31:55Z","body":"Actually, we don't want to support those accelerometers. People get confused by the icons in gnome-shell that are more directly associated to tablets or convertibles."}}