You are not logged in.

#1 2017-11-27 09:25:46

rg_rg
Member
Registered: 2008-10-16
Posts: 12

USB 4G dongle fail

I have Huawei E8372 device, which has been successfully working until today. Now its respective entry is always present in ip link list, even if the device itself is removed, but I cannot bring up the virtual interface.
Output of the lsusb:

Bus 001 Device 007: ID 12d1:1f01 Huawei Technologies Co., Ltd. E353/E3131 (Mass storage mode)

Output of the ip link, when device is plugged:

3: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 54:e1:ad:ae:43:67 brd ff:ff:ff:ff:ff:ff

Output of the ip link, when device is unplugged:

3: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 54:e1:ad:ae:43:67 brd ff:ff:ff:ff:ff:ff

This is strange, because another usb 4g devices immediately disappear from virtual interfaces list, if being unplugged. Also, if I run

 ip link set enp0s31f6 up 

the link is never brought up.

And if I run

ip link delete enp0s31f6

The result is

RTNETLINK answers: Operation not supported

This issue was first seen when I plugged another usb dongle from another manufacturer. It has been picked up successfully and working, but this one is failing now.
Also, when I plug in the Huawei device, following series of messages appear in logs:

print_req_error: critical medium error, dev sr0, sector 16368
print_req_error: critical medium error, dev sr0, sector 16368
print_req_error: critical medium error, dev sr0, sector 16360
print_req_error: critical medium error, dev sr0, sector 16360

Offline

#2 2017-11-27 14:06:17

rg_rg
Member
Registered: 2008-10-16
Posts: 12

Re: USB 4G dongle fail

Solved. The trick was that the device somehow set in the wrong mode. Fixes by usb_modeswitch command:

usb_modeswitch -v 12d1 -p 1f01 -M "55534243123456780000000000000a11062000000000000100000000000000"

Offline

Board footer

Powered by FluxBB