Quectel module USB driver for linux
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<E_Linux_USB_Driver_User_Guide_V1.8.pdf ”
reference:
WCDMA<E Linux USB Driver User Guide
UMTS/HSPA/LTE Module Series
Rev. WCDMA<E_Linux_USB_Driver_User_Guide_V1.
Date: --01
www.quectel.com
Quectel module USB driver for linux的更多相关文章
- writing a usb driver(在国外的网站上复制下来的)
Writing a Simple USB Driver From Issue #120April 2004 Apr 01, 2004 By Greg Kroah-Hartman in Soft ...
- 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 ...
- 移动设备 小米2S不显示CD驱动器(H),便携设备,MTP,驱动USB Driver,MI2感叹号的解决方法
小米2S不显示CD驱动器(H),便携设备,MTP,驱动USB Driver,MI2感叹号的解决方法 by:授客 QQ:1033553122 用户环境 操作系统:Win7 手机设备:小米2S 问题描 ...
- Delphi 调试连接 任意Android手机/平板/盒子(要安装Google USB Driver,并且还有USB的相关许多文章)
Delphi有时候无法连接调试一些手机,解决方案: 1.安装Google USB Driver 2.通过设备管理器查看手机或平板USB的VID,PID 3.修改你的电脑上的android_winusb ...
- 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 ...
- 转 linux 下装 usb driver
http://www.george-smart.co.uk/wiki/Xilinx_JTAG_Linux
- usb driver编写 (转)
在开头补上LDD3的一句话:如果 USB 驱动没有和另一种处理用户和设备交互的子系统(例如 input, tty, video, 等待)关联, 驱动可使用 USB 主编号为了使用传统的和用户空间之间的 ...
- 怎么找到占用usb的模块,linux下Jlink连接失败
问题是这样产生的,我在linux下安装jlink,启动JLinkExe执行,总是提示不能通过usb连接: SEGGER J-Link Commander V5.10q (Compiled Mar :: ...
- 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 ...
随机推荐
- linux 优化git操作速度
修改 ssh配置:useDNS:no
- Ajax请求数据的两种方式
ajax 请求数据的两种方法,有需要的朋友可以参考下. 实现ajax 异步访问网络的方法有两个.第一个是原始的方法,第二个是利用jquery包的 原始的方法不用引入jquery包,只需在html中编写 ...
- ListBox item Sort
将Rss内容读取到Listbox control中, 然后实现按照标题或发布日期进行排序. private void ListItemSort(string type) { if (type == & ...
- 【opencv基础】pointPolygonTest
pointPolygonTest opencv函数 pointPolygonTest: C++: double pointPolygonTest(InputArray contour, Point2f ...
- Unity 3D游戏-消消乐(三消类)教程和源码
Unity 消消乐教程和源码 本文提供全流程,中文翻译.Chinar坚持将简单的生活方式,带给世人!(拥有更好的阅读体验 -- 高分辨率用户请根据需求调整网页缩放比例) 1 Start Game -- ...
- TP框架连接mongodb报错及解决办法
mongodb版本3.4.7 1.认证错误:Failed to connect to: localhost:27017: Authentication failed on database 'test ...
- HDU 4666 最远曼哈顿距离
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=4666 关于最远曼哈顿距离的介绍: http://blog.csdn.net/taozifish/ar ...
- test20180922 古代龙人的谜题
题意 问题描述 Mark Douglas是一名调查员.他接受了「调查古代龙人」的任务.经过千辛万苦,Mark终于找到了一位古代龙人.Mark找到他时,他正在摆弄一些秘药,其中一些药丸由于是从很久以前流 ...
- 重磅来袭,开源Asp.Net MVC网上商城BrnShop正式发布,提供源码下载(转)
BrnShop网上商城是以Asp.Net mvc3为基础开发的网上商城,源代码完全开源(企业版的源代码目前还没有完全整理完成,一旦整理完成也全部开源). 啥话也不说了,直接上源码:下载源码(由于公司服 ...
- map和jsonObject 这2中数据结构之间转换
前台写json直接是:var array = [ ] ; 调用方法:array[index],若是对象,再[“key”] var obj = {''a'':123 , "b":&q ...