Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a problem with the WWAN (Qualcomm Gobi 2000) in my Lenovo ThinkPad W510. I can not unlock my SIM card with the correct PIN. I enter the PIN in this dialog and after this SIM PIN

I get immediately this dialog

SIM PIN2

After I enter the SIM PIN2 the only thing that happens is that I get a notification that says that the connection is disabled.

I know that this is not a problem with the PIN or the SIM card because I checked both with my Windows 8 notebook.

What I have to do to use the WWAN in my notebook.

Update from 2014-04-29

Just found this via journalctl

Apr 29 17:43:32 NetworkManager[1022]: <info> Activation (cdc-wdm0) starting connection 'O2'
Apr 29 17:43:32 NetworkManager[1022]: <info> (cdc-wdm0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Apr 29 17:43:32 NetworkManager[1022]: <info> Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 29 17:43:32 NetworkManager[1022]: <info> Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) started...
Apr 29 17:43:32 NetworkManager[1022]: <info> Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) complete.
Apr 29 17:43:32 ModemManager[900]: <info>  Simple connect started...
Apr 29 17:43:32 ModemManager[900]: <info>  Simple connect state (3/8): Enable
Apr 29 17:43:32 ModemManager[900]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
Apr 29 17:43:32 NetworkManager[1022]: <info> (cdc-wdm0) modem state changed, 'disabled' --> 'enabling' (reason: user-requested)
Apr 29 17:43:32 ModemManager[900]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> disabled)
Apr 29 17:43:32 NetworkManager[1022]: <info> (cdc-wdm0) modem state changed, 'enabling' --> 'disabled' (reason: unknown)
Apr 29 17:43:32 NetworkManager[1022]: <warn> (cdc-wdm0) failed to connect modem: Couldn't set operating mode: QMI protocol error (60): 'InvalidTransaction'
Apr 29 17:43:32 NetworkManager[1022]: <info> (cdc-wdm0): device state change: prepare -> failed (reason 'unknown') [40 120 1]
Apr 29 17:43:32 NetworkManager[1022]: <warn> Activation (cdc-wdm0) failed for connection 'O2'
Apr 29 17:43:32 NetworkManager[1022]: <info> (cdc-wdm0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Apr 29 17:43:32 NetworkManager[1022]: <info> (cdc-wdm0): deactivating device (reason 'none') [0]
Apr 29 17:43:32 firewalld[887]: 2014-04-29 17:43:32 ERROR: UNKNOWN_INTERFACE: cdc-wdm0
Apr 29 17:43:32 NetworkManager[1022]: <warn> (cdc-wdm0) firewall zone remove failed: (32) UNKNOWN_INTERFACE: cdc-wdm0
Apr 29 17:45:52 PackageKit[2687]: daemon quit
Apr 29 17:46:40 dbus-daemon[928]: dbus[928]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service'
Apr 29 17:46:40 dbus[928]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service'
Apr 29 17:46:40 systemd[1]: Starting PackageKit Daemon...
Apr 29 17:46:40 PackageKit[3672]: daemon start
Apr 29 17:46:40 dbus-daemon[928]: dbus[928]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 29 17:46:40 dbus[928]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 29 17:46:40 systemd[1]: Started PackageKit Daemon.
Apr 29 17:46:44 PackageKit[3672]: get-updates transaction /395_dedbecee from uid 1000 finished with success after 4026ms

Update from 2014-05-02

AFAIK the WWAN firmware is loaded and the device is successfully initialized:

nmcli -p n
============
  Netzwerk
============
NETZWERK  
------------
aktiviert 
[root@uss-titan marceljanus]# nmcli -p d
======================================
          Status der Geräte
======================================
GERÄT     TYP       STATUS          
--------------------------------------
wlp3s0    wifi      verbunden       
cdc-wdm0  gsm       nicht verbunden 
em1       ethernet  nicht verfügbar 
lo        loopback  nicht verwaltet 

lsusb
Bus 002 Device 004: ID 05c6:9205 Qualcomm, Inc. 
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 003 Device 002: ID 04b3:310d IBM Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Output from /var/log/messages after trying to enable the connection:

May  2 15:11:34 NetworkManager[889]: <info> Activation (cdc-wdm0) starting connection 'O2'
May  2 15:11:34 NetworkManager[889]: <info> (cdc-wdm0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May  2 15:11:34 NetworkManager[889]: <info> Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) scheduled...
May  2 15:11:34 NetworkManager[889]: <info> Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) started...
May  2 15:11:34 NetworkManager[889]: <info> Activation (cdc-wdm0) Stage 1 of 5 (Device Prepare) complete.
May  2 15:11:34 ModemManager[793]: <info>  Simple connect started...
May  2 15:11:34 ModemManager[793]: <info>  Simple connect state (3/8): Enable
May  2 15:11:34 ModemManager[793]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
May  2 15:11:34 NetworkManager[889]: <info> (cdc-wdm0) modem state changed, 'disabled' --> 'enabling' (reason: user-requested)
May  2 15:11:34 ModemManager[793]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> disabled)
May  2 15:11:34 NetworkManager[889]: <info> (cdc-wdm0) modem state changed, 'enabling' --> 'disabled' (reason: unknown)
May  2 15:11:34 NetworkManager[889]: <warn> (cdc-wdm0) failed to connect modem: Couldn't set operating mode: QMI protocol error (60): 'InvalidTransaction'
May  2 15:11:34 NetworkManager[889]: <info> (cdc-wdm0): device state change: prepare -> failed (reason 'unknown') [40 120 1]
May  2 15:11:34 NetworkManager[889]: <warn> Activation (cdc-wdm0) failed for connection 'O2'
May  2 15:11:34 NetworkManager[889]: <info> (cdc-wdm0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May  2 15:11:34 NetworkManager[889]: <info> (cdc-wdm0): deactivating device (reason 'none') [0]
May  2 15:11:34 firewalld: 2014-05-02 15:11:34 ERROR: UNKNOWN_INTERFACE: cdc-wdm0
May  2 15:11:34 NetworkManager[889]: <warn> (cdc-wdm0) firewall zone remove failed: (32) UNKNOWN_INTERFACE: cdc-wdm0
share|improve this question
1  
What happens after you type PIN2-code? The second dialog doesn't seem to be the same as the first dialog. It is asking for PIN2. –  Ramesh Apr 28 at 21:01
    
@Ramesh I get a notification that says that the connection is disabled. Nothing more. –  Marcel Janus Apr 29 at 4:29
    
Info specific to this model on thinkwiki: thinkwiki.org/wiki/Qualcomm_Gobi_2000 –  slm May 9 at 0:16
    
Steps to try as well using wvdial wiki.archlinux.org/index.php/Gobi_Broadband_Modems –  slm May 9 at 1:02
add comment

1 Answer 1

I've never used one of these modems but am interested in trying to help solve your issue. I found this thread which discusses the use of a command line tool called mmcli. The thread is called: Re: Sierra Wireless MC8355 - Gobi 3000 with AT&T. This seemed related since there were a number of mentions of a tool called mmcli.

The Chromium project alos has this page which shows how to use it to debug a cellular modem connection, titled: Modem debugging with mmcli (from the modemmanager-next package).

  • Listing modems/finding the index number of a modem (The modem index frequently changes during a suspend-resume cycle):

    $ mmcli -L
    

    (Further examples will assume modem index 0. Substitute your own modem index where necessary.)

  • See the status of a modem:

    $ mmcli -m 0
    
  • Enable a modem (useful side effects usually include registering on a network and getting an operator ID and name)

    $ mmcli -m 0 -e
    
  • Minimal connection and disconnection:

    $ mmcli -m 0 --simple-connect="apn=foo.carrier.com"
    $ mmcli -m 0 --simple-disconnect
    
  • Set logging level to maximium (equivalent to the old mm_debug debug):

    $ mmcli -G DEBUG
    
  • Set logging level to minimum (equivalent to the old mm_debug err):

    $ mmcli -G ERR
    
  • Arbitrary AT commands - available if ModemManager is started with the --debug flag:

  • This is a good test command to see if ModemManager is speaking to the modem. The modem should already be in state E0 (no command echo); you should immediately get an empty reply. You can check /var/log/messages for the message exchange if you've previously turned up the logging level to maximum.

    $ mmcli -m 0 --command="E0" 
    
  • Do a network scan and list the carriers found - this requires a longer-than-default timeout.

    $ mmcli -m 0 --command-timeout=120 --command="+COPS?" 
    

I believe this tool is included in the package ModemManager.

References

share|improve this answer
    
If I try to enable the modem I get: mmcli -m 0 -e error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.InvalidTransaction: Couldn't set operating mode: QMI protocol error (60): 'InvalidTransaction'' –  Marcel Janus May 10 at 9:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.