A serial port function, use the usb Gadget on imx6 simulation imx6 are connected to the PC (win10) as a control panel, in the PC, imx6 is a serial port equipment, through the/dev/in imx6 ttyGS0 communicate with PC
1, if after imx6 start, and then insert the usb line, win10 can identify the serial port (ELMO GMAS),
(2), if inserted before imx6 start, in the process of imx6 startup, win10 according to insert the invalid usb devices, starts, win10 couldn't find a serial port equipment
Because imx6 will restart the remote, the usb is inserted, such use is in trouble, how do I solve?
My idea is in imx6 starts, to trigger an enumeration, that is feasible?
Also please the great god teach