GNOME Bugzilla – Bug 733507
orientation plugin fixes
Last modified: 2014-07-23 10:34:10 UTC
Those are fixes necessary to make it work on the MS Surface tablets.
Created attachment 281316 [details] [review] orientation: Unown the D-Bus name on Stop Instead of when finalizing the plugin, so that stop and starting the plugin again works as expected.
Created attachment 281317 [details] [review] orientation: Fix plugin on MS Surface devices When plugging in the type/touch cover on a Microsoft Surface, the IIO sensor is unplugged, and plugged in again with a different sysfs path. As the accelerometer comes and goes, we need to handle this in the orientation plugin, and not bail out if we can't find the accelerometer on startup, and handle devices coming and going.
Review of attachment 281316 [details] [review]: ok
Review of attachment 281317 [details] [review]: Can't test but looks good.
I have tested both patches that Bastien has posted and they work as expected on my Surface Pro 2. Thank You