Ihor Dutchak
Ihor Dutchak
> But seems some devices are not declaring `Write Without Response` Would be great to figure out if it is possible to check its support over WinAPI before trying to...
is #464 of any relevance to the issue described here?
> I suggest we go all the way up, until to the root to find a recognizable compatible_id, and stop after we found one. This does sounds like a good...
I guess it was only a matter of time when that magic number would backfire at us. On the other hand it's been years and no one complained, until now....
> Easiest workaround is to use libhidapi-hidraw instead of libhidapi-libusb . I'd say - a perfect one.
For a historical reference: HIDRAW has this timeout hard-coded as well: https://github.com/torvalds/linux/blob/69b41ac87e4a664de78a395ff97166f0b2943210/drivers/hid/usbhid/hid-core.c#L931 And it is set to [5](https://github.com/torvalds/linux/blob/69b41ac87e4a664de78a395ff97166f0b2943210/include/linux/usb.h#L1877) seconds.
Totally agree. But that does not exclude having a potential fix for libusb backend.
I agree all of those are valid points. Knowing the codebase, I must say that to implement (early) filtering for each criteria will be challenging, e.g.: it is impossible to...
> a broken string is stored in the output buffer Is this causing un undefined behavior (like reading uninitialized memory) or just is it more a security consern (getting data...
No worries. I'll override that check when it is time to merge. I always give a few days for community to have a chance to review the PR even after...