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

From: Pavel Machek
Date: Tue Jul 04 2006 - 06:55:45 EST


Hi!

> >Just use input infrastructure and be done with that? You can do
> >parking from userspace.
>
> Will moving the hdapsd userspace daemon from sysfs polling to the
> input infrastructure cause a noticable latency increase compared to
> polling sysfs? This functionality is highly time-critical.

Well, for input you should need no polling. input tells you when data
is ready.

> BTW, can the driver tell when nothing is accessing its input device,
> and avoid polling in that case?

Ask vojtech/dmitry, I guess.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/