MC7354(firmware: SWI9X15C_05.05.16.02) modem can't work with China Unicom SIM card

Dan Williams dcbw at redhat.com
Tue Apr 21 07:42:50 PDT 2015


On Tue, 2015-04-21 at 16:28 +0800, dailijin wrote:
> 
> Hi All,
> 
> 
> Today I use MC7354 modem with firmware SWI9X15C_05.05.16.02, it can work with AT&T SIM card in USA, this is known. but  I remembered this modem also can work with China Unicom card before, but could not work now.  error log as below:
> dial_program # qmicli -d /dev/cdc-wdm0 --wds-start-network="3gnet"  --client-no-release-cid -v
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Opening device with flags 'none'...
> [21 Apr 2015, 08:12:56] [Debug] QMI Device at '/dev/cdc-wdm0' ready
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Assuming service 'wds' is supported...
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Sent message...
> <<<<<< RAW:
> <<<<<<   length = 16
> <<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:01
> 
> 
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 15
> <<<<<<   flags   = 0x00
> <<<<<<   service = "ctl"
> <<<<<<   client  = 0
> <<<<<< QMI:
> <<<<<<   flags       = "none"
> <<<<<<   transaction = 1
> <<<<<<   tlv_length  = 4
> <<<<<<   message     = "Allocate CID" (0x0022)
> <<<<<< TLV:
> <<<<<<   type       = "Service" (0x01)
> <<<<<<   length     = 1
> <<<<<<   value      = 01
> <<<<<<   translated = wds
> 
> 
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Received message...
> >>>>>> RAW:
> >>>>>>   length = 24
> >>>>>>   data   = 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:01:0A
> 
> 
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Received message (translated)...
> >>>>>> QMUX:
> >>>>>>   length  = 23
> >>>>>>   flags   = 0x80
> >>>>>>   service = "ctl"
> >>>>>>   client  = 0
> >>>>>> QMI:
> >>>>>>   flags       = "response"
> >>>>>>   transaction = 1
> >>>>>>   tlv_length  = 12
> >>>>>>   message     = "Allocate CID" (0x0022)
> >>>>>> TLV:
> >>>>>>   type       = "Result" (0x02)
> >>>>>>   length     = 4
> >>>>>>   value      = 00:00:00:00
> >>>>>>   translated = SUCCESS
> >>>>>> TLV:
> >>>>>>   type       = "Allocation Info" (0x01)
> >>>>>>   length     = 2
> >>>>>>   value      = 01:0A
> >>>>>>   translated = [ service = 'wds' cid = '10' ]
> 
> 
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Registered 'wds' (version unknown) client with ID '10'
> [21 Apr 2015, 08:12:56] [Debug] Asynchronously starting network...
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Sent message...
> <<<<<< RAW:
> <<<<<<   length = 21
> <<<<<<   data   = 01:14:00:00:01:0A:00:01:00:20:00:08:00:14:05:00:33:67:6E:65:74
> 
> 
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 20
> <<<<<<   flags   = 0x00
> <<<<<<   service = "wds"
> <<<<<<   client  = 10
> <<<<<< QMI:
> <<<<<<   flags       = "none"
> <<<<<<   transaction = 1
> <<<<<<   tlv_length  = 8
> <<<<<<   message     = "Start Network" (0x0020)
> <<<<<< TLV:
> <<<<<<   type       = "APN" (0x14)
> <<<<<<   length     = 5
> <<<<<<   value      = 33:67:6E:65:74
> <<<<<<   translated = 3gnet
> 
> 
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Received message...
> >>>>>> RAW:
> >>>>>>   length = 20
> >>>>>>   data   = 01:13:00:80:01:0A:02:01:00:20:00:07:00:02:04:00:01:00:1A:00
> 
> 
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Received message (translated)...
> >>>>>> QMUX:
> >>>>>>   length  = 19
> >>>>>>   flags   = 0x80
> >>>>>>   service = "wds"
> >>>>>>   client  = 10
> >>>>>> QMI:
> >>>>>>   flags       = "response"
> >>>>>>   transaction = 1
> >>>>>>   tlv_length  = 7
> >>>>>>   message     = "Start Network" (0x0020)
> >>>>>> TLV:
> >>>>>>   type       = "Result" (0x02)
> >>>>>>   length     = 4
> >>>>>>   value      = 01:00:1A:00
> >>>>>>   translated = FAILURE: NoEffect
> 
> 
> error: couldn't start network: QMI protocol error (26): 'NoEffect'
> [/dev/cdc-wdm0] Client ID not released:
> Service: 'wds'
>    CID: '10'
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Releasing 'wds' client with flags 'none'...
> [21 Apr 2015, 08:12:56] [Debug] [/dev/cdc-wdm0] Unregistered 'wds' client with ID '10'
> [21 Apr 2015, 08:12:56] [Debug] Client released
> 
> 
> I also checked the Activation state, the result  as below:
>     tvupack dial_program # qmicli -d /dev/cdc-wdm0     --dms-get-activation-state
>     [/dev/cdc-wdm0] Activation state retrieved:
>     State: 'not-activated'
> 
> 
> I think this is maybe the reason why it can't get connected now. so I want to activate it by manual via "--dms-activate-automatic" or "--dms-activate-manual", but I don't know how to set Activation Code or SPC,SID,MDN,MIN, who can  help me?

Activation via --dms-activate-* is only used for CDMA/EVDO networks, and
China Unicom (as far as I can tell) is currently a GSM/UMTS operator.
So you don't need to use --dms-activate-*.  What might be the case is
that your SIM card isn't activated with the provider?  But before
anything else, what do you get for:

--nas-get-home-network
--nas-get-serving-system
--nas-network-scan

These will tell us more about the state of the device, and whether it
can start a data bearer at all.

Dan



More information about the libqmi-devel mailing list