Re: O_ASYNC not working on /dev/input/event* ?

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

 



> On Wed, Feb 03, 2010 at 09:56:00AM +0100, Pavel Machek wrote:
> > HI!
> > 
> > I'm trying to use O_ASYNC on /dev/input/event* (getting SIGIO when key
> > is pressed), but so far no luck. Is it possible that O_ASYNC is not
> > implemented there?
> 
> You should be getting SIGIO when driver sends EV_SYN/SYN_REPORT...

Thanks, it works now. Signal setup needs to be before fcntl(). 

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