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

Re: ANN: apple motion sensor reverse engineered

On Fri, 2005-08-26 at 12:16 +0200, Stelian Pop wrote:

> An initial working implementation (_with_ interrupts) is available at:
> 	http://www.popies.net/ams/


> 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 ;)

> 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.


Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: