Enabling a generic serial endpoint on USB OTG? /etc/legato/usbmode , /dev/ttyGS0


#1

What’s the trick to enabling a serial endpoint on /dev/ttyGS0?

I found some documentation here.

The first method suggested throws an error:
microcom-E /dev/ttyAT
AT!USBCOMP?
ERROR
AT!USBCOMP=?
ERROR

The second method works fine on a Linux host, but the Windows driver is unable to start the composite USB device after reboot:
cp /etc/legato/usbmode.ex /etc/legato/usbmode
echo “serial” >> /etc/legato/usbmode
reboot