I’m trying to use a 4G modem D-Link
When I turn the modem into a USB port, the signal light changes from red to green but there is no connection.
In “Network Connections”, the “Mobile Broadband” tab remains disabled.
linux-kplg:/home/sergio # dmesg | grep -i modem
6.406660] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
linux-kplg:/home/sergio # lsusb
Bus 001 Device 002: ID 192f:0716 Avago Technologies, Pte.
Bus 001 Device 006: ID 2001:a401 D-Link Corp.
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0b38:0010 Gear Head 107-Key Keyboard
We’re interested in examining if the modem device is detected/supported following the ‘eject’ command to remove the storage device. However, the modem device might still need to be activated with a suitable activation string (usually handled usb_modeswitch according to the chipset involved). Anyway, worth a shot.
You may need to contact the USB ModeSwitch forum for further assistance.
Do you mean the SIM card? No, it does not imply a broken modem. From the information you’ve supplied so far, the modem is not yet supported.
I have a modem D-Link DWM-221, could you please say whether this modem is supported?
Unfrotunately, chipset details are what matters here. Many of these devices have variants, with completely different chipsets inside. For supported devices (requiring usb_modeswitch support), the following reference is definitive:
Well that actually looks like two rules, and it is unlikely that loading the useb serial driver like that will work anyway. The chipset that is reported pertains to the device in ‘usb-storage’ mode. Since, you report that the eject command failed to work (as I’d hoped), then it’s not likely that there is a known method to get the modem enabled yet. The best chance of success will lie with engaging with the USB ModeSwitch folks IMHO.
NetworkManager continues without enabling the tab “Mobile Broadband”[/QUOTE
As expected, since there is no modem device available yet.
[QUOTE]I also tried to force the recognition of the modem, running on this line prompt:
I did it. But no response so far.
Here results for the command usb_modeswitch:
linux-kplg:/home/sergio # /usr/sbin/usb_modeswitch -v 2001 -p a401 -d 1
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 005 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached
SCSI inquiry data (for identification)
-------------------------
Vendor String:
Model String: SD Storage
Revision String: 0000
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: Mobile Connect
Product: Mobile Connect
Serial No.: 0123456789ABCDEF
-------------------------
Only detaching storage driver for switching ...
Any driver was already detached for inquiry
-> Run lsusb to note any changes. Bye.
That’s the lsusb result:
linux-kplg:/home/sergio # lsusb
Bus 001 Device 002: ID 192f:0716 Avago Technologies, Pte.
Bus 001 Device 005: ID 2001:a401 D-Link Corp.
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0b38:0010 Gear Head 107-Key Keyboard
linux-kplg:/home/sergio #
You’ll need to be patient. I’m sure you’ll get a response.
Here results for the command usb_modeswitch:
linux-kplg:/home/sergio # /usr/sbin/usb_modeswitch -v 2001 -p a401 -d 1
Looking for default devices …
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 005 on bus 001 …
Getting the current device configuration …
OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached …
Looking for active driver …
No driver found. Either detached before or never attached
SCSI inquiry data (for identification)
Vendor String:
Model String: SD Storage
Revision String: 0000
USB description data (for identification)
Manufacturer: Mobile Connect
Product: Mobile Connect
Serial No.: 0123456789ABCDEF
Only detaching storage driver for switching …
Any driver was already detached for inquiry
→ Run lsusb to note any changes. Bye.
That’s the lsusb result:
linux-kplg:/home/sergio # lsusb
Bus 001 Device 002: ID 192f:0716 Avago Technologies, Pte.
Bus 001 Device 005: ID 2001:a401 D-Link Corp.
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0b38:0010 Gear Head 107-Key Keyboard
linux-kplg:/home/sergio #
The device is not switched (same product ID as before), so no modem device detected either. You’ll have to pursue this via the USB Modeswitch forum.
No conection!
I think by now you understand that without a modem device enabled (and supported), you won’t be able to configure let alone connect.
We will have a next step?
I can only suggest you try to help yourself by following the advice here