The environment settings are as follows:

1. ubuntu 14.04 , linux kernel: linux-lts-xenial-4.4.0

2. module :  Quectel EC20-CE-TE-A

在linux中增加usb驱动的时候,需要修改linux代码,但是ubuntu的源码是不完全的,所以需要去官网下载源码,修改完了之后编译成模块的形式,更新。

下载源码命令如下:

sudo apt-get source linux-image-$(uname -r)

自动下载源码压缩包,并且自动解压,得到如下几个文件:

ricks@ubuntu:~$ ls /usr/src/
linux-headers-4.4.- linux-lts-xenial_4.4.0-131.157~14.04..diff.gz linux-meta-3.13.0.153.
linux-headers-4.4.--generic linux-lts-xenial_4.4.0-131.157~14.04..dsc linux-meta_3.13.0.153.163.dsc
linux-lts-xenial-4.4. linux-lts-xenial_4.4.0.orig.tar.gz linux-meta_3.13.0.153.163.tar.gz

其中linux-headers-xxx是ubuntu自带的文件,这次主要新增了linux-lts-xenial-4.4.0和相关文件。

进入linux-lts-xenial-4.4.0文件夹,所有的源码都齐了。

ricks@ubuntu:/usr/src/linux-lts-xenial-4.4.$ ls
arch COPYING debian Documentation firmware init Kconfig MAINTAINERS net samples snapcraft.yaml tools virt
block CREDITS debian.master drivers fs ipc kernel Makefile README scripts sound ubuntu zfs
certs crypto debian.xenial dropped.txt include Kbuild lib mm REPORTING-BUGS security spl usr

然后就可以按照quectel的文档修改驱动,文档名是“ Quectel_WCDMA&LTE_Linux_USB_Driver_User_Guide_V1.8.pdf ”

reference:

WCDMA&LTE Linux USB Driver User Guide
UMTS/HSPA/LTE Module Series
Rev. WCDMA&LTE_Linux_USB_Driver_User_Guide_V1.
Date: --01
www.quectel.com

Quectel module USB driver for linux的更多相关文章

  1. writing a usb driver(在国外的网站上复制下来的)

    Writing a Simple USB Driver   From Issue #120April 2004 Apr 01, 2004  By Greg Kroah-Hartman  in Soft ...

  2. Power OFF and ON USB device in linux (ubuntu)

    Power OFF and ON USB device in linux (ubuntu) http://loginroot.com/power-off-and-on-usb-device-in-li ...

  3. 移动设备 小米2S不显示CD驱动器(H),便携设备,MTP,驱动USB Driver,MI2感叹号的解决方法

    小米2S不显示CD驱动器(H),便携设备,MTP,驱动USB Driver,MI2感叹号的解决方法 by:授客 QQ:1033553122 用户环境 操作系统:Win7 手机设备:小米2S   问题描 ...

  4. Delphi 调试连接 任意Android手机/平板/盒子(要安装Google USB Driver,并且还有USB的相关许多文章)

    Delphi有时候无法连接调试一些手机,解决方案: 1.安装Google USB Driver 2.通过设备管理器查看手机或平板USB的VID,PID 3.修改你的电脑上的android_winusb ...

  5. CVE-2016-2502-drivers/usb/gadget/f_serial.c in the Qualcomm USB driver in Android. Buffer Overflow Vulnerability reported by #plzdonthackme, Soctt.

    CVE-2016-2502-drivers/usb/gadget/f_serial.c in the Qualcomm USB driver in Android.Buffer Overflow Vu ...

  6. 转 linux 下装 usb driver

    http://www.george-smart.co.uk/wiki/Xilinx_JTAG_Linux

  7. usb driver编写 (转)

    在开头补上LDD3的一句话:如果 USB 驱动没有和另一种处理用户和设备交互的子系统(例如 input, tty, video, 等待)关联, 驱动可使用 USB 主编号为了使用传统的和用户空间之间的 ...

  8. 怎么找到占用usb的模块,linux下Jlink连接失败

    问题是这样产生的,我在linux下安装jlink,启动JLinkExe执行,总是提示不能通过usb连接: SEGGER J-Link Commander V5.10q (Compiled Mar :: ...

  9. Open images from USB camera on linux using V4L2 with OpenCV

    I have always been using OpenCV's VideoCapture API to capture images from webcam or USB cameras. Ope ...

随机推荐

  1. ASIHTTPRequest类库简介和使用说明(转)

    ASIHTTPRequest类库简介和使用说明 官方网站: http://allseeing-i.com/ASIHTTPRequest/ .可以从上面下载到最新源码,以及获取到相关的资料. 使用iOS ...

  2. ios数据持久化(转)

    文件系统 归档和序列化 数据库 1.文件系统 不管是Mac OS X 还是iOS的文件系统都是建立在UNIX文件系统基础之上的. 1.1 沙盒模型 在iOS中,一个App的读写权限只局限于自己的沙盒目 ...

  3. isKindOfClass in cocos2d-x

    在最新版2.*的cocos2d-x中isKindOfClass可以用如下代码代替. 未验证,不过看了引擎代码是这样写的   原代码 [s1 isKindOfClass:[DestHole class] ...

  4. Apache Tomcat/6.0.39如何配置连接mysql,JDBC:mysql-connector-java-5.1.30-bin.jar-成功连接心得

    http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html 前提:开启TOMCAT,MYsql MySQL ...

  5. 《流畅的python》读书笔记

    流畅的python 第1章 python数据模型 ---1.1 一摞Python风格的纸牌 特殊方法,即__method__,又被称为魔术方法(magic method)或者双下方法(dunder-m ...

  6. django中的分页器组件

    目录 django的组件-分页器 引入分页器 分页器demo 创建数据库模型 url控制器 views视图函数 templates模板 为什么要用分页器 导入分页器 分页器优化1 分页器优化2 有多少 ...

  7. linux makefile (English)

    ############################################################################## Generic Makefile for ...

  8. HTML第二课——css

    请关注公众号:自动化测试实战 先给大家提个建议,就是用sublime编辑器来编写.用其他的也无所谓,我只是建议,因为这个会帮你自动补全很多代码. css概念 css叫层叠样式表.意思就是一层一层的叠加 ...

  9. Linux内核时间

    1. printk打印的时间戳 [ 7236.595796] usb 2-1.1: new high-speed USB device number 15 using ehci-platform st ...

  10. STL版本号简单介绍

    说明:本文仅供学习交流.转载请标明出处.欢迎转载! 本文的參考文献为:<STL源代码剖析>侯捷        (1)HP STL:全部STL的祖先版本号,由C++之父Alexander S ...