UMTS/HSPA/LTE Module Series
WCDMA<E Linux USB Driver User Guide
WCDMA<E_Linux_USB_Driver_User_Guide Confidential / Released 1 / 47
Our aim is to provide customers with timely and comprehensive service. For any
assistance, please contact our company headquarters:
Quectel Wireless Solutions Co., Ltd.
Office 501, Building 13, No.99, Tianzhou Road, Shanghai, China, 200233
Tel: +86 21 5108 6236
Email: info@quectel.com
Or our local office. For more information, please visit:
http://www.quectel.com/support/salesupport.aspx
For technical support, or to report documentation errors, please visit:
http://www.quectel.com/support/techsupport.aspx
Or Email to: Support@quectel.com
GENERAL NOTES
QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT
MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT
ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR
RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO
CHANGE WITHOUT PRIOR NOTICE.
COPYRIGHT
THE INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF
QUECTEL CO., LTD. TRANSMITTING, REPRODUCTION, DISSEMINATION AND EDITING OF THIS
DOCUMENT AS WELL AS UTILIZATION OF THE CONTENT ARE FORBIDDEN WITHOUT
PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS
ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL
OR DESIGN.
Copyright © Quectel Wireless Solutions Co., Ltd. 2017. All rights reserved.
Quectel
Confidential
UMTS/HSPA/LTE Module Series
WCDMA<E Linux USB Driver User Guide
WCDMA<E_Linux_USB_Driver_User_Guide Confidential / Released 2 / 47
About the Document
History
Revision
Date
Author
Description
1.0
2015-02-27
Joe WANG
Initial
1.1
2015-3-25
Carl YIN
Updated supported products
1.2
2015-3-30
Kent XU
Added Zero Packet feature in Section 3.2.2 and 3.3.2
1.3
2015-06-24
Carl YIN
1. Added GobiNet and QMI WWAN description in
Section 3.4 and 3.5
2. Added building drivers as Kernel module in Section
3.2.4/3.3.4/3.4.3/3.5.4
3. Added power management in Chapter 4
4. Added FAQ and kernel log in Chapter 6
1.4
2015-12-16
1. Deleted Auto-Connect of GobiNet and QMI WWAN
2. Updated the usage of quectel-CM
1.5
2016-05-13
Carl YIN/
Neo HOU
Updated supported products
1.6
2016-08-23
Kent XU
Added EC20 R2.0 in supported products
1.7
2017-05-24
Kent XU
Added EG91/EG95/EG06/EP06/EM06/BG96 in supported
products
Quectel
Confidential
UMTS/HSPA/LTE Module Series
WCDMA<E Linux USB Driver User Guide
WCDMA<E_Linux_USB_Driver_User_Guide Confidential / Released 3 / 47
Contents
About the Document ................................................................................................................................ 2
Contents .................................................................................................................................................... 3
Table Index ............................................................................................................................................... 5
Figure Index .............................................................................................................................................. 6
1 Introduction ....................................................................................................................................... 7
2 Products Overview ............................................................................................................................ 8
3 System Setup .................................................................................................................................. 10
3.1. Linux USB Driver Structure ................................................................................................... 10
3.2. USB Serial Driver for UCxx/ECxx/EG9x/EG06/EP06/EM06/BG96 ........................................11
3.2.1. Add VID and PID ..........................................................................................................11
3.2.2. Add the Zero Packet Mechanism ................................................................................. 12
3.2.3. Add Reset Resume ...................................................................................................... 13
3.2.4. Enlarge Bulk out URBs ................................................................................................ 14
3.2.5. Use GobiNet or QMI WWAN ........................................................................................ 14
3.2.6. Modify Kernel Configuration ........................................................................................ 16
3.2.7. Build and Load Driver as Kernel Module for PC in Linux ............................................. 17
3.3. CDC ACM Driver for UG95/UG96 ......................................................................................... 17
3.3.1. Modify Driver Source Code .......................................................................................... 17
3.3.2. Add the Zero Packet Mechanism ................................................................................. 18
3.3.3. Add Reset Resume ...................................................................................................... 18
3.3.4. Modify Kernel Configuration ........................................................................................ 19
3.3.5. Build and Load Driver as Kernel Module for PC in Linux ............................................. 20
3.4. GobiNet Driver for UC20/ECxx/EG9x/EG06/EP06/EM06/BG96 ........................................... 20
3.4.1. Modify Driver Source Code .......................................................................................... 21
3.4.2. Modify Kernel Configuration ........................................................................................ 21
3.4.3. Build and Load Driver as Kernel Module for PC in Linux ............................................. 22
3.5. QMI WWAN Driver for UC20/ECxx/EG9x/EG06/EP06/EM06/BG96 ..................................... 22
3.5.1. Add VID and PID ......................................................................................................... 23
3.5.2. Add Support for Raw IP Mode for EC25/EC21/EC20 R2.0/EG9x/EG06/EP06/
EM06/BG96 ............................................................................................................................... 24
3.5.3. Modify Kernel Configuration ........................................................................................ 28
3.5.4. Build and Load Driver as Kernel Module for PC in Linux ............................................. 29
3.6. Configure Kernel to Support PPP ......................................................................................... 30
4 Power Management ........................................................................................................................ 31
4.1. Enable USB Auto Suspend ................................................................................................... 31
4.2. Enable USB Remote Wakeup ............................................................................................... 32
5 Test the Module ............................................................................................................................... 34
5.1. Test AT Function .................................................................................................................... 34
5.2. Test PPP Function ................................................................................................................. 35
Quectel
Confidential
UMTS/HSPA/LTE Module Series
WCDMA<E Linux USB Driver User Guide
WCDMA<E_Linux_USB_Driver_User_Guide Confidential / Released 4 / 47
5.3. Test GobiNet or QMI WWAN ................................................................................................. 40
6 FAQ and Kernel Log ....................................................................................................................... 44
6.1. How to Check Whether USB Driver Exists in Your Product ................................................... 44
6.2. How to Check Whether the Module Works Well with the Corresponding USB Driver ........... 44
7 Appendix A References .................................................................................................................. 47
Quectel
Confidential