bander
V2EX  ›  3G

3G 驱动配置

  •  
  •   bander · Jan 11, 2015 · 10429 views
    This topic created in 4145 days ago, the information mentioned may be changed or developed.

    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");

    vibbow
        1
    vibbow  
       Jan 11, 2015
    对于Windows用户:
    插上网卡 -> 一路狂点下一步安装驱动 -> 搞定。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2505 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 15:39 · PVG 23:39 · LAX 08:39 · JFK 11:39
    ♥ Do have faith in what you're doing.