首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Ubuntu无法检测到带有Airtel 4G连接的华为E392 USB调制解调器

Ubuntu无法检测到带有Airtel 4G连接的华为E392 USB调制解调器
EN

Ask Ubuntu用户
提问于 2015-07-22 10:30:40
回答 1查看 2.4K关注 0票数 1

Ubuntu无法检测到带有Airtel 4G连接的华为E392 USB调制解调器。

输出lsusb

代码语言:javascript
运行
复制
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 003 Device 002: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 003 Device 003: ID 04b3:3025 IBM Corp. 
Bus 003 Device 006: ID 12d1:1505 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard

输出dmesg

代码语言:javascript
运行
复制
[  331.084423] usb 3-7: new high-speed USB device number 6 using xhci_hcd
[  331.103177] usb 3-7: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
[  331.103184] usb 3-7: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
[  331.109954] scsi8 : usb-storage 3-7:1.0
[  332.109577] scsi 8:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
[  332.157291] sr0: scsi3-mmc drive: 0x/0x caddy
[  332.157626] sr 8:0:0:0: Attached scsi CD-ROM sr0
[  332.157852] sr 8:0:0:0: Attached scsi generic sg1 type 5
[  332.291031] scsi 8:0:0:0: killing request

有人能帮我解决这个问题吗?

EN

回答 1

Ask Ubuntu用户

发布于 2015-07-22 10:35:27

在终端运行

代码语言:javascript
运行
复制
sudo -H gedit /lib/udev/rules.d/40-usb_modeswitch.rules

并在文件中添加一行。

代码语言:javascript
运行
复制
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1505", RUN+="usb_modeswitch '%b/%k'"

那就跑

代码语言:javascript
运行
复制
sudo -H gedit /etc/usb_modeswitch.d/12d1:1505

并将此文本粘贴到编辑器。

代码语言:javascript
运行
复制
 TargetVendor= 0x12d1
 TargetProduct= 0x1505
 MessageContent="55534243123456780000000000000011062000000100000000000000000000"

保存文件。

拔下调制解调器,再插一次。在大约20秒内,尝试创建一个连接。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/651292

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档