Installation Manual

GCT LTE Module Software Development Guide
Aquila Confidential
Version V2.2
Page5of25
CDC-ACM drive kernel configuration options, and the VLAN configuration options: (different host platforms
may vary)
CONFIG_USB_ACM= y
CONFIG_USB_USBNET= y
CONFIG_USB_NET_CDCETHER= y
CONFIG_USB_NET_CDC_EEM= y
CONFIG_VLAN_8021Q=y
2.3 Modle USB mode
To read current USB mode configuration:
ucfg get config lan usbeth mode (how to send ucfg command please see )
Supporting USB mode
0 : Default, Enable auto detect mode (RNDIS / EEM / ECM), Disable manual mode
1 : RNDIS (cdc_ether.ko, rndis_host.ko)
2 : EEM (cdc_eem.ko)
3 : ECM (cdc_ether.ko)
To write USB mode to ‘0’, automatic mode.
ucfg set config lan usbeth mode 0
Configured information can be found from terminal log of module:
g_ether gadget: high-speed config #2: RNDIS
g_ether gadget: high-speed config #1: CDC Ethernet (EEM)
g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
Attention: The usb mode is 3 by default,as the most performance test we do are based on the driver CDC
Ethernet (ECM), so we recommend you do not change USB mode of the module
2.4 Drive loading
After the drivers are loaded and the VLAN is set up correctly, the following devices will be generated at
the host side (different platform drivers will vary)
1.
serial port
/dev/ttyACM0