Auto screen rotation - accelerometer not working in Linux

Chuwi freebook i3 1215u
After trying multiple modifications to the sensor configuration on my Chuwi FreeBook, I finally found that simply deleting the system-wide hwdb file fixed the issue.

If you’re experiencing incorrect accelerometer i not recommend this but you can, try the following steps:


sudo rm /usr/lib/udev/hwdb.d/60-sensor.hwdb
sudo systemd-hwdb update
sudo udevadm control --reload-rules && sudo udevadm trigger

This resolved the issue for me. It seems that some previous configuration changes might have caused the incorrect rotation in the first place.

If you’re also using a Chuwi FreeBook i3 12150u with rotation isue, try this and report back with your results! I’ll report again if I reinstall the OS to confirm the fix.

1 Like