我刚刚安装了 ubuntu 18.04 并想通过我的 qualcomm usb 调制解调器使用互联网它没有检测到调制解调器但是当我运行“lsusb”时它会带来这个
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2a Intel Corp.
Bus 001 Device 003: ID 5986:1135 Acer, Inc
Bus 001 Device 006: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
我尝试了一种我在这里看到的方法https://ubuntuforums.org/showthread.php?t=2074129
这是'usb_modeswitch -W -v 05c6 -p 1000 -K'的报告
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.2 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x05c6
DefaultProduct= 0x1000
StandardEject=1
Look for default devices ...
found USB ID 1d6b:0003
found USB ID 8087:0a2a
found USB ID 5986:1135
found USB ID 05c6:1000
vendor ID matched
product ID matched
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 006 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: Qualcomm, Incorporated
Product: Qualcomm CDMA Technologies MSM
Serial No.: 351602000025260
-------------------------
Sending standard EJECT sequence
Looking for active drivers ...
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 2 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x01 ...
Device seems to have vanished right after sending. Good.
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
一点 udev 魔法。
创造
让 udev 重新加载规则。
PS修复错误的文件名
重新插入调制解调器。
找到 udev 规则