Closed natedawg92 closed 5 years ago
The first thing to try would be a newer kernel. The sensor drivers keep breaking.
I did try upgrading the kernel to 4.16.13 but then couldn't boot, honestly not too clued up on OS level software., I will try again maybe with a different version and lots more research.
@hadess Tried all Kernels between 4.15.0 and 4.16.13 none worked for auto rotation. I could try downgrading but as i said previously I don't know too much so will look at what that may affect before doing anything.
This was fixed in commit 5828b05b0c63271ce0e3892b4a832bc0a3a6e65d, coming in 2.5.
Setup
DEBUG
Notes
As suggested on previous issues, running
watch -n 0.1 cat '/sys/bus/iio/devices/iio:device'*/*raw*
enables the sensor to work as expected and changes the orientation as the screen is rotated.Before watch command
During watch command
After Watch Command
--Edit-- Looking through other issues, there is quite a few mentions of the sensor working after a suspend/wake power cycle. I have not found this to be the case. In act after a suspend/wake power cycle even sing the watch command fails to change the screen orientation as the device is rotated.
If this is a duplicate of an existing issue please close, just wasn't too sure if this was an exact duplicate. if you require any further information let me know and ill get it to you ASAP.