On Fri, Jun 29, 2018 at 09:05:56AM +0200, Remco wrote: > > > If you don't find any better solution, I'd suggest using a device ID > > > check rather than adding a quirk. Because such quirk cannot be generic. > > > In that case you have an off-by-one, but another device might have a > > > different problem. > > > > That was in the case we'd encounter other devices where the descriptor > > is bogus and has the same issue, but i agree this is unlikely. > > > > More likely for Logitech USB webcams I'm afraid. > My dad's Logitech C500 showed the same issue several years back. > (I'll try to find some time to borrow the device and test your patch) > There's also a report that suggests a C200 may be affected as well. > (https://marc.info/?l=openbsd-misc&m=127952275021290&w=2)
Aaah, very interesting data point. Thanks for the pointer.. maybe a 'generic fix' would be to ignore size checks for all logitech webcams, or to print a warning but not error out in this case. Is there some kind of 'usbdevs -v/lsusb -v' database somewhere ? Landry
