Hi, everyone.
I would like to use serial gadget (g_serial) with our product based on L5.15.32_2.0.0.
To prevent communication data from being dropped between the USB function and the USB host, it is necessary to detect that the USB function is attached to the USB host before starting communication.
For example, if USB Function starts transmitting as soon as /dev/ttyGS0 is created, USB Host may miss data.
How to know timing of serial gadget attaches to USB host?
Are there any logs, messages or interfaces for this solution?