Re: [PATCH] hidraw: Return EPOLLOUT from hidraw_poll

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

 



On Tue, 9 Jul 2019, Fabian Henneke wrote:

> Always return EPOLLOUT from hidraw_poll when a device is connected.
> This is safe since writes are always possible (but will always block).
> 
> hidraw does not support non-blocking writes and instead always calls
> blocking backend functions on write requests. Hence, so far, a call to
> poll never returned EPOLLOUT, which confuses tools like socat.
> 
> Signed-off-by: Fabian Henneke <fabian.henneke@xxxxxxxxx>
> In-reply-to: <CA+hv5qkyis03CgYTWeWX9cr0my-d2Oe+aZo+mjmWRXgjrGqyrw@xxxxxxxxxxxxxx>

Applied (together with the hiddev one) to for-5.4/hidraw-hiddev-epoll 
branch. Thanks,

-- 
Jiri Kosina
SUSE Labs





[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