根据我用来连接HSDPA调制解调器的USB端口,网络管理器将连接到internet或不连接internet。我以前在所有端口上工作(即自动建立互联网连接),但随着时间的推移,它只是在一些端口上停止工作。
在所有情况下,lsusb输出都是这样的(设备ID取决于USB端口):
Bus 001 Device 009: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem已添加
有关调制解调器的一个附加信息:如果通过USB连接,它将作为硬盘和HSDPA调制解调器(某种双重性.)提供。在错误情况下,它将只显示为硬盘。
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
Bus 002 Device 002: ID 413c:8000 Dell Computer Corp. BC02 Bluetooth Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 001 Device 005: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 413c:0058 Dell Computer Corp. Port Replicator
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
laptop:~$ dmesg | grep 'usb'
[ 0.225371] usbcore: registered new interface driver usbfs
[ 0.225387] usbcore: registered new interface driver hub
[ 0.225418] usbcore: registered new device driver usb
[ 0.504291] usb usb1: configuration #1 chosen from 1 choice
[ 0.504767] usb usb2: configuration #1 chosen from 1 choice
[ 0.505046] usb usb3: configuration #1 chosen from 1 choice
[ 0.505601] usb usb4: configuration #1 chosen from 1 choice
[ 1.061064] usb 1-6: new high speed USB device using ehci_hcd and address 3
[ 1.192636] usb 1-6: configuration #1 chosen from 1 choice
[ 1.447006] usb 2-2: new full speed USB device using uhci_hcd and address 2
[ 1.634908] usb 2-2: configuration #1 chosen from 1 choice
[ 1.708164] usb 1-6.1: new high speed USB device using ehci_hcd and address 4
[ 1.801668] usb 1-6.1: configuration #1 chosen from 1 choice
[ 2.076279] usb 1-6.1.1: new low speed USB device using ehci_hcd and address 5
[ 2.174932] usb 1-6.1.1: configuration #1 chosen from 1 choice
[ 6.580315] usb 1-6.1.2: new high speed USB device using ehci_hcd and address6
[ 6.683479] usb 1-6.1.2: configuration #1 chosen from 1 choice
[ 20.018671] usbcore: registered new interface driver btusb
[ 20.131703] usbcore: registered new interface driver usb-storage
[ 20.131988] usb-storage: device found at 6
[ 20.131991] usb-storage: waiting for device to settle before scanning
[ 20.207981] usb 1-6.1.2: USB disconnect, address 6
[ 20.291499] usbcore: registered new interface driver hiddev
[ 20.297052] input: Logitech USB Mouse as /devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6.1/1-6.1.1/1-6.1.1:1.0/input/input6
[ 20.297465] generic-usb 0003:046D:C00C.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:1d.7-6.1.1/input0
[ 20.297534] usbcore: registered new interface driver usbhid
[ 20.297803] usbhid: v2.6:USB HID core driver
[ 26.552360] usb 1-6.1.2: new high speed USB device using ehci_hcd and address 7
[ 26.663506] usb 1-6.1.2: configuration #1 chosen from 1 choice
[ 26.709628] usb-storage: device found at 7
[ 26.709631] usb-storage: waiting for device to settle before scanning
[ 26.732387] usb-storage: device found at 7
[ 26.732390] usb-storage: waiting for device to settle before scanning
[ 31.709568] usb-storage: device scan complete
[ 31.733676] usb-storage: device scan complete Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 413c:8000 Dell Computer Corp. BC02 Bluetooth Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg | grep 'usb'
[ 0.134811] usbcore: registered new interface driver usbfs
[ 0.134826] usbcore: registered new interface driver hub
[ 0.134858] usbcore: registered new device driver usb
[ 0.360327] usb usb1: configuration #1 chosen from 1 choice
[ 0.360783] usb usb2: configuration #1 chosen from 1 choice
[ 0.361061] usb usb3: configuration #1 chosen from 1 choice
[ 0.361611] usb usb4: configuration #1 chosen from 1 choice
[ 1.144122] usb 2-2: new full speed USB device using uhci_hcd and address 2
[ 1.346896] usb 2-2: configuration #1 chosen from 1 choice
[ 1.588072] usb 3-1: new low speed USB device using uhci_hcd and address 2
[ 1.761204] usb 3-1: configuration #1 chosen from 1 choice
[ 5.972042] usb 1-1: new high speed USB device using ehci_hcd and address 4
[ 6.115438] usb 1-1: configuration #1 chosen from 1 choice
[ 19.990565] usbcore: registered new interface driver usbserial
[ 19.991429] usb-storage: device found at 4
[ 19.991432] usb-storage: waiting for device to settle before scanning
[ 20.017260] usbcore: registered new interface driver usb-storage
[ 20.017305] usbcore: registered new interface driver usbserial_generic
[ 20.017308] usbserial: USB Serial Driver core
[ 20.017817] usb-storage: device found at 4
[ 20.017820] usb-storage: waiting for device to settle before scanning
[ 20.070796] usbcore: registered new interface driver btusb
[ 20.229525] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 20.229776] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 20.229843] usbcore: registered new interface driver option
[ 20.230396] usbcore: registered new interface driver hiddev
[ 20.246280] input: Logitech USB Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input6
[ 20.246438] generic-usb 0003:046D:C00C.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:1d.1-1/input0
[ 20.246479] usbcore: registered new interface driver usbhid
[ 20.246483] usbhid: v2.6:USB HID core driver
[ 25.436579] usb-storage: device scan complete
[ 25.437674] usb-storage: device scan complete 发布于 2011-10-04 16:17:51
给定输出,我们可以在这里假设如下:
wvdial.conf或99-udev-huawei-rules.conf概述的这里,它应该是开箱即用的。发布于 2012-06-17 14:42:21
在Windows7对我的E156G (黑色"3“意大利3G互联网供应商),我注意到,它的工作只注意到一个USB集线器,可能是一个通信问题,集线器过滤。WMWare Windows虚拟化端口上的扫描器驱动程序也出现了类似的解决方案。
两个驱动程序与USB集线器识别,原来的拨号程序可以在Windows 7上正常工作,但只有一个驱动程序可以直接插入USB笔记本端口,设备也不能完全识别,拨号程序也不能识别硬件。没有出现第二个驱动程序。所以,试着在设备之间使用USB集线器。
我的USB集线器是targus透明蓝色的(Targus的Ultra Mini USB2.0 4-端口集线器)。
发布于 2011-10-01 10:49:45
您需要做的是确保当您连接时,它处于正确的模式。也就是说,它应该被认为是调制解调器,而不是光盘。有几种方法可以实现这一点,一种是确定光盘的id,通常是sr*,其中*可以是某个数字。你需要用
sudo eject /dev/sr1用查看dmesg的相关标识符替换1。
你可以使用usb模式自动为你做这件事。如果我没有弄错的话,它可以在ubuntu回购中找到。链接在这里
编辑:
[Dialer cdma]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Baud = 115200
SetVolume = 0
; New PPPD = yes
Modem = /dev/ttyUSB0
Dial Command = ATDT
Phone = #777
Password = mts
Username = internet@internet.mtsindia.in
/etc/wvdial.conf (END)这是我的wvdial.conf,您需要根据您使用的载体和位置更改用户名和密码。
是的,当调制解调器工作时,它既是存储设备,也是调制解调器。
https://askubuntu.com/questions/63028
复制相似问题