I was just wondering if this is possible, and possibly any hints as to where to look.
Under window$, my manufacturer (Toshiba) provides a driver that detects when my laptop is jarred or is falling, and stops the hard drive temporarily. Would this be possible to pull off under Ubuntu Would I look somewhere under the /proc tree to try and find said acceleration readings? Somewhere else? Possibly load some module?