12d1:1f01 -> 12d1:14dc.
lsusb names 12d1:14dc as
Code: Select all
Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard
Usb_modeswitch works out of the box, with two annoyances:
1.
If the device worked on one OS, and warm reboot changes the OS to another one on a dual boot machine, the device doesn't get automatically fully working. I have to disconnect, and reconnect it, to get it fully working. When it worked on Windows, and warm reboot was made into linux, I can see by lsusb that it is already switched to 12d1:14dc. As if it kept the switching Windows forced it into. Yet linux does not recognizes it as a network adapter. The corresponding cdc_ether kernel module doesn't get loaded automatically. And even if I modprobe it manually, the device is not recognized as a network adapter. ip link doesn't list it. What can I do from the command line to make it reset, or something?
Code: Select all
usb_modeswitch --reset-usb -v 12d1 -p 14dc
Code: Select all
Look for default devices ...
Found devices in default mode (1)
Access device 002 on bus 002
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 224
Warning: no switching method given. See documentation
Reset USB device .
Device was reset
-> Run lsusb to note any changes. Bye!
2.
When cold booting the machine into linux (after it was powered off), log has:
I hope I captured it all:
Code: Select all
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 cmd_age=0s
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 Sense Key : 0x3 [current]
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 ASC=0x11 ASCQ=0x0
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 CDB: opcode=0x28 28 00 00 00 ff fc 00 00 02 00
Mar 09 02:26:41 kernel: blk_update_request: critical medium error, dev sr1, sector 262128 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
Mar 09 02:26:41 kernel: attempt to access beyond end of device
Mar 09 02:26:41 kernel: sr1: rw=0, want=262136, limit=262128
Mar 09 02:26:41 kernel: Buffer I/O error on dev sr1, logical block 32766, async page read
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 cmd_age=0s
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 Sense Key : 0x3 [current]
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 ASC=0x11 ASCQ=0x0
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 CDB: opcode=0x28 28 00 00 00 fe 80 00 00 3c 00
Mar 09 02:26:41 kernel: blk_update_request: critical medium error, dev sr1, sector 260608 op 0x0:(READ) flags 0x80700 phys_seg 5 prio class 0
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 cmd_age=0s
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 Sense Key : 0x3 [current]
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 ASC=0x11 ASCQ=0x0
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 CDB: opcode=0x28 28 00 00 00 fe 80 00 00 02 00
Mar 09 02:26:41 kernel: blk_update_request: critical medium error, dev sr1, sector 260608 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Mar 09 02:26:41 kernel: Buffer I/O error on dev sr1, logical block 32576, async page read
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 cmd_age=0s
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 Sense Key : 0x3 [current]
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 ASC=0x11 ASCQ=0x0
Mar 09 02:26:41 kernel: sr 6:0:0:0: [sr1] tag#0 CDB: opcode=0x28 28 00 00 00 ff fa 00 00 02 00
Mar 09 02:26:41 kernel: blk_update_request: critical medium error, dev sr1, sector 262120 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
Mar 09 02:26:41 kernel: attempt to access beyond end of device
Mar 09 02:26:41 kernel: sr1: rw=0, want=262128, limit=262120
Mar 09 02:26:41 kernel: Buffer I/O error on dev sr1, logical block 32765, async page read
If I am right, do you think it is a hardware fault? Something does want more than the limit. 262128, where the limit is 262120. Or, some time sooner, 262136, where the limit is 262128.