[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ANN: apple motion sensor reverse engineered



Le vendredi 26 août 2005 à 12:32 +0200, Johannes Berg a écrit :

> > This version does not implement an input device but makes the x/y/z
> > values available through /sys attributes (/sys/devices/ams/{x,y,z}).
> > I'm not sure the input device is really useful.
> 
> It's a cool hack ;)

For sure. :)

> > Also missing from the code is the action to take when an interrupt is
> > detected (currently it only prints a message). Should it park the hard
> > drive heads like OSX does (and if yes, how to do that ?) ? Or should the
> > action be configurable ? (something like telling the driver what
> > userspace program to launch when the freefall/shock is detected. But I
> > fear that in the freefall case it will take too long for the program to
> > execute and the shock will happen before the drive heads were safely
> > parked).
> 
> This is recently discussed on LKML regarding the hdaps driver

Indeed, thanks.

Stelian.
-- 
Stelian Pop <stelian@popies.net>



Reply to: