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