HSDPA 數據機僅在某些 USB 連接埠上運作

HSDPA 數據機僅在某些 USB 連接埠上運作

取決於哪個USB連接埠我用來連接我的HSDPA 數據機,網路管理器將連接或不連接網路。我曾經在所有連接埠上工作(即自動建立網路連線),但隨著時間的推移,它只是在某些連接埠上停止。

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   

答案1

給定輸出,我們可以假設如下:

  • 這與硬體故障無關。
  • 數據機有一個帶有 Windows 驅動程式的虛擬 CD-ROM,這些驅動程式在這裡毫無用處,而且只會令人煩惱。
  • ubuntu modemmanager 軟體包專門用於處理這些問題(例如禁止安裝假 CD-ROM),並且擁有不斷增長的數據機和服務提供者資料庫。看維基百科如果他們已經有你的,以及如果沒有的話如何添加。
  • 不需要像wvdial.conf99-udev-huawei-rules.conf概述那樣手工製作文本這裡,它應該開箱即用。
  • 這很可能是一個錯誤、缺少條目或兩者兼而有之。它甚至可能已經被修復了,所以你可以透過嘗試調製解調器管理器/網路管理器 PPA 或測試它是否可以在具有 Live CD 的 oneiric 中工作來取得一些成功。
  • 如果您向提供者索取較舊版本的調製解調器,您甚至可能會立即獲得成功(如果它與您的合約捆綁在一起,則該計劃的有效期超過六個月,並且商店的銷售人員足夠聰明,可以將退回的調變解調器保留在原處)。

答案2

在我的 E156G(黑色「3」三個義大利 3G 網路供應商)的 Windows 7 中,我注意到它只能連接到 USB HUB,可能是 HUB 過濾的通訊問題。透過 WMWare Windows XP 虛擬化連接埠的掃描器驅動程式也有類似的解決方案。

USB HUB 可以識別兩個驅動程序,原始撥號器在Windows 7 上工作正常,但如果我將其直接插入USB 筆記本端口,則只能使用一個驅動程序,並且設備無法完全識別,撥號器也無法識別硬件。第二個司機沒有出現。所以,設備之間盡量使用USB HUB。

我的 USB 集線器是一款 targus 半透明藍色集線器(Targus 的超迷你 USB 2.0 4 連接埠集線器)。

答案3

您的數據機應該可以在任何 USB 上工作,但硬碟通常無法在筆記型電腦上工作,因為並非所有 USB 都是相同的(有些 USB 不供電 - 或者可能不足以支援硬碟)。在我的筆記本上,我有 2 個 USB 和 1 個 USB+firewire,無法透過外部電源供電的硬碟只能在 USB+firewire 上工作。帶有 PSU 的硬碟可在所有 USB 中運作。

答案4

您需要做的是確保連接時處於正確的模式。也就是說,它應該被識別為調製解調器而不是光碟。有幾種方法可以實現此目的,一種是確定光碟的 ID,通常是 sr*,其中 * 可以是某個數字。您需要使用將其彈出

sudo eject /dev/sr1

將 1 替換為您查看 dmesg 的相關識別碼。

您可以使用 usb-modeswitch 自動為您完成此操作。如果我沒記錯的話,它可以在 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 = [email protected]
/etc/wvdial.conf (END)

這是我的 wvdial.conf,您需要根據您使用的運營商和您所在的位置更改使用者名稱和密碼。

是的,當調製解調器工作時,它會被檢測為儲存設備和數據機。

相關內容