1:User-space applications configuration
Kernel/Library/Defaults Selection --->
[*]Customize Vendor/User Settings
Network Applications --->
[*] 3G connection
2:User-space applications configuration
Kernel/Library/Defaults Selection --->
[*] Customize Busybox SettingsLinux System Utilities --->
[*] mdev[*] Support /etc/mdev.conf[*] Support subdirs/symlinks[*] Support regular expressions substitutions when renaming device[*] Support command execution at device addition/removal
3:USB Host driver
Kernel/Library/Defaults Selection --->
[*] Customize Kernel SettingsDevice Drivers --->
[*] USB support ---><*> Support for Host-side USB[*] USB device filesystem<*> EHCI HCD (USB 2.0) support[*] Ralink EHCI HCD support<*> OHCI HCD support[*] Ralink OHCI HCD support
4:USB 3G dongle driver
Kernel/Library/Defaults Selection --->
[*] Customize Kernel Settings
Device Drivers --->[*] USB support --->[*] USB Serial Converter support --->[*] USB driver for GSM and CDMA modems
5:PPP driver
Kernel/Library/Defaults Selection --->
[*] Customize Kernel Settings
Device Drivers --->
[*] Network device support --->[*] PPP (point-to-point protocol) support[*] PPP support for async serial ports
6:Device hot plugging
Kernel/Library/Defaults Selection --->
[*] Customize Kernel SettingsGeneral setup --->
[*] Configure standard kernel features (for small systems) --->[*] Support for hot-pluggable devices
7:Sysfs filesystem
Kernel/Library/Defaults Selection --->[*] Cu File systems --->Pseudo filesystems --->[*] sysfs file system supportPseudo filesystems --->[*] sysfs file system supportPseudo filesystems --->[*] sysfs file system support
8:linux-2.6.36.x/drivers/usb/serial/option.c 添加: 1.#define HUAWEI_PRODUCT_E3520x1506 2.{ USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E352) }, 9:user/usb_modeswitch-0.9.5/usb_modeswitch.conf 添加:
;DetachStorageOnly=1 ;HuaweiMode=1 |
DefaultVendor= 0x12d1 |
DefaultProduct= 0x14fe |
TargetVendor= 0x12d1 |
TargetProduct= 0x1506 |
MessageEndpoint= 0x01 |
MessageContent= "55534243123456780000000000000011062000000100000000000000000000" |
CheckSuccess= 20 |
10:user/rt2880_app/scripts/autoconn3G.sh 添加 SUPPORT_3G="
12D1:14FE:HUAWEI-E352
12D1:1506:HUAWEI-E352" 11:user/rt2880_app/scripts/3g.sh 添加
elif [ "$dev" = "HUAWEI-E352" ]; then usb_modeswitch -c /etc_ro/usb/usb_modeswitch_HUAWEI-E352.conf 12:啟動wan.sh腳本