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> Good catch. I believe we need the same for hiddev too, could you please look into that as well, given you're fixing things in this area already? Thanks, -- Jiri Kosina SUSE Labs