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