Messages in this thread | | | From | Oliver Neukum <> | Subject | Re: usbhid control queue full, due to stuck control request | Date | Fri, 12 Feb 2010 08:35:36 +0100 |
| |
Am Freitag, 12. Februar 2010 01:49:10 schrieb David Fries: > Oliver Neukum, this is based on your patch, do you agree with the > changes?
I do agree.
> One possible problem with this fix is it drops the stalled URB > transfer. That might pose a problem for one shot messages, possibly > hid_ctrl and hid_irq_out could resubmit the same urb when -ECONNRESET > is received, assuming the message content wasn't the reason it > timedout in the first place.
That is a big assumption. Realistically, if the hardware needs over 5s to answer the hardware is buggy. We are working around that. It is best to get not too fancy, unless testing shows that we need to.
Regards Oliver
| |