Home
UC20 Linux USB Driver User Guide
Contents
1. eseseenaeru uA 13 3 3 Loading the Driver 9 MA MEE RE EER ER R eens 15 A System Sepp D M MA sernenazzennanzaznnnnnnazzennanazznn nani 17 ER ee EA 8 nennen natnra nn anna 16 4 1 Modifying thelRig issof Devices Port DA ee Ee GE Se enaa 16 4 2 Testing AT commands on Devices Port ee Re AR ee Re ee Re ee ee ee ee nnns 16 4 3 Create a PPP Connection ii ee ee Re RR RR ee ee Re ee Re ee ee Re ee ee Re ee ee RA ee ee 18 5 Appendix A Reference R M MAER KERR EER nanna ERA ER RA RE RE ERA tak KARRE KERE 25 UC20 Linux USB Driver User Guide Confidential Released 3 25 DWEC Se UMTS HSPA Module Brech UC20 Linux USB Driver User Guide Wireless Module Expert TT Table Index TABLE 1 INTERFACE DESCRIPTION iiber theta ent reper bae eene esa ei Fara Ee deu 7 TABLE 2 RELATIONSHIP BETWEEN INTERFACES AND DEVICES Lee 15 TABLE 3 TERMS AND ABBREVIATIONS syo actin en tee rernm taba rasan kk ee eg Ke cid de eua ba 25 4125 UC20 Linux USB Driver User Guide Confidential Released DWEC Se UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide Figure Index FIGURE 1 USB DRIVER STRUCTURE e ira i a p A Ep p Pe d ar odd 8 FIGURE Z ADD UC20 SUPPORT een tise cnn Suna se na ttr a Eed dune via Fe Sa ssa kp ones Su e 10 FIGURE 3 SELECT USB SERIAL CONVERTER SUPPORT teta rire itr tt etre cud ec vi ed de 11 FIGURE 4 SELECT USB GENERIC SERIAL DRIVER etes ettet saut nnne
2. M SAT emulation on Cypress USB ATA Bridge with ATACB The shared table of common or usual storage devices USB Imaging devices M USB Mustek MDC800 Digital Camera support M Microtek X6USB scanner support USB port drivers M USS72 parport driver Kip USB Serial Converter support USB Miscellaneous drivers M EMI 6 2m USB Audio interface support M EMI 2 6 USB Audio interface support M ADU devices from Ontrak Control Systems M USB 7 Segment LED Display lt gt USB Diamond Rio500 support M USB Lego Infrared Tower support M USB LCD driver support M USB LED driver support lt gt Cypress CY7C63xxx USB driver support v lt Exit gt lt Help gt Figure 3 Select USB Serial Converter Support Device Drivers gt USB support gt USB Serial Converter Support USB Serial Converter support Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded M module lt gt module capable USB Serial Converter support Functions for loading firmware on EZUSB chips IMI USB Generic Serial Driver M USB AIRcable Bluetooth Dongle Driver USB ARK Micro 3116 USB Serial Driver USB Belkin and Peracom Single Port Serial
3. SD II static const u8 zte k3765 z no sendsetup 9 1 2 static const struct option blacklist info zte k3765 z blacklist infolen ARRAY SIZE zte k3765 z no sendsetup ifaceinfo zte k3765 z no sendsetup reason OPTION BLACKLIST SENDSETUP HI static const struct usb device id option ids 1 USB DEVICE OPTION VENDOR ID OPTION PRODUCT COLT USB DEVICE OPTION VENDOR ID OPTION PRODUCT RICOLA USB DEVICE OPTION VENDOR ID OPTION PRODUCT RICOLA LIGHT USB DEVICE OPTION VENDOR ID OPTION PRODUCT RICOLA QUAD 1 USB DEVICE OPTION VENDOR ID OPTION PRODUCT RICOLA QUAD LIGHT USB DEVICE OPTION VENDOR ID OPTION PRODUCT RICOLA NDIS Esa USB DEVICE OPTION VENDOR ID OPTION PRODUCT RICOLA NDIS LIGHT USB DEVICE OPTION VENDOR ID OPTION PRODUCT RICOLA NDIS QUAD USB DEVICE OPTION VENDOR ID OPTION PRODUCT RICOLA NDIS QUAD LIGHT USB DEVICE OPTION VENDOR ID OPTION PRODUCT COBRA USB DEVICE OPTION VENDOR ID OPTION PRODUCT COBRA BUS USB DEVICE OPTION VENDOR ID OPTION PRODUCT VIPER USB DEVICE OPTION VENDOR ID OPTION PRODUCT VIPER BUS l USB DEVICE OPTION VENDOR ID OPTION PRODUCT GT MAX READY USB DEVICE OPTION VENDOR ID OPTION PRODUCT FUJI MODEM LIGHT USB DEVICE OPTION VENDOR ID OPTION PRODUCT FUJI MODEM GT USB DEVICE OPTION VENDOR ID OPTION PRODUCT FUJI MODEM EX USB DEVICE OPTION VENDOR ID OPTION PRODUCT KOI MODEM USB
4. devittvUSB2 3 Modem interface dev ttyUSB3 4 NDIS interface dev ttyUSB4 UC20_Linux_USB_Driver_User_Guide Confidential Released 15 25 UI DQWEC Se UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide 4 System Setup After the USB driver of UC20 module is loaded successfully you can use the functions of the UC20 module It is suggested that you dispose the Voice Call and SMS service on AT interface and dispose the Data service on Modem interface 4 1 Modifying the Rights of the Devices Port Before using the UC20 module you should make sure the two ports possess readable writable and executable For example type the following commands in the terminal Chomd 777 dev ttyUSB2 Chomd 777 IdevittvUSB3 4 2 Testing AT commands on the Devices Port In Linux OS module s AT interface and Modem interface are serial ports You can use the tool minicom to test the communication via the two ports The method of using minicom is shown as below First set the serial port configuration In the terminal type minicom s Then select Serial port setup in the configuration window shown as below UC20 Linux USB Driver User Guide Confidential Released 16 25 DQWEC Sec UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide configuration Filenames and paths File transfer protocols ET Modem and dialing Screen and keyboard Save setup as
5. 1 IP uninet 0 0 M expect OK M AT CGDCONT 1 IP uninet 0 0 M M OK got it send ATDT 99 M expect CONNECT M ATDT S99 MOM CONNECT got it send d Script usr sbin chat s v f etc ppp peers wcdma chat connect finished pid 7284 status 0x0 Serial connection established using channel 18 Using interface pppo Connect pppO lt gt dev ttyUSB3 sent LCP ConfReq id 0x1 lt asyncmap 0x0 magic Oxb3f8c3d4 lt pcomp gt lt accomp gt rcvd LCP ConfReq id 0x0 lt asyncmap 0x0 auth chap MD5 magic Ox1f768a5 lt pcomp gt lt ac comp gt Figure 13 PPP Dial 2 sent LCP ConfRej id 0x0 auth chap MD5 gt rcvd LCP ConfAck id 0x1 asyncmap 0x0 magic Oxb3f8c3d4 gt lt pcomp gt lt accomp gt rcvd LCP ConfReq id 0x1 asyncmap 0x0 magic 0x1f768a5 lt pcomp gt lt accomp gt sent LCP ConfAck id 0x1 asyncmap 0x0 magic 0x1f768a5 pcomp accomp sent IPCP ConfReq id 0x1 addr 0 0 0 0 ms dnsl 0 0 0 0 ms dns2 0 0 0 0 gt rcvd LCP DiscReq id 0x2 magic 0x1f768a5 rcvd IPCP ConfReq id 0x0 sent IPCP ConfNak id 0x0 lt addr 0 0 0 0 gt rcvd IPCP ConfNak id 0x1 lt addr 172 28 240 236 lt ms dnsl 58 242 2 2 ms dns2 218 104 78 29 sent IPCP ConfReq id 0x2 addr 172 28 240 236 ms dnsl 58 242 2 2 ms dns2 218 104 78 2 gt rcvd IPCP ConfReq id 0x1 sent IPCP ConfAck id 0x1 rcvd IPCP ConfAck id 0x2 addr 172 28 240
6. DEVICE OPTION VENDOR ID OPTION PRODUCT SCORPION MODEM Figure 2 Add UC20 support 3 2 2 Clear Old Compiled File and Other Configuration File Execute the following command in Terminal cd linux 2 6 34 14 make mrproper 3 2 3 Modify Kernel Configuration There are several mandatory selected items in kernel configuration USB Support USB Support gt USB Serial Converter Support USB Generic Serial Driver USB driver for GSM and CDMA modems PPP Support For PPP dialing function you must select the below items PPP point to point protocol support And you d better select the following items to support the modules dynamic loading Enable loadable module support Forced module loading Module unloading Source checksum for all modules UC20 Linux USB Driver User Guide Confidential Released 10 25 DQWEC F UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide Modifv kernel configuration bv executing the following command make menuconfig Vou must modifv the kernel configuration manuallv as shown in the following figures below Device Drivers 2 USB Support USB support Arrow keys navigate the menu Enter selects submenus Highlighted letters are hotkeys Pressing Y includes N excludes M modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded M module lt gt module capable
7. Driver USB Winchiphead CH341 Single Port Serial Driver USB ConnectTech WhiteHEAT Serial Driver USB Digi International AccelePort USB Serial Driver USB CP210x family of UART Bridge Controllers USB Cypress M8 USB Serial Driver USB Empeg empeg car Mark I II Driver USB FTDI Single Port Serial Driver USB Fundamental Software Dongle Driver USB Handspring Visor Palm m50x Sony Clie Driver USB PocketPC PDA Driver USB IR Dongle Serial Driver USB Inside Out Edgeport Serial Driver lt lt Exit gt lt Help gt Figure 4 Select USB Generic Serial Driver UC20_Linux_USB_Driver_User_Guide Confidential Released 11 25 DQWEC F UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide Device Drivers USB support 2 USB Serial Converter Support USB Serial Converter support 4 Arrow keys navigate the menu Enter selects submenus Highlighted letters are hotkeys Pressing Y includes N excludes M modularizes features Press Esc Esc to exit for Help for Search Legend built in excluded M module lt gt module capable T ASS M USB Ours Technology Inc OTi 6858 USB To RS232 Bridge Controller M USB Qualcomm Auxiliary Serial Port Driver M USB Qualcomm Serial modem M USB SPCP8x5 USB To Serial Driver M USB HP4x Calculators support M USB Safe Serial Encapsulated Driver USB Secure Enc
8. a de eg TR gees 11 FIGURE 5 SELECT USB DRIVER FOR GSM AND CDMA MODEMS ee ees ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 12 FIGURE 6 SELECT ENABLE LOADABLE MODULE SUPPORT sesse ee esse ee ee ee ee ee ee ee se ee ee ee ee ee ee ee ee ee ee ee 12 FIGURE 7 SELECT PPP POINT TO POINT PROTOCOL SUPPORT 13 FIGURE 8 THE CONTENT OF THE GRUB CONFIGURATION MENU LST nn 14 FIGURE 9 SERIAL PORT SETUP IN MINICOM irori oet i t ct nece eed eet se s tchat cett aree aedes 17 FIGURE 10 SERIAL PORT CONFIGURATION IN MINICOM ees ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee enne 17 FIGURE 11 SEND AT COMMAND IN MINICOM A Af ese see des se ee Ese es se ke As Se dk ke ee 18 FIGURE 12 PPP RE TR 21 FIGURE 13 PPP DIAL 2 iss nid gese asses soe momo a oes 22 FIGURE 14 PPP DIAL 3 ss veg A TAL 22 FIGURE 15 THE CONTENT OF THE BNS G NFISURATION FILE 4 amp 48 9 99 A 23 FIGURE 16 ROUTE SETTING WE Me esse es sees ese kanse ese t B A esee 23 FIGURE 17 BR WSING INTERNEJBIN EINUX OS esse sesse esse sees Re eee 24 UC20 Linux USB Driver User Guide Confidential Released 5 25 UMTS HSPA Module UC20 Linux USB Driver User Guide QWEEC FE Wireless Module Expert 1 Introduction This document introduces how to generate the USB driver for UC20 module in Linux OS and how to use the module after the USB driver is loaded successfullv 6 25 Confidential Released UC20 Linux USB Driver
9. dfl Save setup as Exit Exit from Minicom Figure 9 Serial Port Setup in minicom Enter and set the Serial Device to be dev ttyUSB2 or dev ttyUSB3 in the following window A Serial Device dev ttyUsB3ll B Lockfile Location var lock C Callin Program D Callout Program E Bps Par Bits 115200 8NI F Hardware Flow Control No G Software Flow Control No Change which setting Screen and keyboard Save setup as dfl Save setup as Exit Exit from Minicom Figure 10 Serial Port Configuration in minicom After setting the tool s communicative parameters you can use it to send AT commands In the Terminal type minicom press enter and then you can input AT commands to send it in the following place UC20 Linux USB Driver User Guide Confidential Released 17125 Im DWEC r UMTS HSPA Module iji Wireless Module Expert UC20 Linux USB Driver User Guide root clare dev File Edit View Search Terminal Help Welcome to minicom 2 5 OPTIONS I18n Compiled on Feb 24 2011 11 25 55 Port dev ttyUSB3 Press CTRL A Z for help on special keys AT S7 45 S0 0 L1 VI X4 amp c1 EI QO OK ati Quectel Ltd Quectel UC20 Revision UC20EQAR01A01M1024 OK CTRL A Z for help 115200 8NI NOR Minicom 2 5 VT102 Offline Figure 11 Send AT Command in minicom To close the minicom press CTRL A and press Q a few seconds later and sel
10. terminal Comment this to get daemon mode pppd nodetach user lt insert here the correct username for authentication gt password lt insert here the correct password for authentication gt Hardware flow control UC20 Linux USB Driver User Guide Confidential Released 19 25 UMTS HSPA Module UC20 Linux USB Driver User Guide Q Q n A aj M m crtscts remotename 3gppp ipparam 3gppp Ask the peer for up to 2 DNS server addresses usepeerdns The content of the file wedma chat connect is shown as below ABORT BUSY ABORT NO CARRIER ABORT NO DIALTONE ABORT ERROR ABORT NO ANSWER TIMEOUT 120 AT OK rATZ Connection to the network OK rAT CGDCONT 1 IP lt insert here the correct APN provided by your network operator gt 0 0 Dial the number OK AT OK ATDT 99 CONNECT d c The content of the file wcdma chat disconnect is shown as below ABORT ERROR ABORT NO DIALTONE SAY NSending break to the modem n ker ATH SAY nGood bay n After creating the three files under the path etc ppp peers you can do the PPP dialing UC20_Linux_USB_Driver_User_Guide Confidential Released 20 25 DWEC Se UMTS HSPA Module N A D Execute the following command in Terminal pppd call wcdma The process of dialing is shown as below root clare Linux 2 6 34 14 pppd call wcdma pppd options in effect debug from etc ppp peers wcdma nodetach from et
11. 236 lt ms dnsl 58 242 2 2 gt ms dns2 218 104 78 27 Could not determine remote IP address defaulting to 10 64 64 64 local IP address 172 28 240 236 remote IP address 10 64 64 64 primary DNS address 58 242 2 2 secondary DNS address 218 104 78 2 Script etc ppp ip up started pid 7293 Script etc ppp ip up finished pid 7293 status 0x0 Figure 14 PPP Dial 3 UC20 Linux USB Driver User Guide Confidential Released b b After PPP connection is created successfully you must add the DNS information in the file etc resolv conf The content to be inserted is shown as below 22 25 UMTS HSPA Module UC20 Linux USB Driver User Guide DWEC Se Wireless Module Expert resolv conf etc gedit File Edit View Search Tools Documents Help Bopen v sae B Undo resolv conf 3 Generated by NetworkManager search chen No nameservers found try putting DNS servers into your ifcfg files in etc sysconfig network scripts like so DNS1 XXX XXX XXX XXX DNS2 XXX XXX XXX XXX DOMAIN lab foo com bar foo com nameserver 58 242 2 2 nameserver 218 104 78 2 Plain Text Tab Width 8v Ln 11 Col 1 Figure 15 Content of the DNS Configuration File Then you must set the default route as pppO before browsing internet The commands are shown as below root clare route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Ifac
12. ABLE us rhgb quiet initrd initramfs 2 6 35 14 106 fc14 1686 img title Fedora 2 6 34 14 root hd8 8 kernel vmlinuz 2 6 34 14 ro root dev mapper vg clare lv root rd LVM LV vg clare lv root rd LVM LV vg clare lv swap rd NO LUKS rd NO MD rd NO DM LANG en US UTF 8 SYSFONT latarcyrheb sunl6 KEYTABLE us rhgb quiet initrd initramfs 2 6 35 6 45 fc14 1686 img dk dk dk 3k Figure 8 Content of the Grub Configuration menu Ist 6 Restart the Linux OS After operating system is restarted it will list all kernel versions You only need to select the new kernel to enter the system UC20 Linux USB Driver User Guide Confidential Released 14 25 Im DWEC 7 UMTS HSPA Module TEMA UC20 Linux USB Driver User Guide Wireless Module Expert 3 3 Loading the Driver When UC20 module was connected to host computer via USB meanwhile the USB deriver is loaded successfully the following five devices will be created dev ttyUSBO dev ttyUSB1 dev ttyUSB2 dev ttyUSB3 dev ttyUSB4 You can check the result as below root clare cd dev root clare dev ls ttyUSB If the five device node files are shown as above it is certain that the UC20 module has been recognized by Linux OS and the corresponding relations between interfaces and devices are shown as below Table 2 Relationship between Interfaces and Devices INDEX Interface Name Device Name 0 DM interface dev ttyUSBO 1 NMEA interface dev ttyUSB1 2 AT interface
13. NT AS WELL AS UTILIZATION OF THIS CONTENTS 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 2013 All rights reserved UC20 Linux USB Driver User Guide Confidential Released 1 25 UMTS HSPA Module UC20 Linux USB Driver User Guide OUELTSE Wireless Module Expert About the document Description History Date Author Clare CHEN Initial Revision 2012 06 03 1 0 UC20 Linux USB Driver User Guide Confidential Released 2125 DWEC Se UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide Contents About the document Ier EER KEES EE EKKE EER KEER er Fea ku GEREEN sh EER ERGE EER ERWE EER Ewe EE EE EE EE Enea ER SERE EERREE EED 2 ete il EE EE EE E E ERE EE RE EE EE eais iia 3 l lo dT Ta L A 4 lab ADI SEE e EE ER EE EE EE EE EE EE 5 N ee le des RE LE AE LE OR OE RE a OE 6 KR Ge e de EE 7 3 System SOC po EE EE EE EE EErEE EEEak 8 3 1 Linux USB Drivers Structure nn nn nanna nn ee ee eg ee 8 3 2 Building the Driver renal em Nec metet nere t ur c wes 9 3 2 1 Download and Modify Source Code of Linux Kernel seen 9 3 2 2 Clear Old Compiled File and Other Configuration File 10 3 2 3 Modify Kernel Configuration snanar nn 10 3 2 4 Compile and Instaliffinuxekenmel 9
14. User Guide Im DQWEC 7 UMTS HSPA Module ke UC20 Linux USB Driver User Guide Wireless Module Expert 2 Product Overview Quectel UC20 is a wireless WCDMA module With it vou can implement some functions such as VOICE CALL and browsing internet and so on In general UC20 module will create five interfaces when vou connect it with embedded equipments These five interfaces have different functionalities The details are shown as below Table 1 Interface Description DM interface Diagnose port NMEA interface For GPS NMEA sentence output AT interface For AT commands Modem interface For PPP connections and AT commands NDIS interface Network driver interface UC20 Linux USB Driver User Guide Confidential Released 7125 DQWEC Se UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide 3 System Setup Linux OS includes a generic USB to serial driver for communication module You can use the module in the Linux OS only by adding the module s information VID PID in the Linux kernel The first part of this chapter is to describe the structure of Linux USB Driver and the rest is to explain how to build the USB driver for UC20 module 3 1 Linux USB Drivers Structure USB is a kind of hierarchical bus structure The data transmission between USB devices and Host is achieved by USB Controller The following picture illustrates the architecture of USB Driver Linux USB Host driver includes three parts USB H
15. apsulated Driver Padded M USB Siemens MPI driver M USB Sierra Wireless Driver M USB Symbol Barcode driver serial mode hid USB TI 3410 5052 Serial Driver USB REINER SCT cyberJack pinpad e com chipcard reader USB Xircom Entregra Single Port Serial Driver of SR driver for cof and ConA modens USB ZyXEL omni net LCD Plus Driver ae USB Opticon Barcode driver serial mode M USB ViVOpav serial interface driver M USB Debugging Device Exit Help Figure 5 Select USB Driver for GSM and CDMA Modems Enable Loadable Module Support Enable loadable module support Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt module H Enable loadable module support Forced module loading i Module unloading Forced module unloading Module versioning support Source checksum for all modules lt Exit Help Figure 6 Select Enable Loadable Module Support UC20 Linux USB Driver User Guide Confidential Released 12 25 DQWEC F UMTS HSPA Module UC20 Linux USB Driver User Guide Wireless Module Expert Device Drivers Network Device Support Network device support Arrow keys navigate the menu Enter selects sub
16. at you have had the Linux kernel source code files and you have already compiled the whole kernel Here we only introduce the first method Before replacing the Linux kernel you need to modify the kernel configuration and the source code files responding to USB to serial driver by adding the VID and PID of UC2O in the file The detailed steps are shown as below Take Fedora 14 as an example 3 2 1 Download and Modify Source Code of Linux Kernel Download the Linux kernel file and decompress the file into the directory usr src kernels You can decompress the file by executing the following commands cd usr src kernels Star jxf linux 2 6 34 14 tar bz2 c usr src kernels Then vou should modifv the driver source code file so that the UC20 module can be recognized bv Linux OS The file path is usr src kernels driver usb serial option c Open it and insert the VID and PID of UC20 module into the file then save it and get ready to compile the kernel The UC20 s VID and PID are listed as follows 1 VID 0x05c6 2 PID 0x9003 UC20 Linux USB Driver User Guide Confidential Released 9 25 DWEC Se UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide option c opt FriendIVARM tinv210 android linux 2 6 35 7 drivers usb serial gedit File Edit View Search Tools Documents Help j Bopen v sae amp OG C option c X ifaceinto alcatel x200 no sendsetup reason OPTION BLACKLIST SENDSETUP
17. c ppp peers wcdma dump from etc ppp peers wcdma noauth from etc ppp peers wcdma user from etc ppp peers wcdma password 222222 from etc ppp peers wcdma remotename 3gppp from etc ppp peers wcdma dev ttyUSB3 from etc ppp peers wcdma 115200 from etc ppp peers wcdma lock from etc ppp peers wcdma connect usr sbin chat s v f etc ppp peers wcdma chat connect fr om etc ppp peers wcdma disconnect usr sbin chat s v f etc ppp peers wcdma chat disconnect fr om etc ppp peers wcdma crtscts from etc ppp peers wcdma local from etc ppp peers wcdma hide password from etc ppp peers wcdma novj 3 from etc ppp peers wcdma novjccomp from etc ppp peers wcdma ipcp accept local from etc ppp peers wcdma ipcp accept remote from etc ppp peers wcdma ipparam 3gppp from etc ppp peers wcdma noipdefault from etc ppp peers wcdma defaultroute from etc ppp peers wcdma usepeerdns from etc ppp peers wcdma noccp from etc ppp peers wcdma abort on BUSY abort on NO CARRIER abort on NO DIALTONE abort on ERROR abort on NO ANSWER timeout set to 120 seconds send AT M expect OK Figure 12 PPP Dial 1 UC20 Linux USB Driver User Guide Confidential Released 21 25 DWEC Se UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide M OK got it send MATZ M expect OK M M OK got it send MAT CGDCONT
18. e 10 64 64 64 255 255 255 255 UH H 0 ppp default 0 0 0 0 U 0 0 0 eth root clare lj root clare route del default root clare route add default dev ppp root clare route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10 64 64 64 255 255 255 255 UH 0 H H ppp default 0 0 0 0 U 0 0 0 ppp Figure 16 route setting Then you can browse internet UC20 Linux USB Driver User Guide Confidential Released 23125 QUECT Wireless Module Expert UMTS HSPA Module UC20 Linux USB Driver User Guide 21 00 UTC Stay up to date subscribe Mailing List A RSS e Planned Outage System reboots 2013 05 07 supported gbenson net Avoiding large memory buffers www pixelbeat org Google reader is gone now what tatica org fedora Utilisation de yum shell pour migrer de php mysql vers php mvsqind Le blog de llaumgui Pulp 2 1 1 Released Pulp Fedora Project Start Page Mozilla Firefox eJ 1 IE ES Edit View History Bookmarks Tools Help New Window Ctri N deg http start fedoraproject org wy v Google New Tab cer ZE SR Mv Gooc aj Open Location Ctri L 5 Fedora Projectv Red Hat jFree Contentv Open File Ctrl HO n 77 Close Window Ctri ShiftH W Close Tab Ctrl EW A Red Hat Sponsored Communitv Project Save Page As CtriHS Send Link Page Setup Print Preview m Planet Fedora 4 Useful L
19. ect Yes to exit it 4 3 Create a PPP Connection In general you should create a PPP connection before you apply data service into UC20 module The command of creating a PPP connection is shown as below pppd call wcdma The parameter wcdma is a script file of PPP dial In general the PPP dial script file includes three files which are wcdma wcdma chat connect and wcdma chat disconnect The content of the file wcdma is shown as below etc ppp peers wcdma Usage root gt pppd call wcdma Hide password in debug messages hide password The phone is not required to authenticate noauth UC20_Linux_USB_Driver_User_Guide Confidential Released 18 25 Q C M M m UMTS HSPA Module UC20 Linux USB Driver User Guide The chat script be sure to edit that file tool connect usr sbin chat s v f etc ppp peers wcdma chat connect The close script be sure to edit that file tool disconnect usr sbin chat s v f etc ppp peers wcdma chat disconnect Debug info from pppd debug Serial Device to which the HSPDA phone is connected IdevittyUSB3 Serial port line speed 115200 If you want to use the HSDPA link as your gateway defaultroute pppd must not propose any IP address to the peer noipdefault No ppp compression novj novjccomp noccp ipcp accept local ipcp accept remote local For sanity keep a lock on the serial line lock dump Keep pppd attached to the
20. inks Print Ctri P Em e FLISOL 2013 Sede Paran REPORTE e Fedora Wiki Import Adrian Soliard Fedora Ask Fedora e Gfire GIT build for Fedora 18 Planet Fedora Work Offline rk Ansta lt Fedora Join Fedora Quit Ctri Q e Only dest dir longer than base dir not 9 Set Help e e Fedora Documentation e UC20 Linux USB Driver Figure 17 Browsing Internet in Linux OS User Guide Confidential Released 24125 WCDMA Module WCDMA XXX User Guide TT Wireless Module Expert OUELTSE 5 Appendix A Reference Table 3 Terms and Abbreviations Description Operating System Abbreviation Product ID OS PID VID Vendor ID 25 25 Confidential Released UC20 Linux USB Driver User Guide
21. m QUECTE Wireless Module Expert UC20 Linux USB Driver User Guide UMTS HSPA Module Series Rev UC20 Linux USB Driver User Guide V1 0 Date 2013 06 09 EE www quectel com DWEC Se UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide Our aim is to provide customers with timelv and comprehensive service For anv assistance please contact our companv headquarter Quectel Wireless Solutions Co Ltd Room 501 Building 13 No 99 Tianzhou Road Shanghai China 200233 Tel 86 21 5108 6236 Mail info quectel com Or our local office for more information please visit http www quectel com support salesupport aspx For technical support to report documentation errors please visit http www quectel com support techsupport aspx GENERAL NOTES QUECTEL OFFERS THIS 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 ARE SUBJECT TO CHANGE WITHOUT PRIOR NOTICE COPYRIGHT THIS INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF QUECTEL CO LTD TRANSMITTABLE REPRODUCTION DISSEMINATION AND EDITING OF THIS DOCUME
22. menus Highlighted letters are hotkeys Pressing Y includes N excludes M modularizes features Press Esc Esc to exit lt gt for Help lt gt for Search Legend built in excluded M module lt gt module capable M SysKonnect FDDI PCI support HIPPI driver support EXPERIMENTAL De PLIP dp port support PPP miltitink support iet PPP filtering PPP support for asvnc serial ports PPP support for sync tty ports PPP Deflate compression PPP BSD Compress compression PPP MPPE compression encryption EXPERIMENTAL PPP over Ethernet EXPERIMENTAL PPP over ATM PPP over L2TP EXPERIMENTAL SLIP serial line support CSLIP compressed headers Keepalive and linefill Six bit SLIP encapsulation Fibre Channel driver support Network console logging support EXPERIMENTAL Dynamic reconfiguration of logging targets EXPERIMENTAL Netpoll traffic trapping 9990 EK e urere i Exit Help Figure 7 Select PPP point to point protocol Support 3 2 4 Compile and Install Linux Kernel After finishing the above steps you can compile and install the Linux kernel step by step as follows 1 Before compiling you should clean the configuration and executable file make clean 2 Generate core file make bzlmage 3 Make modules make modules 4 Install modules make modules install After installing successfully all modules
23. ost Controller driver USB core USB device drivers Applicantions N Linux Host USB Device Drivers SS TN EM Interface USB Core UC20 Module Software HCD AE es HB RE Interface USB Host Controller Driver OHCI EHCI UHCI UI Nu UC20 Module USB Controllers OHCI EHCI UHCI Figure 1 USB Driver structure UC20 Linux USB Driver User Guide Confidential Released 8 25 Im DQWEC 7 UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide The USB Host Controller driver the bottom of the hierarchical structure is a software module which interacts directly with hardware USB core the core of the whole USB host driver is responsible for the management of USB bus USB bus devices and USB bus bandwidth providing the interfaces for USB device driver through which the applications can access the USB system files USB device drivers interact with the applications and mainly provide the interfaces for accessing the specific USB devices 3 2 Building the Driver The USB driver is a part of Linux kernel You can load the USB to Serial Driver in two ways 1 Compile the driver into kernel 2 Load the driver module dynamically The second way is to load the driver module with the command insmod after compiling the corresponding source code files but the premise is th
24. will be installed into the path lib modules uname r UC20 Linux USB Driver User Guide Confidential Released 13 25 DWEC F UMTS HSPA Module Wireless Module Expert UC20 Linux USB Driver User Guide 5 Install kernel There are two ways to install kernel automatic way and manual way Automatic way Just execute the following command in Terminal make install Manual way Available for the version earlier than 2 6 cp usr src kernels linux 2 6 34 14 arch i386 boot bzlmage gt boot vmlinuz 2 6 34 14 2 cp usr src kernels linux 2 6 34 14 system map gt boot system map 2 6 34 14 2 mkinitrd v boot initrd 2 6 33 img 2 6 33 2 llcreate initrd Edit the grub configuration file boot grub menu Ist The content is shown as below O mymenu Ist X grub conf generated by anaconda Note that you do not have to rerun grub after making changes to this file NOTICE You have a boot partition This means that all kernel and initrd paths are relative to boot eg root hd0 0 kernel vmlinuz version ro root dev mapper vg clare lv root initrd initrd generic version img boot dev sda default 0 timeout 0 splashimage hd0 0 grub splash xpm gz hiddenmenu title Fedora 2 6 35 14 106 fc14 1686 root hd0 0 kernel vmlinuz 2 6 34 14 ro root dev mapper vg clare lv root rd LVM LV vg clare lv root rd LVM LV vg clare lv swap rd NO LUKS rd NO MD rd NO DM LANG en US UTF 8 SVSFONT latarcvrheb sunl6 KEYT
Download Pdf Manuals
Related Search
Related Contents
WEG CFW500 Variable Frequency Drives Modbus RTU User`s Manual AFE424 - Scotsman Ice Systems Copyright © All rights reserved.
Failed to retrieve file