Hi,
I develop a device where a WP76xx cell module is a USB CDC device and a separate processor is the USB host.
There are times when the USB host must disable the USB connection and restart the connection frequently, roughly every 10 seconds or so. When restarting the USB connection every 10 seconds, after a few hours the WP76xx module stops responding to USB requests from the host and the USB enumeration process fails, even after several attempts, until the WP76xx module is restarted.
I wonder if this is due to a bug in the gadget USB driver. I’m currently using firmware R16.1 and I cannot migrate to R17 because it doesn’t support WP7610 modules.
I do build a custom yocto image and so can patch the kernel if needed.
My ideal response to this post would be “ah yes, that issue was resolved in R17 by commit xxxxxx”, which I could then backport to the R16.1 kernel.
Does the above issue ring any bells? If not, is there a way to reset the gadget USB controller, eg unloading the gadget serial driver and reloading it?