|
开发平台:TQ2440
LINUX版本:3.8.6
MC2716的驱动方式:使用内核默认的option驱动,已添加了模块的相关设备信息
上电至系统运行稳定后接上3G网卡打印如下信息:
# usb 1-1: new full-speed USB device number 2 using s3c2410-ohci
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
option 1-1:1.2: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
option 1-1:1.3: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
说明内核已经找到了相应的网卡驱动并创建了4个设备节点。
实验的步骤和出现问题及现象如下:
1、开始拨号(pppd call evdo) --->拨号成功--->拔插一次再拨号,提示的错误如下:
# pppd: In file /etc/ppp/peers/evdo: unrecognized option '/dev/ttyUSB0'
2、先不拨号,而是cat /dev/ttyUSB0,有时能运行有时提示的错误如下:
cat: can't open '/dev/ttyUSB0': No such device or address
用ls -l /dev/ttyUSB* 查看显示:
/dev/ttyUSB0
/dev/ttyUSB1
/dev/ttyUSB2
/dev/ttyUSB3 |
|