在android 4.2.2上调试MU609步骤,WCDMA
分类: Android/Linux开发2013-05-15 15:46 521人阅读 评论(0) 收藏 举报
android4.2.2 mu609
1.修改kernel\drivers\usb\serial\option.c,添加MU609的ID号
[cpp] view plaincopy
1. #define HUAWEI_PRODUCT_E353 0x1506
2.对kernel进行配置,make menuconfig打开以下几项
[html] view plaincopy 1. Device Drivers -> USB support -> USB Serial Converter support -> USB driver for GSM and CDMA modems
2. Device Drivers -> Network device support -> PPP (point-to-point protocol) support -> PPP MPPE compression (encryption) (EXPERIMENTAL)
3. Device Drivers -> Network device support -> PPP (point-to-point protocol) support -> PPP support for async serial ports
第一个选项打开之后开机就会识别到MU609为GSM modem,否则只会看到有USB插拔的信息,不会识别为GSM MODEM,正确识别后的Log如下:
[html] view plaincopy 1. <6>[ 1.929557] usb 3-1: new high-speed USB device number 2 using exynos-xhci
2. <6>[ 1.949389] usb 3-1: New USB device found, idVendor=12d1, idProduct=1506
3. <6>[ 1.949483] usb 3-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
4. <6>[ 1.949595] usb 3-1: Product: HUAWEI Mobile
5. <6>[ 1.949645] usb 3-1: Manufacturer: Huawei Technologies
6. <6>[ 1.949950] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 400000Hz, actual 390625HZ div = 32)
7. <6>[ 1.956711] option 3-1:1.0: GSM modem (1-port) converter detected
8. <6>[ 1.956911] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
9. <6>[ 1.957187] option 3-1:1.1: GSM modem (1-port) converter detected