Re:Server room with seismic isolation floor in Japan earthqu...
by i336_ on Wednesday May 31, 2017 @09:40AM
(#14452369)
And thinkpads.
I used it to add X11 autorotation to an X61 tablet. No spin animation, but it was a cool one-day hack nonetheless.
The fun part was that the orientation analyses was done from a shell script, and actually worked 100% of the time (unlike so many phones)! \o/
The insane part was that DRM/KMS on Linux is 1000% crazy and I had to patch the kernel to stop poking the backlight on every. rotation. event, grr. (I had to do it in the kernel - I basically killed DPMS - because X11 libdrm is utterly incomprehensible.)
Re:Server room with seismic isolation floor in Japan earthqu...
by giobox on Wednesday May 31, 2017 @12:43PM
(#14453902)
These were fun, but if i remember rightly, Apple have largely phased the Sudden Motion Sensor out on all their laptop models that come SSD only, which is increasingly almost all of them. There were some ridiculous examples of using it to sort mail into folders in mail.app as well, by tilting the MacBook left and right.
[1] https://en.wikipedia.org/wiki/Sudden_Motion_Sensor