MC7455 PROBLEM

heni wael waelheni91 at gmail.com
Wed Jan 18 07:40:14 UTC 2017


Ok Tang
thanks for Help

2017-01-17 22:46 GMT+01:00 Tang Nguyen <tang_nguyen at yahoo.com>:

> Module allow you configuring more than one profile - let's try this:
>
> 1. Create profile 1 with AT command
> AT+CGDCONT=1,"IPV4V6","vzwims","0.0.0.0",0,0,0,0
>
> 2. Create profile #3
> AT+CGDCONT=3,"IP","xxxx. vzwstatic","0.0.0.0",0,0,0,0
>
> Reset modem, and reboot your system.
>
> 2. Check modem registration status with AT command
> AT+CGCONTRDP
>
> Expect modem reports bearer information, including IP address
>
> If you don't see IP address from AT+CGCONTRDP command - Don't bother step
> 3 below - waiting until modem got IP address for profile #1.
>
>
> 3. Try to connect with qmicli commands
>
> qmicli -d /dev/cdc-wdm0 --wda-get-data-format -v
>
> qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw -ip -v
>  qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=xxxx.
> vzwstatic,ip-type=4" --device-open-net="net-raw-ip| net-no-qos-header"
> --device-open-sync --client-no-release-cid -v
>
>
>
> I did try above steps on MC73xx with libqmi v. 16.2, and it works fine for
> me.  Of course, there is a difference between your modem (MC74xx) and mine
> (MC73xx) - but I think the steps shouldn't be different.
>
> Cheers,
> -tang
>
>
>
>
>
>
> --------------------------------------------
> On Tue, 1/17/17, heni wael <waelheni91 at gmail.com> wrote:
>
>  Subject: Re: MC7455 PROBLEM
>  To: libqmi-devel at lists.freedesktop.org
>  Date: Tuesday, January 17, 2017, 3:36 PM
>
>  I have
>  this also
>
>  AT+CGDCONT=?
>
>
>  +CGDCONT:
>  (1-24),"IP",,,(0-2),(0-4),(0-1),(0-1)
>
>  +CGDCONT:
>  (1-24),"PPP",,,(0-2),(0-4),(0-1),(0-1)
>
>  +CGDCONT:
>  (1-24),"IPV6",,,(0-2),(0-4),(0-1),(0-1)
>  +CGDCONT:
>  (1-24),"IPV4V6",,,(0-2),(0-4),(0-1),(0-1)
>
>
>  OK
>
>
>
>  2017-01-17 21:24 GMT+01:00
>  heni wael <waelheni91 at gmail.com>:
>  Thanks for reply
>  It work for a few day and then  it
>  give this errors
>  i got this :
>
>  AT+CGDCONT?
>
>  +CGDCONT:
>  1,"IP","xxxx.vzwstatic","0.0.
>  0.0",0,0,0,0
>
>
>  OK
>
>
>  and  this
>
>  [root at mc7455-1-qpcs-local ~]#
>  qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=xxxx.
>  vzwstatic,ip-type=4"
>  --device-open-net="net-raw-ip| net-no-qos-header"
>  --device-open-sync --client-no-release-cid -v
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Opening device with flags 'sync,
>  net-raw-ip, net-no-qos-header'...
>  [17
>  ينا 2017, 15:19:27] [Debug] [/dev/cdc-wdm0] Running
>  sync...
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Sent message...
>  <<<<<< RAW:
>  <<<<<<   length = 12
>  <<<<<<   data   =
>  01:0B:00:00:00:00:00:01:27:00: 00:00
>
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Sent message (translated)...
>  <<<<<< QMUX:
>  <<<<<<   length  = 11
>  <<<<<<   flags   =
>  0x00
>  <<<<<<   service =
>  "ctl"
>  <<<<<<
>  client  = 0
>  <<<<<<
>  QMI:
>  <<<<<<
>  flags       = "none"
>  <<<<<<   transaction = 1
>  <<<<<<   tlv_length  =
>  0
>  <<<<<<
>  message     = "Sync" (0x0027)
>
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Received message...
>  >>>>>> RAW:
>  >>>>>>   length = 19
>  >>>>>>   data   =
>  01:12:00:80:00:00:01:01:27:00: 07:00:02:04:00:00:00:00:00
>
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Received message (translated)...
>  >>>>>> QMUX:
>  >>>>>>   length  = 18
>  >>>>>>   flags   =
>  0x80
>  >>>>>>   service =
>  "ctl"
>  >>>>>>
>  client  = 0
>  >>>>>>
>  QMI:
>  >>>>>>
>  flags       = "response"
>  >>>>>>   transaction = 1
>  >>>>>>   tlv_length  =
>  7
>  >>>>>>
>  message     = "Sync" (0x0027)
>  >>>>>> TLV:
>  >>>>>>   type       =
>  "Result" (0x02)
>  >>>>>>   length     =
>  4
>  >>>>>>
>  value      = 00:00:00:00
>  >>>>>>   translated =
>  SUCCESS
>
>  [17 ينا 2017,
>  15:19:27] [Debug] [/dev/cdc-wdm0] Sync operation finished
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Setting network port data format...
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Sent message...
>  <<<<<< RAW:
>  <<<<<<   length = 21
>  <<<<<<   data   =
>  01:14:00:00:00:00:00:02:26:00:
>  09:00:10:02:00:02:00:01:01:00: 00
>
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Sent message (translated)...
>  <<<<<< QMUX:
>  <<<<<<   length  = 20
>  <<<<<<   flags   =
>  0x00
>  <<<<<<   service =
>  "ctl"
>  <<<<<<
>  client  = 0
>  <<<<<<
>  QMI:
>  <<<<<<
>  flags       = "none"
>  <<<<<<   transaction = 2
>  <<<<<<   tlv_length  =
>  9
>  <<<<<<
>  message     = "Set Data Format" (0x0026)
>  <<<<<< TLV:
>  <<<<<<   type       =
>  "Protocol" (0x10)
>  <<<<<<   length     =
>  2
>  <<<<<<
>  value      = 02:00
>  <<<<<<   translated =
>  raw-ip
>  <<<<<< TLV:
>  <<<<<<   type       =
>  "Format" (0x01)
>  <<<<<<   length     =
>  1
>  <<<<<<
>  value      = 00
>  <<<<<<   translated =
>  absent
>
>  [17 ينا 2017,
>  15:19:27] [Debug] [/dev/cdc-wdm0] Received message...
>  >>>>>> RAW:
>  >>>>>>   length = 28
>  >>>>>>   data   =
>  01:1B:00:80:00:00:01:02:26:00:
>  10:00:02:04:00:00:00:00:00:12: 01:00:00:10:02:00:02:00
>
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Received message (translated)...
>  >>>>>> QMUX:
>  >>>>>>   length  = 27
>  >>>>>>   flags   =
>  0x80
>  >>>>>>   service =
>  "ctl"
>  >>>>>>
>  client  = 0
>  >>>>>>
>  QMI:
>  >>>>>>
>  flags       = "response"
>  >>>>>>   transaction = 2
>  >>>>>>   tlv_length  =
>  16
>  >>>>>>
>  message     = "Set Data Format" (0x0026)
>  >>>>>> TLV:
>  >>>>>>   type       =
>  "Result" (0x02)
>  >>>>>>   length     =
>  4
>  >>>>>>
>  value      = 00:00:00:00
>  >>>>>>   translated =
>  SUCCESS
>  >>>>>> TLV:
>  >>>>>>   type   = 0x12
>  >>>>>>   length = 1
>  >>>>>>   value  = 00
>  >>>>>> TLV:
>  >>>>>>   type       =
>  "Protocol" (0x10)
>  >>>>>>   length     =
>  2
>  >>>>>>
>  value      = 02:00
>  >>>>>>   translated =
>  raw-ip
>
>  [17 ينا 2017,
>  15:19:27] [Debug] [/dev/cdc-wdm0] Network port data format
>  operation finished
>  [17 ينا 2017,
>  15:19:27] [Debug] QMI Device at '/dev/cdc-wdm0'
>  ready
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Assuming service 'wds' is
>  supported...
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Allocating new client ID...
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Sent message...
>  <<<<<< RAW:
>  <<<<<<   length = 16
>  <<<<<<   data   =
>  01:0F:00:00:00:00:00:03:22:00: 04:00:01:01:00:01
>
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Sent message (translated)...
>  <<<<<< QMUX:
>  <<<<<<   length  = 15
>  <<<<<<   flags   =
>  0x00
>  <<<<<<   service =
>  "ctl"
>  <<<<<<
>  client  = 0
>  <<<<<<
>  QMI:
>  <<<<<<
>  flags       = "none"
>  <<<<<<   transaction = 3
>  <<<<<<   tlv_length  =
>  4
>  <<<<<<
>  message     = "Allocate CID" (0x0022)
>  <<<<<< TLV:
>  <<<<<<   type       =
>  "Service" (0x01)
>  <<<<<<   length     =
>  1
>  <<<<<<
>  value      = 01
>  <<<<<<   translated =
>  wds
>
>  [17 ينا 2017,
>  15:19:27] [Debug] [/dev/cdc-wdm0] Received message...
>  >>>>>> RAW:
>  >>>>>>   length = 24
>  >>>>>>   data   =
>  01:17:00:80:00:00:01:03:22:00:
>  0C:00:02:04:00:00:00:00:00:01: 02:00:01:23
>
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Received message (translated)...
>  >>>>>> QMUX:
>  >>>>>>   length  = 23
>  >>>>>>   flags   =
>  0x80
>  >>>>>>   service =
>  "ctl"
>  >>>>>>
>  client  = 0
>  >>>>>>
>  QMI:
>  >>>>>>
>  flags       = "response"
>  >>>>>>   transaction = 3
>  >>>>>>   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:23
>  >>>>>>   translated = [
>  service = 'wds' cid = '35' ]
>
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Registered 'wds' (version
>  unknown) client with ID '35'
>  [17
>  ينا 2017, 15:19:27] [Debug] Network start parameters set
>  (apn: 'xxxx.vzwstatic', 3gpp_profile: '0',
>  3gpp2_profile: '0', auth: 'unspecified',
>  username: 'unspecified', password:
>  'unspecified', autoconnect:
>  'unspecified')
>  [17 ينا 2017,
>  15:19:27] [Debug] Asynchronously starting network...
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Sent message...
>  <<<<<< RAW:
>  <<<<<<   length = 34
>  <<<<<<   data   =
>  01:21:00:00:01:23:00:01:00:20:
>  00:15:00:19:01:00:04:14:0E:00:
>  77:65:30:31:2E:76:7A:77:73:74: 61:74:69:63
>
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Sent message (translated)...
>  <<<<<< QMUX:
>  <<<<<<   length  = 33
>  <<<<<<   flags   =
>  0x00
>  <<<<<<   service =
>  "wds"
>  <<<<<<
>  client  = 35
>  <<<<<<
>  QMI:
>  <<<<<<
>  flags       = "none"
>  <<<<<<   transaction = 1
>  <<<<<<   tlv_length  =
>  21
>  <<<<<<
>  message     = "Start Network" (0x0020)
>  <<<<<< TLV:
>  <<<<<<   type       =
>  "IP Family Preference" (0x19)
>  <<<<<<   length     =
>  1
>  <<<<<<
>  value      = 04
>  <<<<<<   translated =
>  ipv4
>  <<<<<< TLV:
>  <<<<<<   type       =
>  "APN" (0x14)
>  <<<<<<   length     =
>  14
>  <<<<<<
>  value      = 77:65:30:31:2E:76:7A:77:73:74:
>  61:74:69:63
>  <<<<<<
>  translated = xxxx.vzwstatic
>
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Received message...
>  >>>>>> RAW:
>  >>>>>>   length = 20
>  >>>>>>   data   =
>  01:13:00:80:01:23:02:01:00:20:
>  00:07:00:02:04:00:01:00:1A:00
>
>  [17 ينا 2017, 15:19:27] [Debug]
>  [/dev/cdc-wdm0] Received message (translated)...
>  >>>>>> QMUX:
>  >>>>>>   length  = 19
>  >>>>>>   flags   =
>  0x80
>  >>>>>>   service =
>  "wds"
>  >>>>>>
>  client  = 35
>  >>>>>>
>  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:
>  '35'
>  [17 ينا 2017, 15:19:27]
>  [Debug] [/dev/cdc-wdm0] Releasing 'wds' client with
>  flags 'none'...
>  [17 ينا 2017,
>  15:19:27] [Debug] [/dev/cdc-wdm0] Unregistered 'wds'
>  client with ID '35'
>  [17 ينا 2017,
>  15:19:27] [Debug] Client released
>
>
>  2017-01-17 21:02 GMT+01:00
>  Tang Nguyen <tang_nguyen at yahoo.com>:
>  I didn't see the output of
>  command
>
>
>
>  qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=wxxx
>  .vzwstatic,ip-type=4"
>  --device-open-net="net-raw-ip| net-no-qos-header"
>  --device-open-sync --client-no-release-cid -v
>
>
>
>  Can you put the debug output in your email.
>
>
>
>  Also, can you send the full output of AT+CGDCONT?.
>  Normally, it should be a list of profile.
>
>
>
>  Question:  Do you try to connect to live Verizon network or
>  with base station simulator ?  Verizon modem connectivity
>  is abit different with other module. Verizon modem would use
>  PDP #1 to register with IP Multimedia System (IMS), and IMS
>  is responsible for SMS, video message, etc.  For internet
>  traffic, modem would use PDP#3 to connect to network.  If
>  you instruct modem using PDP#1 to connect to Internet APN,
>  it would fails.
>
>
>
>
>
>
>
>  --tang
>
>
>
>
>
>
>
>  ------------------------------ --------------
>
>  On Tue, 1/17/17, heni wael <waelheni91 at gmail.com>
>  wrote:
>
>
>
>   Subject: Re: MC7455 PROBLEM
>
>   To: libqmi-devel at lists.freedesktop
>  .org
>
>   Date: Tuesday, January 17, 2017, 2:46 PM
>
>
>
>   Hey Tang
>
>   Did you see the attached debug output
>
>   I used now the kernel 4.9
>
>   but same problem
>
>   It look a problem in the qmicli
>
>   Thanks
>
>
>
>   2017-01-17 10:18 GMT+01:00
>
>   Aleksander Morgado <aleksander at aleksander.es>:
>
>   On Mon,
>
>   Jan 16, 2017 at 5:25 PM, heni wael <waelheni91 at gmail.com>
>
>   wrote:
>
>
>
>   >
>
>
>
>   > and i tried your suggestion  but got some issues
>
>
>
>   > [root at mc7455-1-qpcs-local ~]# qmicli -d
>
>   /dev/cdc-wdm0
>
>
>
>   > --wds-set-autoconnect- settings=disabled
>
>
>
>   > error: couldn't set autoconnect settings: QMI
>
>   protocol error (3): 'Internal'
>
>
>
>   >
>
>
>
>   > have you got any advice ?
>
>
>
>
>
>
>
>   Oh weird, no idea :/
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>   --
>
>
>
>   Aleksander
>
>
>
>   https://aleksander.es
>
>
>
>
>
>
>
>   -----Inline
>  Attachment Follows-----
>
>
>
>   _____________________________ __________________
>
>   libqmi-devel mailing list
>
>   libqmi-devel at lists.freedeskto
>  p.org
>
>   https://lists.freedesktop.
>  org/mailman/listinfo/libqmi- devel
>
>
>
>
>
>
>
>  -----Inline Attachment Follows-----
>
>  _______________________________________________
>  libqmi-devel mailing list
>  libqmi-devel at lists.freedesktop.org
>  https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170118/7a979ca3/attachment-0001.html>


More information about the libqmi-devel mailing list