Contributed by mk/reverse on from the finally-laptop-tossing-can-be-in-the-olympics dept.
Jonathan Gray committed support for the Active Protection System accelerometer found in recent IBM laptops. He adds that there is a list of models that have it and an IBM whitepaper about it. If you want to see it in action, there is a video demonstrating a laptop suspending the harddrive while falling to the floor.
NOTE: Currently the driver does not attempt to suspend the laptop drive so don't start tossing around your laptop and complain that it broke.
This driver adds some sensors to the
hw.sensors sysctl(3) hierarchy. Some of these can be used with sensorsd(8) to do actions e.g. when the lid is opened or closed or when the keyboard is being used.
This work is based on information coming from a reverse engineering of the Windows driver by Mark Smith and Anurag Sharma. For Mac OS X, a tool for reading values off the Apple equivalent called Sudden Motion Sensor exists.
(Comments are closed)