Hi Stanislaw, I had considerable difficulty getting the module compiled and installed. I had ignored your first patch, and only applied the second patch (that you said compiles), but it turns out to be missing the variable declarations portion of the first patch. After taking that portion of the first patch, I managed to get the module to compile and installed. After one week of testing, I'm not able to cause the USB protocol error (-71) to happen, except by disconnecting the device from the USB bus. So I'm not able to fully ascertain if your patch really solved the issue or not. Sorry... At least I can say that it doesn't break anything! I will try to continue testing, and report the results if I can manage to get the error to surface again. Cheers, Randy On Thu, Aug 16, 2018 at 5:02 AM, Stanislaw Gruszka <sgruszka@xxxxxxxxxx> wrote: > On Thu, Aug 16, 2018 at 12:31:07PM +0200, Stanislaw Gruszka wrote: >> I prepared a patch that count EPROTO errors and if it's bigger >> than 10 mark device as gone. It should not make a problem >> when we will get one time random error. I'm attaching it, >> please test. > > Forgot to compile the patch, here is one that compiles. > > Cheers > Stanislaw