Re: Synchronizing evdev readers and drivers?

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

 



On Fri, Dec 03, 2010 at 07:03:12AM -0600, Bill Gatliff wrote:
> On Fri, Dec 3, 2010 at 6:42 AM, Mark Brown

> > The sysfs interface offered by polldev is *mostly* doing the same thing

> True, except that there is still no synchronization of the polling
> events between the driver and application.  For example, if the
> polling interval is once per second then the sample ultimately
> delivered to applications could be almost one second old--- even if
> the application reads from the evdev interface once a second as well.

Surely that's what poll() and whatnot are for?  If userspace has to poll
at all that seems to be a failure in itself.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux