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");
|  |      1vibbow      2015-01-11 22:38:20 +08:00 对于Windows用户: 插上网卡 -> 一路狂点下一步安装驱动 -> 搞定。 |