On Tue, 28 Nov 2017 16:31:48 +0000, Vincent Pelletier
<[email protected]> wrote:
> [ 81.326172] dwc3_send_gadget_ep_cmd -> -110
I increased "timeout" to 1000 and added this line:
printk(
"dwc3_send_gadget_ep_cmd(cmd=%i, params={%i, %i, %i}) iterated %i times",
cmd,
params->param0, params->param1, params->param2,
1000 - timeout
);
Most lines show 1 or 2 (re)tries only, some 0, and one command sent
after unplugging the cable is way higher:
[ 1088.799777] dwc3_send_gadget_ep_cmd(cmd=331016, params={0, 0, 0}) iterated
605 times
[ 1222.024986] dwc3_send_gadget_ep_cmd(cmd=331016, params={0, 0, 0}) iterated
580 times
[ 1317.590452] dwc3_send_gadget_ep_cmd(cmd=331016, params={0, 0, 0}) iterated
598 times
[ 1453.218314] dwc3_send_gadget_ep_cmd(cmd=331016, params={0, 0, 0}) iterated
594 times
So it seems 500 is a bit too short for just this one command.
Hopes this help.
Regards,
--
Vincent Pelletier
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html