Transcription of U602L Linux Integration Guide - Verizon Wireless
1 ,2015 NOVATELWIRELESSCOPYRIGHTSTATEMENT 2015 NovatelWireless, , ,Inc.,andtheothertrademarks,logos,andser vicemarks(collectivelythe Trademarks ) ,estoppel,orotherwise, ,andtheNovatelWirelesslogoarealltrademar ksofNovatelWireless, andtheMiFilogoareregisteredtrademarksofN ovatelWireless, ,NovatelWireless,initssolediscretion,may makeavailablefordownloadonitswebsite( ),ormaytransmitviamailoremail,updatesoru pgradesto,ornewreleasesof,thefirmware,so ftware,ordocumentationforitsproducts(col lectively,'NewMaterials').UseofsuchNewMa terialsissubjecttothetermsandconditionss etforthbelow,andmaybesubjecttoadditional termsandconditionsassetforthinNovatelWir eless'sTechnicalSupportPolicy(postedonit swebsite) ,suitability,functionality,accuracy, (knownorunknown) ' ,INDIRECT,CONSEQUENTIAL, ' ($50).
2 VersionVerificationToensureyouhavethelat estversionofthisdocument, Interface6 EnterpriseMode7 EnumeratingCDC-ECM+ModemInterfaces8 IntroductionOverviewPrerequisitesKnownIs sues11 OverviewTheMiFiU620 LimplementstheRemoteNetworkDriverInterfa ceSpecification(RNDIS) , :lEnd-UserMode:EnumeratingCDC-ECMinterfa ceInthismode, :EnumeratingCDC-ECMandModeminterfaces(Op tional)Inthismode,theModeminterfaceallow suserstosendATcommandstothedevicetoconfi gure,query, (asappropriate).U620 LLinuxIntegrationGuide2U620 LLinuxIntegrationGuide3 PrerequisitesThefollowingitemsareprerequ isitesfortheLinuxintegrations:lusb_modes witch :4 Enterthefollowingcommand: #sudoapt-getinstallusb_modeswitchlLinuxK ernelsourcefiles FilesrequiredtoenabletheMiFiU620L : , Interface25 EnumeratingCDC-ECM InterfaceBydefault, Addressassignment, :#lsusbIfthedeviceisinEnd-UserMode,there sponseis:ID1410 ,uninstalltheRNDIS driverbyissuingthefollowingcommand:# :#sudousb_modeswitch v0x1410 p0x9020 u2 Oncethesestepsarecomplete.
3 #sudodhclienteth1 +ModemInterfaces37 EnumeratingCDC-ECM+ModemInterfacesToadds upportfortheMiFiU620L,youmustmodifytheke rnelsourceonyourLinuxserverbyaddingtheVe ndorID(VID)andProductID(PID) (Toverifythekernelversion,runthecommandu name r.) :#sudoapt-getsourcelinux-image-$(uname r) Linux -<distro> . :a.[Optional] [Optional]Add"#defineDRIVER_VERSION" "" *NOVATELWIRELESSPRODUCTS*/section,add: #defineNOVATELWIRELESS_PRODUCT_ENTERPRIS E_U620L0x9022 "staticconststructusb_device_idoption_id s[ ]"structure,andadd: {USB_DEVICE_AND_INTERFACE_INFO(NOVATELWI RELESS_VENDOR_ID,NOVATELWIRELESS_PRODUCT _ENTERPRISE_U620L,0xff,0x0,0x0)} (unmodified/original) :#cd/lib/ ,createalinkfromthebuildto/usr/ :#cd/lib/ :obj-m+= :#cd/lib/ :#sudomake-C/lib/ :#lsmod| "option"loaded,thenremoveorunloaditbyiss uingthefollowingcommand:# :#sudocp/usr/ :#sudodepmod- :#lsusbIfthedeviceisinEnd-UserMode,there sponseis.
4 ID1410 ,uninstalltheRNDIS driverbyissuingthefollowingcommand:# :#sudousb_modeswitch v0x1410 p0x9020 :#lsusbIfthedeviceisinEnterpriseMode,the responseis:ID1410:9022 NovatelWirelessOncethesestepsarecomplete , :#sudodhclienteth1 :#lsmod|grepoptionIfitisalreadyloaded, , :#sudomodprobeusbserialvendor=0x1410prod uct= ,loadusb_wwanbyissuingthefollowingcomman d: # :# :#ls l/dev/ttyUSB*Themodemportshouldbe/