不懂大家是否遇到过,有些小公司生产的usb3g网卡用usb_modeswitch在嵌入式linux上切换不过来,比如亿通的TU830和TU930,是否有什么办法实现MODEM的切换呢??请各位大侠指教
我用的是usb_mdoeswitch工具来切换,已经能顺利切换其他的3G卡,就这两个卡出问题。 当用usn_modeswitch -c usb_modeswitch.conf命令的时候,我跟踪程序,调用过程如下 usb_modeswitch.c-->usb_find_devices()-->linux.c-->usb_os_find_devices()-->ioctl(fd, IOCTL_usb_CONNECTINFO, &connectinfo);结果停止在这个ioctl函数了,为什么会停止呢?怎么解决? 除了usb_modeswitch之外,有什么其他的方法支持usb3g切换吗?
1、usb通过一定格式的信包按一定的规程传输信息,根据传输的内容分为4种传输类型: (1)控制型。用于设备设置与控制; 控制型信包的传递带有捡错、并须由接收方加以确认的可靠传递,如果发现传输出错就要重发 (2)等时型。用于实时的音频和视频信号; 不带捡错信息,不需要确认,不需要重发。 (3)中断型。实际上是用于对usb设备的周期性查询。 既有时间上的要求,又必须是可靠传递,但是信包较小; (4)成块型。用于信息...
本帖最后由 x-fish 于 2011-11-08 09:55 编辑 3G卡拨号方法一: 具体查看 /etc/ppp/ppp.conf.sample 和man ppp , man chat 等 # To connect via a GPRS or UMTS device (e.g. a mobile phone or a PC Card), # it's often necessary to set the access-point name (in this case 'internet') # which requires quotes in the dial string. This section shows the escaping # required. Devices that have not already authent...