Unable to determine AccelerometerOrientation #85
Comments
The output from running iio-proxy-sensor directly via GDB:
|
Like I said, this was working about a day ago, nothing changed (as far as I can tell) on my system. I even tried the only other kernel version available on my system and it had the same problem. Any suggestions on what/where to check to figure out what could have changed or broke? |
After a little more digging I see that people suggested that things will work after a suspend, sure enough I tried suspending and now it's able to determine orientation. This seems to suggest a kernel bug. Also note that it's now correctly determining the light level as well.
|
@bgaff I'm still seeing this issue (Ubuntu 16.04). S/R seems to make no difference (although I believe it used to...). Are you still seeing successful rotation with current kernels? |
@bgaff FYI, I just built and booted into 4.7-rc5+ (0b295dd5b8eb755bc7b57220d93705994090e954 is my current tip HEAD) and screen rotation worked fine, regardless of suspend & resume. |
@nacc Hm, I just installed the 4.7-rc7 kernel from the Fedora rawhide repo and it still doesn't work without suspend & resume. Using a Surface Pro 2 btw which is tested according to README. What might be interesting for @hadess though is that after S&R and while running iio-server-proxy with debug output, as soon as I clip on my type cover, iio-server-proxy seems to lose all the sensors and I have to S&R again to regain functionality. Maybe attaching devices mixes up the iio devices or something. |
Found a workaround for now: I simply added Type=idle to the service file to make it start later in the boot process. It never worked before directly after boot, now it does. |
Yah on 4.7-rc5 it still doesn't properly work, can you either provide more details? |
Worked-around in master, see #116 for details. |
Thanks! |
For some reason screen rotation stopped working suddenly for me, if I query the devices via:
watch -n 0.1 cat /sys/bus/iio/devices/iio\:device*/*raw* /dev/iio*
I will see the devices change with my rotation. I tried rebuilding iio-sensor-proxy from master and still it's unable to determine the orientation. Hardware is a Dell Inspiron 13 7000.The text was updated successfully, but these errors were encountered: