当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求助!Ubuntu9.04+中兴Mu350无线TD-SCDMA
帖子发表于 : 2009-05-28 13:19 

注册: 2008-09-23 8:59
帖子: 14
送出感谢: 0 次
接收感谢: 0 次
前两天弄了个3G,中兴的MU350无线网卡, usb接口TD-SCDMA,可是中兴没有带Linux下的驱动,网上查了几个方法,一直没有连接成功!
请教高手指点!
曾经尝试如下方法:
1.安装usb-modeswitch_0.9.7_i386.deb和 vodafone-mobile-connect_svn20090502_all.deb 两个包,没有成功
2.安装无线Window驱动程序ndiswrapper

$dmesg | tail -n 30
$cat /etc/fstab
$sudo fdisk -l
--------------------------------------------------------------------------------------------------------------------------------------------------
lic@dell-lic:~$ dmesg | tail -n 30
[ 3967.120086] usb 5-1: device not accepting address 19, error -110
[ 3967.148432] usb 5-1: USB disconnect, address 19
[ 3967.151336] scsi 8:0:0:0: Device offlined - not ready after error recovery
[ 3967.152654] scsi 8:0:0:0: [sr1] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[ 3967.152665] end_request: I/O error, dev sr1, sector 40
[ 3967.152672] __ratelimit: 22 callbacks suppressed
[ 3967.152678] Buffer I/O error on device sr1, logical block 5
[ 3967.152690] Buffer I/O error on device sr1, logical block 6
[ 3967.152697] Buffer I/O error on device sr1, logical block 7
[ 3967.152703] Buffer I/O error on device sr1, logical block 8
[ 3967.152709] Buffer I/O error on device sr1, logical block 9
[ 3967.152716] Buffer I/O error on device sr1, logical block 10
[ 3967.152722] Buffer I/O error on device sr1, logical block 11
[ 3967.152728] Buffer I/O error on device sr1, logical block 12
[ 3967.152734] Buffer I/O error on device sr1, logical block 13
[ 3967.152740] Buffer I/O error on device sr1, logical block 14
[ 3967.153374] scsi 8:0:0:0: rejecting I/O to dead device
[ 3967.153396] scsi 8:0:0:0: rejecting I/O to dead device
[ 3967.153409] scsi 8:0:0:0: rejecting I/O to dead device
[ 3967.340114] usb 5-1: new full speed USB device using uhci_hcd and address 20
[ 3982.452099] usb 5-1: device descriptor read/64, error -110
[ 3997.672314] usb 5-1: device descriptor read/64, error -110
[ 3997.888087] usb 5-1: new full speed USB device using uhci_hcd and address 21
[ 4013.000135] usb 5-1: device descriptor read/64, error -110
[ 4028.216150] usb 5-1: device descriptor read/64, error -110
[ 4028.432125] usb 5-1: new full speed USB device using uhci_hcd and address 22
[ 4038.841151] usb 5-1: device not accepting address 22, error -110
[ 4038.953051] usb 5-1: new full speed USB device using uhci_hcd and address 23
[ 4049.362076] usb 5-1: device not accepting address 23, error -110
[ 4049.362111] hub 5-0:1.0: unable to enumerate USB device on port 1

$cat /etc/fstab
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda1 :
UUID=4bfddb57-e482-415b-9322-9897abd192d2 / ext4 relatime,errors=remount-ro 0 1
# Entry for /dev/sda7 :
UUID=e6328072-024d-4250-8234-6fe4f7ba2b65 /home ext4 relatime 0 2
# Entry for /dev/sda6 :
UUID=1b1900c2-693e-463a-ace3-f0afa0500da6 /tmp ext4 relatime 0 2
# Entry for /dev/sda5 :
UUID=d5f0d15c-d8b3-4f66-80c7-538073293113 none swap sw 0 0

$ sudo fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002b9b5

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2490 20000893+ 83 Linux
/dev/sda2 2491 14593 97217347+ 5 Extended
/dev/sda5 2491 2614 995998+ 82 Linux swap / Solaris
/dev/sda6 2615 3236 4996183+ 83 Linux
/dev/sda7 3237 14593 91225071 83 Linux


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求助!Ubuntu9.04+中兴Mu350无线TD-SCDMA
帖子发表于 : 2009-05-28 13:27 

注册: 2008-09-23 8:59
帖子: 14
送出感谢: 0 次
接收感谢: 0 次
很奇怪的一点,就是刚插入USB无线3G卡时可以检测到有设备插入
$lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader
Bus 007 Device 002: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 019: ID 19d2:0003 =========>可以检测到
Bus 005 Device 002: ID 0461:4d15 Primax Electronics, Ltd
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
但是过一会大概是2分钟后就检测不到了
查看日志发现,系统在重新 Reset,一直挂载不成功?


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 求助!Ubuntu9.04+中兴Mu350无线TD-SCDMA
帖子发表于 : 2009-05-29 3:37 

