3g dongle - help needed

following instruction here:
https://openwrt.org/docs/guide-user/network/wan/wwan/3gdongle

no tty usb in folder /dev

dmesg | grep usb
[ 1.360709] phy phy-usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[ 3.922363] usbcore: registered new interface driver usbfs
[ 3.927919] usbcore: registered new interface driver hub
[ 3.933271] usbcore: registered new device driver usb
[ 3.943055] xhci-mtk 11200000.usb: xHCI Host Controller
[ 3.948333] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[ 3.958743] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[ 3.967919] xhci-mtk 11200000.usb: irq 87, io mem 0x11200000
[ 3.973678] xhci-mtk 11200000.usb: xHCI Host Controller
[ 3.978899] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[ 3.986295] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[ 4.001811] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 8.405877] usbcore: registered new interface driver cdc_acm
[ 8.451410] usbcore: registered new interface driver usbserial_generic
[ 8.458051] usbserial: USB Serial support registered for generic
[ 11.613866] usbcore: registered new interface driver option
[ 11.619515] usbserial: USB Serial support registered for GSM modem (1-port)
[ 74.213364] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[ 2106.077737] usb 1-1: USB disconnect, device number 2

after connecting the device:

dmesg | grep usb
[ 1.360709] phy phy-usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[ 3.922363] usbcore: registered new interface driver usbfs
[ 3.927919] usbcore: registered new interface driver hub
[ 3.933271] usbcore: registered new device driver usb
[ 3.943055] xhci-mtk 11200000.usb: xHCI Host Controller
[ 3.948333] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[ 3.958743] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[ 3.967919] xhci-mtk 11200000.usb: irq 87, io mem 0x11200000
[ 3.973678] xhci-mtk 11200000.usb: xHCI Host Controller
[ 3.978899] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[ 3.986295] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[ 4.001811] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 8.405877] usbcore: registered new interface driver cdc_acm
[ 8.451410] usbcore: registered new interface driver usbserial_generic
[ 8.458051] usbserial: USB Serial support registered for generic
[ 11.613866] usbcore: registered new interface driver option
[ 11.619515] usbserial: USB Serial support registered for GSM modem (1-port)
[ 74.213364] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[ 2106.077737] usb 1-1: USB disconnect, device number 2
[ 2429.405299] usb 1-1: new high-speed USB device number 3 using xhci-mtk

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.167 xhci-hcd xHCI Host Controller

Bus 001 Device 003: ID 12d1:14fe HUAWEI HUAWEI Mobile

Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.167 xhci-hcd xHCI Host Controller

Please show the output of cat /sys/kernel/debug/usb/devices
and tell what is the model name of the dongle

1 Like

search the forum for 12d1:14fe.

You can dial if your area still has 3G coverage.

When the device was plugged in, the kernel's core USB functions recognized it was plugged in. This should have been followed by additional messages as a specific driver claimed and configured it. That did not happen, which means that the correct driver is not installed, or the modem has a vendor:product hex ID that is unknown to any driver.

The first thing to try with any USB modem is connect it to a laptop or desktop running a full-feature Linux distribution and confirm that it can connect to the Internet. Then check that machine's logs to see which driver is being used.

1 Like

cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.15
S: Manufacturer=Linux 5.15.167 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=11200000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 1.02
S: Manufacturer=HUAWEI
S: Product=HUAWEI Mobile
C:* #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=option
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I: If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=03 Driver=option
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=02 Driver=option
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=10000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.15
S: Manufacturer=Linux 5.15.167 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=11200000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

E3131

ok gud, needed the usb-modeswitch be installed.

thank you

You need to follow these instructions:
https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_ncm

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.