YUGE CLM920_AC3 Bedienungsanleitung

Product name
CLM920_AC3 Module Linux Integration User Manual
Number of pages
13
Version
V1.0
Date
2019/3/15
CLM920_AC3 Module
Linux Integration User Manual
V1.0
Shanghai Yuge Information Technology Co., Ltd.
All rights reserved

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 2 -
Contents
Chapter 1. Linux system load domain module USB driver....................................................- 4 -
1.1 Add USB serial port drive system components........................................................- 4 -
1.2 Add device drivers....................................................................................................- 4 -
Chapter 2. Interactive AT process under Linux system......................................................... - 6 -
Chapter 3. Dial-up Internet Process under Linux System...................................................... - 8 -
Chapter 4. Linux system loading Yuge module RNDIS dialing instructions.......................- 10 -
4.1 Load RNDIS driver.................................................................................................- 10 -
4.2 RNDIS Network card obtains IP............................................................................ - 11 -
4.3 RNDIS dialing related commands.......................................................................... - 11 -
4.4 Network test............................................................................................................- 12 -
Chapter 5. Linux System FAQ............................................................................................. - 13 -
5.1 Q: How do I manually send AT commands via echo cat under Linux?.................- 13 -

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 3 -
Revise history
Version
Date
Author
Description
V1.0
2019/03/13
Document group
Initial version

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 4 -
Chapter 1. Linux system load domain module
USB driver
1.1 Add USB serial port drive system components
USB to serial port drivers are commonly used in Linux systems. Adding a driver requires
configuring the Linux kernel as follows.:
cd kernel
make menuconfig
device drivers -> usb support -> usb serial converter support
Select the following components:
USB driver for GSM and CDMA modems
Save configuration when selected。
1.2 Add device drivers
Use lsusb to view the usb device and confirm the discovery device.
As shown above, the module's VID and PID default to 0x1286 and 0x4E3C.
After the device confirms the connection, you can execute the command. :sudo modprobe
usbserial vendor=0x1286 product=0x4E3C,Load the USB serial port driver. You can
check the USB serial port loading status by querying the command: ls /dev/ttyU*.
Modify drivers/usb/serial/option.c。Refer to the following methods to add VID
、
PID。

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 5 -
Add array elements After the modification is complete, recompile the kernel。
After the compilation is complete, you can check the USB serial port loading status by
querying the command: ls /dev/ttyU*, as shown below..

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 6 -
Chapter 2. Interactive AT process under Linux
system
1) Insert the USIM/SIM card into the application terminal correctly and connect the 4G full-
range antenna to the RF connector of the module. Module boot, load USB driver, get USB
port: ttyUSB0~ttyUSB4.
ttyUSB0 -> RNDIS
ttyUSB1 -> CDC-DATA
ttyUSB2 -> DIAG ttyUSB3 -> AT
ttyUSB4 -> Modem
2) Start the Linux system serial application minicom, use the following command:
#minicom -s
In the minicom menu, select “Serial port setup”, configure “Serial device”to be
/dev/ttyUSB1 (AT (ttyUSB1) in the serial port of the module, Modem (ttyUSB2) can send AT
commands, others cannot send AT commands); Exit to the minicom menu, select “Save
setup as dfl”to save the configuration and select “exit”to exit the minicom configuration.
3) System test by sending AT commands via minicom
#minicom
Will get the following return results:
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Jan 1 2014, 17:13:22.
Port /dev/ttyUSB1
Press CTRL-A Z for help on special keys
Enter the following command to open the echo:
AT
If the system works normally, you will get the following return results:

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 7 -
OK
Enter the following command to query product information.:
ATI
Will get the following information:
Manufacturer: Yuga Co.,Ltd.
Model: CLM920_AC3
Revision: CLM920_AC3-V1 [Mar 1 2 10:00:25]
IMEI:3520990017614823
+GCAP: +CGSM
Enter the following command to query the PIN information.:
AT+CPIN?
Will get the following information:
+CPIN: READY
Enter the following command to query the signal:
AT+CSQ
Will get the following signal strength and bit error rate information:
+CSQ: 24,0
Enter the following command to query the registration status.:
AT+CGREG?
Will get the following registration information:
+CGREG: 3,1,"5b1c","0b177d82",7
Enter the following command to query the network operator information.:
AT+COPS?
The following carrier information will be obtained (the information returned by different
operators is different. The following is an example of China Telecom's USIM card.)
+COPS: 0,2,"46011",7

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 8 -
Chapter 3. Dial-up Internet Process under
Linux System
1) Repeat the module's USB loading process and AT interaction process. Make sure the
module is properly registered to the network, the signal strength CSQ returns the first
parameter above 9;
2) Verify that the Linux system comes with the pppd and chat executables. If the system
does not have pppd, install kppp with the pppd application (pppd 2.4.3, pppd 2.4.5
recommended);
3) There are two ways to dial up the Internet.:
a) Directly use the dialing script we provided yuga.lte-pppd (the default APN
is empty, can be set as needed),
Note the execution permission for the script;
b) Write pppd script and chat script separately:
(1) /etc/ppp/peers/lte file, as follows:
# Usage: root>pppd call lte&
/dev/ttyUSB1
115200 crtscts
modem debug
nodetach
usepeerdns
noipdefault
defaultroute
usercard
passwordcard
connect '/usr/sbin/chat -s -v -f /etc/ppp/lte-connect-chat'
(2) /etc/ppp/lte-connect-chat file, as follows:
#/etc/ppp/lte-connect-chat

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 9 -
#chat script for LTE.
TIMEOUT 15
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
"" AT
OK ATE0
OK ATD*99#
CONNECT
After the two scripts are written, execute pppd call lte&, dial-up。
4) Test connection Internet
Test whether the Internet is connected, use the following command:
# ping 115.239.210.27
Test if you ping the IP address of baidu.
If the IP address can be ping and the ping domain name is unreachable, the following
command:
# ping www.baidu.com
Then you need to add DNS (114.114.114.114) to /etc/resolv.conf。
5) Disconnect from the Internet:
a. Call the end script we provided ppp-off
b. Use instruction:# killall pppd

CLM920_AC3 Module Linux Integration User Manual
Shanghai Yuge Information Technology Co., Ltd.
- 10 -
Chapter 4. Linux system loading Yuge module
RNDIS dialing instructions
4.1 Load RNDIS driver
To use RNDIS, you need to install the driver rndis_host.ko. The general distribution has
been compiled and can be run directly. If the embedded development board can configure the
kernel's rndis_host as a dynamic module, some kernels need to open the EXPERIMENTAL
option.
Inhaltsverzeichnis
Andere YUGE Steuereinheit Handbücher
Beliebte Steuereinheit Handbücher anderer Marken

Festo
Festo Compact Performance CP-FB6-E Stücklistenhandbuch

Elo TouchSystems
Elo TouchSystems DMS-SA19P-EXTME Bedienungsanleitung

JS Automation
JS Automation MPC3034A Bedienungsanleitung

JAUDT
JAUDT SW GII 6406 Series Kurzanleitung

Spektrum
Spektrum Air Module System Bedienungsanleitung

BOC Edwards
BOC Edwards Q Series Bedienungsanleitung
















