Re: [Hdaps-devel] Generic interface for accelerometers (AMS, HDAPS, ...)

From: Dmitry Torokhov
Date: Tue Jul 04 2006 - 23:13:09 EST


On Tuesday 04 July 2006 06:26, Shem Multinymous wrote:
>
> BTW, can the driver tell when nothing is accessing its input device,
> and avoid polling in that case?
>

Yes (->open is called when there is a client opening one of the input
interfaces), but I don't think that "oh shit I dropped my laptop" events
belong to input layer.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/