中兴me3630 linux驱动移植

1、按照手册对驱动进行更改,手册可下载
https://download.csdn.net/download/ma_cheng_yuan/10896410
2、更改完成后ls /dev后应该出现ttyUSB0 ttyUSB1 ttyUSB2三个设备,但是并没有出现,通过dmesg | grep usb查看usb相关信息,出现如下错误

usb 2-1: new high-speed USB device number 2 using ci_hdrc
usb 2-1.1: new high-speed USB device number 3 using ci_hdrc
usb 2-1.1: rejected 1 configuration due to insufficient available bus power
usb 2-1.1: no configuration chosen from 1 choice
usb 2-1.1: new config #1 exceeds power limit by 400mA

3、可以临时通过如下方法更改后就会出现上述三个设备

echo 1>/sys/bus/usb/devices/2-1.1/bConfigurationValue

4、此时就可以编写上网程序了,后出现不能拨号,原因为route需要更改

route add default dev usb0

你可能感兴趣的:(linux)