注册: 2008-09-23 8:59
帖子: 14
送出感谢: 0 次
接收感谢: 0 次
问题得到解决,呵呵感谢google,关键的关键,是要把USB盘给挂载出来,有篇文章说到可能是不理解那个CDROM不能自动挂载。

出现的问题前面已经有了。解决方法简单说明下:
0.安装usb-modeswitch_0.9.7_i386.deb and vodafone-mobile-connect_svn20090502_all.deb两个包,但是
$sudo vodafone-mobile-connect-card-driver-for-linux 而在know devices并没有出现期望的结果,经过查找日志发现usb盘不能被挂载,不知道什么原因。

1.关键是要让MU350能挂载,查了很多资料看到:http://bbs.archlinux.org/viewtopic.php?id=43614 有点启发。
$lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 009: ID 19d2:0003 ====>mu350插上后马上运营lsusb在我的机器上是 ID 19d2:0003,可根据自己的查询获得
Bus 005 Device 002: ID 0461:4d15 Primax Electronics, Ltd
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

2./etc/udev/rules.d/45-vmc-zte.rules
# udevinfo -a -p /block/sr1

# On some kernels, such as those standard on Intrepid and Jaunty, the usb-storage
# module specifically ignores the ZTE CD storage device, this means we don't have
# any device to eject. A workaround is to use usb_modeswitch to send an eject byte
# sequence to the device. Usb_modeswitch of at least 0.9.7 is required so that
# the endpoint can be discovered programatically# Call the usb_modeswitch to eject the CD device
ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", \
ATTR{idVendor}=="19d2", ATTR{idProduct}=="0003", \ ==>增加这个要跟前面你自己lsusb查到的ID号对应哦
RUN+="/usr/sbin/vmc-usb_modeswitch-eject.sh %s{idVendor} %s{idProduct}"
==>要用vmc-usb_modeswitch-eject.sh这个,可以去看看*.sh

3.重新插拔MU350

4.$dmesg | tail -n 30
[ 2107.509954] usb-storage: device found at 9
[ 2107.509959] usb-storage: waiting for device to settle before scanning
[ 2108.486532] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 ==>终于看到曙光了呵呵
[ 2108.486561] option 5-1:1.0: device disconnected
[ 2109.492092] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 2109.492121] option 5-1:1.1: device disconnected
[ 2109.492237] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 2109.492261] option 5-1:1.2: device disconnected
[ 2109.492370] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3

5.$ sudo vim /etc/wvdial.conf
[Dialer Defaults]
Init1=ATZ
Init3=ATE0V1
Init5=ATS0=0
Init6=AT+CFUN=1
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB1
ISDN = 0
Phone = *99***1#
Username = any
Password = any
Stupid Mode = 1

6.sudo wvdial


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 求助!Ubuntu9.04+中兴Mu350无线TD-SCDMA
帖子发表于 : 2009-06-06 20:47 

注册: 2009-04-26 0:36
帖子: 53
送出感谢: 0 次
接收感谢: 0 次
我当时装的是usb-modeswitch_0.9.6_i386.deb和vodafone-mobile-connect_2.00.00-318_all.deb这两个版本文件,插上mu350后直接就dmesg出来ttyUSB0-3。设置好/etc/wvdial.conf ,sudo wvdial就可以上网了。
请看
viewtopic.php?f=116&t=203205

但现在有个问题,mu350不是常出新版本嘛,刷到最新版本后好像不能拨号了。还不清楚原因。如果你有空可以研究一下。我的mu350现在是P902M2V1.0.0B10版本文件,刷到最新P902M2V1.0.1B09版本文件按现在到配置就不行了。但dmesg仍可以看到ttyUSB0-3,看来是配置文件/etc/wvdial.conf需要改一改。


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 求助!Ubuntu9.04+中兴Mu350无线TD-SCDMA
帖子发表于 : 2009-06-22 12:58 

注册: 2009-06-19 1:45
帖子: 17
送出感谢: 0 次
接收感谢: 0 次
不要安装这个,usb-modeswitch_0.9.7_i386.deb换成1.0.2的版本就可以了.

http://www.linuxsir.org/bbs/showthread. ... ost2000062


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 求助!Ubuntu9.04+中兴Mu350无线TD-SCDMA
帖子发表于 : 2009-06-22 13:00 

注册: 2009-06-19 1:45
帖子: 17
送出感谢: 0 次
接收感谢: 0 次
usb-modeswitch_0.9.6_i386.deb不行,最好换成1.0.2的版本,
http://www.draisberghof.de/usb_modeswit ... .2.tar.bz2

配置文件:
REF: http://www.linuxsir.org/bbs/showthread. ... ost2000062


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译