MC7354(firmware: SWI9X15C_05.05.16.02) modem can't work with China Unicom SIM card
dailijin
dailijin126 at 126.com
Wed Apr 22 22:28:05 PDT 2015
Hi Dan,
The MC7354 modem from USA can work with 3G China unicom now, I plugin it and should not do anything, after about 1 minutes, the device get connected automatically, I only need to get IP via dhclient.
the strange thing is that if I use --wds-start-network, the device can't get connected and report error log "error: couldn't start network: QMI protocol error (26): 'NoEffect'", so can't get IP directly via dhclient. till now, not find the cause.
--
Best Regards,
Dai,Lijin
At 2015-04-23 00:32:37, "Dan Williams" <dcbw at redhat.com> wrote:
>On Wed, 2015-04-22 at 10:07 +0800, dailijin wrote:
>> Hi Dan Williams,
>>
>>
>> Thanks your response.
>>
>>
>> the system selection preference as below:
>> tvupack ~ # qmicli -d /dev/cdc-wdm0 --nas-get-system-selection-preference
>> [/dev/cdc-wdm0] Successfully got system selection preference
>> Emergency mode: 'no'
>> Mode preference: 'cdma-1x, cdma-1xevdo, gsm, umts, lte'
>> Band preference: 'gsm-dcs-1800, gsm-900-extended, gsm-900-primary, gsm-850, gsm-pcs-1900, wcdma-2100, wcdma-pcs-1900, wcdma-850-us, wcdma-800, wcdma-900'
>> LTE band preference: '2, 4, 5, 17'
>> TD-SCDMA band preference: 'a, b, c, d, e, f'
>> CDMA PRL preference: 'any'
>> Roaming preference: 'any'
>> Network selection preference: 'automatic'
>> Service domain preference: 'cs-ps'
>> Service selection preference: 'automatic'
>>
>>
>> the home network information as below:
>> tvupack ~ # qmicli -d /dev/cdc-wdm0 --nas-get-home-network
>> [/dev/cdc-wdm0] Successfully got home network:
>> Home network:
>> MCC: '460'
>> MNC: '1'
>> Description: ''
>>
>>
>> the serving system information as below:
>> tvupack ~ # qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
>> [/dev/cdc-wdm0] Successfully got serving system:
>> Registration state: 'registered'
>> CS: 'attached'
>> PS: 'attached'
>> Selected network: '3gpp'
>> Radio interfaces: '1'
>> [0]: 'umts'
>> Roaming status: 'off'
>> Data service capabilities: '3'
>> [0]: 'hsdpa'
>> [1]: 'hsupa'
>> [2]: 'wcdma'
>> Current PLMN:
>> MCC: '460'
>> MNC: '1'
>> Description: ''
>> Roaming indicators: '1'
>> [0]: 'off' (umts)
>> 3GPP location area code: '43017'
>> 3GPP cell ID: '11116118'
>> Detailed status:
>> Status: 'available'
>> Capability: 'cs-ps'
>> HDR Status: 'power-save'
>> HDR Hybrid: 'yes'
>> Forbidden: 'no'
>> Call barring status:
>> Circuit switched: 'all-calls'
>> Packet switched: 'all-calls'
>> UMTS primary scrambling code: '444'
>> Full operator code info:
>> MCC: '460'
>> MNC: '1'
>> MNC with PCS digit: 'no'
>>
>>
>> network scanning result as below:
>> tvupack ~ # qmicli -d /dev/cdc-wdm0 --nas-network-scan
>> [/dev/cdc-wdm0] Successfully scanned networks
>> Network [0]:
>> MCC: '460'
>> MNC: '1'
>> Status: 'current-serving, home, not-forbidden, preferred'
>> Description: ''
>> Network [0]:
>> MCC: '460'
>> MNC: '1'
>> RAT: 'umts'
>> Network [0]:
>> MCC: '460'
>> MNC: '1'
>> MCC with PCS digit: 'no'
>>
>>
>> Based on above informations, the device have registered UMTS network successfully, and the network is available, but can't get connected in most situations. only get connected one time today.
>
>So you did get connected at least one time then? If that's so, then
>it's not an activation issue but something else...
>
>> BTW, if I use the MC7354 modem with CDMA/EVDO networks,how do I get the necessary parameter(Activation Code or SPC,SID,MDN,MIN) for --dms-activate-* ?
>
>These numbers come from your provider. The MDN is the phone # assigned
>to you, and the MIN may be the same # but can also be different
>depending on whether you have ported your number to a different
>provider. SPC (also called MSL, or Master Subsidy Lock) is a master
>password that allows you to program the device. I think the SID is the
>home CDMA system ID of your provider.
>
>Dan
>
>> Thanks
>>
>>
>>
>> --
>>
>> Best Regards,
>> Dai,Lijin
>>
>>
>>
>> At 2015-04-21 22:42:50, "Dan Williams" <dcbw at redhat.com> wrote:
>> >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
>> >
>
>
>_______________________________________________
>libqmi-devel mailing list
>libqmi-devel at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/libqmi-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20150423/c0f63b55/attachment-0001.html>
More information about the libqmi-devel
mailing list