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

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

 



On Thu, Feb 04, 2010 at 08:02:53AM +0100, Pavel Machek wrote:
> > 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(). 
> 

Cool. Thanks for letting me know.

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