3G 驱动配置

2015-01-11 20:40:07 +08:00
 bander

3G
需修改文件(华为模块)
linux-3.10.14/drivers/usb/serial/option.c
linux-3.10.14/drivers/usb/serial/usb_wwan.c
linux-3.10.14/drivers/usb/serial/usb_wwan.h
linux-3.10.14/include/linux/usb.h

如果已经打过补丁 不需要修改上面文件

1、USB 串口驱动 编译配置项
make kernel_menuconfig
Device Drivers --->

[] USB support --->

<
> Support for Host-side USB
<> USB Serial Converter support --->

[
] USB Generic Serial Driver

<*> USB driver for GSM and CDMA modems

2、PPP 拨号的相关配置项
make kernel_menuconfig
Device Drivers --->

[] Network device support --->

<
> PPP (point-to-point protocol) support
<*> PPP BSD-Compress compression

3、CDC ECM 驱动编译配置项
make kernel_menuconfig
Device Drivers --->
[] Network device support --->
USB Network Adapters --->
<
> Multi-purpose USB Networking Framework
<> CDC Ethernet support (smart devices such as cable modems)
<
> CDC MBIM support
4、页面luci
make menuconfig
LuCI(MTK) --->
6. Protocols --->
<> luci-proto-3g............................................. Support for 3G

Q9 模块未带电源管理
参考文档
TF卡
Device Drivers --->

<
> MMC/SD/SDIO card support --->

<> MMC block device driver
[
] Use bounce buffer for simple hosts

<> MTK SD/MMC
[
] MTK AEE KDUMP

File systems --->

<> The Extended 4 (ext4) filesystem

[
] Use ext4 for ext2/ext3 file systems
[*] Ext4 POSIX Access Control Lists

-----------MSDOS fs和VFAT fs--------------
File systems --->
DOS/FAT/NT Filesystems --->
<> MSDOS fs support

<
> VFAT (Windows-95) fs support

(936) Default codepage for FAT

(cp936) Default iocharset for FAT

<> NTFS file system support

[
] NTFS debugging support

[*] NTFS write support

tf卡挂载路径
/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/fstools-2014-06-22# vi block.c

snprintf(target, sizeof(target), "/mnt/%s", "media");

9259 次点击
所在节点    3G
1 条回复
vibbow
2015-01-11 22:38:20 +08:00
对于Windows用户:
插上网卡 -> 一路狂点下一步安装驱动 -> 搞定。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/161203

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX