4G闪存的6410-A使用使用上网卡上网
大家好,这里有一块6410-a的板子,4g闪存,我在3.0.1内核源码的/driver/usb/serial/option.c中加入usb上网卡的产品号和厂商号之后编译下载启动,有时会出现/dev/ttyUSB0到ttyUSB4这5个节点,有时没有(很蛋疼)。就算是出现之后也不正常,还没拨号就会有无数个-84 和-71的错误码。在2440的2.6.28.7上面是可以用的,但是闪存太小,这个如何破?谢谢啦yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
usb 1-1: not running at top speed; connect to a high speed hub
usb 1-1: New USB device found, idVendor=05c6, idProduct=9025
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Manufacturer: Android
usb 1-1: SerialNumber: 0123456789ABCDEF
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
option 1-1:1.4: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -84
option: option_instat_callback: error -71 现在就是想让这个4g NandFlash的板子能用vendor=0x05c6 product=0x9025的上网卡上网,3.0.1内核会弹错,option_instat_callback 这个是内核/driver/usb/serial/option.c中的一个函数。 在2440的2.6.28.7内核上该上网卡是可以用的,拨号没问题,跑起来很稳定。 本帖最后由 光与存在 于 2014-10-31 13:08 编辑
该问题总算有了点眉目,在国外的论坛看到了相似的问题,http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=410打开该链接需要翻墙的哦,简单粗暴的方法是下载个“自由门”。下面摘录两段与大家分享。
Josh:There are Huawei problems introduced with the kernel series you use, due to a firmware bug. But they affected mostly the storage inte**ces of the switched devices, in many cases causing a reset which switched the whole thing back into the initial mode.
If that is the cause of your trouble - which I'm not entirely certain of - you could remove the usb-storage driver (after unmounting any automounted devices) and see if that helps. If so, look for a kernel above 2.6.31.5 where a workaround for the problem was included. Josh:This is plain wrong, unfortunately. The example being the Huawei problem with kernel 2.6.32. It is a firmware bug that was not exposed on Windows and on Linux versions before; but when the storage driver was aligned with the official USB specification a little more strictly, the bug hit.
So, "working on Windows" is indeed no qualification for "bugfree". 翻译一下第二段,大家不要莫笑我:
不幸的是,这(指下面的英文)是完全错误的。华为在2.6.32内核上的问题就是一个例子(弹出错误-71或-84),这是一个在Windows和以前版本的linux上不会暴露的固件(和我以前理解的”固件“二字不大一样哎)bug;但是当存储驱动程序与USB的官方规范更吻合,bug显露了。
dchard wrote:
The firmware/hardware failures can be excluded because these devices are working fine on windows. 那么问题来了,现在要让2.6.28的内核跑在这个4g闪存的板子上,我按照2.6.28的使用手测制作了sd卡,但是烧写的时候没有成功,记得提示是没找到设备,意思是这个内核不支持4G闪存的这个板子吗?修改一下可以成功吗?在看尝试中。哪位大神给点建议呀,不胜感激。。。。。。。。。。。。。。。
页:
[1]