华为 EC315 3G Dongle 在 Ubundu 中无法使用

华为 EC315 3G Dongle 在 Ubundu 中无法使用

我是 Ubuntu 新手。我有一块用于嵌入式开发的 Ubuntu 运行板。我正在尝试配置华为 EC315 调制解调器以实现网络连接。

输出lsusb如下:

root@texe_hub:~# lsusb

lsusb: cannot open "/usr/share/usb.ids", No such file or directoryBus 002 Device 001: ID 1d6b:0002

Bus 001 Device 002: ID 12d1:14db

Bus 001 Device 001: ID 1d6b:0002

我可以使用以下命令成功将设备从大容量存储切换到调制解调器:

root@texe_hub:/etc/udev/rules.d# usb_modeswitch -v 12d1 -p 1f01 -J

Look for default devices ...

product ID matched

Found devices in default mode (1)

Access device 003 on bus 001

Current configuration number is 1

Use interface number 0

Use endpoints 0x01 (out) and 0x81 (in)


USB description data (for identification)
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided

Using standard Huawei switching message

Looking for active driver ...

OK, driver detached

Set up interface 0

Use endpoint 0x01 for message sending ...

Trying to send message 1 to endpoint 0x01 ...

OK, message successfully sent

Reset response endpoint 0x81

Reset message endpoint 0x01

-> 运行 lsusb 来记录任何变化。再见!

此后,当我尝试使用加载驱动程序时modprobe,出现以下错误。

root@texe_hub:~# modprobe usbserial vendor=0x12d1 product=0x14db

[ 312.839711] usbcore: registered new interface driver usbserial

[ 312.857796] usbcore: registered new interface driver usbserial_generic

[ 312.877136] usbserial: USB Serial support registered for generic

[ 312.883334] usbserial_generic 1-1:1.0: Generic device with no bulk out, not allowed.

[ 312.904695] usbserial_generic: probe of 1-1:1.0 failed with error -5

[ 312.911203] usbserial_generic 1-1:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.

[ 312.934684] usbserial_generic 1-1:1.1: Tell [email protected] to add your device to a proper driver.

[ 312.954987] usbserial_generic 1-1:1.1: generic converter detected

[ 312.979489] usb 1-1: generic converter now attached to ttyUSB0

如何修复此问题?请指导我该怎么做才能使其正常工作。

相关内容