MC7455 PROBLEM

heni wael waelheni91 at gmail.com
Tue Jan 17 07:24:22 UTC 2017


After this 3 commands i got this

[root at mc7455-1-qpcs-local ~]# qmicli -d /dev/cdc-wdm0
--wds-get-current-settings
error: couldn't get current settings: QMI protocol error (15): 'OutOfCall'

2017-01-17 8:21 GMT+01:00 heni wael <waelheni91 at gmail.com>:

> Thanks for your help
>
> I show you the result of this commands :
>
>
> 1- qmicli -d /dev/cdc-wdm0 --wda-get-data-format -v
>
> http://pastebin.com/jXqiFCmy
>
> 2-
> [root at mc7455-1-qpcs-local ~]# qmicli -d /dev/cdc-wdm0
> --set-expected-data-format=raw-ip -v
> [17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Opening device with flags
> 'none'...
> [17 ينا 2017, 02:14:28] [Debug] QMI Device at '/dev/cdc-wdm0' ready
> [17 ينا 2017, 02:14:28] [Debug] Setting expected WWAN data format this
> control port...
> [17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Writing expected data
> format to: /sys/class/net/wwp0s20u4i8/qmi/raw_ip
> [17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Reading expected data
> format from: /sys/class/net/wwp0s20u4i8/qmi/raw_ip
> [/dev/cdc-wdm0] expected data format set to: raw-ip
>
>
> 3- 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
>
> http://pastebin.com/NZwsBHmd
>
> Waiting your answer
>
> 2017-01-17 8:20 GMT+01:00 heni wael <waelheni91 at gmail.com>:
>
>> Thanks for your help
>>
>> I show you the result of this commands :
>>
>>
>> 1- qmicli -d /dev/cdc-wdm0 --wda-get-data-format -v
>>
>> http://pastebin.com/jXqiFCmy
>>
>> 2-
>> [root at mc7455-1-qpcs-local ~]# qmicli -d /dev/cdc-wdm0
>> --set-expected-data-format=raw-ip -v
>> [17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Opening device with flags
>> 'none'...
>> [17 ينا 2017, 02:14:28] [Debug] QMI Device at '/dev/cdc-wdm0' ready
>> [17 ينا 2017, 02:14:28] [Debug] Setting expected WWAN data format this
>> control port...
>> [17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Writing expected data
>> format to: /sys/class/net/wwp0s20u4i8/qmi/raw_ip
>> [17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Reading expected data
>> format from: /sys/class/net/wwp0s20u4i8/qmi/raw_ip
>> [/dev/cdc-wdm0] expected data format set to: raw-ip
>>
>>
>> 3- 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
>>
>> http://pastebin.com/NZwsBHmd
>>
>> Waiting your answer
>>
>>
>>
>> 2017-01-16 22:32 GMT+01:00 Tang Nguyen <tang_nguyen at yahoo.com>:
>>
>>> AT+CGCCONTRDP replies the Bearer information which is IPv4 address.  It
>>> means your modem
>>> has successfully registered to nework.  Problem that you have now is
>>> qmicli fails to setup a data channel bewteen host and modem.  Nothing wrong
>>> with your modem, SIM and VZ network.
>>>
>>> Try below commands to see any help. (you migh want to add -v (verbose)
>>> option to get more debug information from libqmi commands)
>>>
>>> qmicli -d /dev/cdc-wdm0 --wda-get-data-format
>>> qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip
>>> 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
>>>
>>>
>>> Above commands try to set raw-ip data link , and force connection with
>>> IPV4. APN from qmicli command must be matched with the one you get from
>>> at+cgdcont?, if not connectiion would fail.
>>>
>>> If you got packet-data handle,  command "qmicli -d /dev/cdc-wdm0
>>> --wds-get-current-settings" shows you the connectivity status.
>>>
>>>
>>>
>>> --tang
>>>
>>>
>>> --------------------------------------------
>>> On Mon, 1/16/17, heni wael <waelheni91 at gmail.com> wrote:
>>>
>>>  Subject: Re: MC7455 PROBLEM
>>>  To: libqmi-devel at lists.freedesktop.org
>>>  Date: Monday, January 16, 2017, 3:35 PM
>>>
>>>  Other thing
>>>
>>>
>>>  i have this
>>>  qmicli -d /dev/cdc-wdm0
>>>  --wds-get-current-settings
>>>  error:
>>>  couldn't get current settings: QMI protocol error (15):
>>>  'OutOfCall'
>>>
>>>
>>>  but when i use this AT command
>>>  "AT+CGCONTRDP" i got this result
>>>  +CGCONTRDP:
>>>  1,5,wxxx.vzwstatic,166.164.108.xxx,,198.224.173.xxx,198.224.174.xxx
>>>
>>>
>>>  2017-01-16 21:14 GMT+01:00
>>>  heni wael <waelheni91 at gmail.com>:
>>>  Thanks Tang ,
>>>
>>>  i got this
>>>  at+cgdcont?
>>>
>>>  +CGDCONT:
>>>  1,"IP","xx01.vzwstatic","0.0.0
>>>  .0",0,0,0,0
>>>  2017-01-16 21:14 GMT+01:00
>>>  heni wael <waelheni91 at gmail.com>:
>>>  Thanks Tang
>>>  ,
>>>
>>>  i got this
>>>  at+cgdcont?
>>>
>>>  +CGDCONT:
>>>  1,"IP","xx01.vzwstatic","0.0.0
>>>  .0",0,0,0,0
>>>
>>>
>>>  2017-01-16 18:17 GMT+01:00
>>>  Tang Nguyen <tang_nguyen at yahoo.com>:
>>>  Hi Heni,
>>>
>>>
>>>
>>>  Can you make sure you have below patch from Dan in your 16.2
>>>  build.
>>>
>>>
>>>
>>>  commit  4c678418f398fc5f9dcdb216c0ffdf fc8524bea2
>>>
>>>
>>>
>>>  qmicli: fix handling of unspecified ip_type in
>>>  --wds-start-network
>>>
>>>  QMI_WDS_IP_FAMILY_UNSPECIFIED = 8 but ip_type gets
>>>  initialized to 0, so the "IP Family Preference"
>>>  was always being sent with an unrecognized value. Fixes:
>>>  81c21379 qmicli: add support for IP type to
>>>  --wds-start-network
>>>
>>>
>>>
>>>  --tang
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>  ------------------------------ --------------
>>>
>>>  On Mon, 1/16/17, heni wael <waelheni91 at gmail.com>
>>>  wrote:
>>>
>>>
>>>
>>>   Subject: Re: MC7455 PROBLEM
>>>
>>>   To: libqmi-devel at lists.freedesktop
>>>  .org
>>>
>>>   Date: Monday, January 16, 2017, 11:25 AM
>>>
>>>
>>>
>>>   I installed qmicli  last version 16.2
>>>
>>>   and i got this now
>>>
>>>   [root at mc7455-1-qpcs-local ~]# qmi-network
>>>
>>>   /dev/cdc-wdm0 start
>>>
>>>   Loading profile at
>>>
>>>   /etc/qmi-network.conf...
>>>
>>>       APN:
>>>
>>>   xxxx.vzwstatic
>>>
>>>       APN user: unset
>>>
>>>       APN password: unset
>>>
>>>       qmi-proxy: no
>>>
>>>   Checking
>>>
>>>   data format with 'qmicli -d /dev/cdc-wdm0
>>>
>>>   --wda-get-data-format '...
>>>
>>>   Device link
>>>
>>>   layer protocol retrieved: raw-ip
>>>
>>>   Getting
>>>
>>>   expected data format with 'qmicli -d /dev/cdc-wdm0
>>>
>>>   --get-expected-data-format'.. .
>>>
>>>   Expected
>>>
>>>   link layer protocol retrieved: raw-ip
>>>
>>>   Device
>>>
>>>   and kernel link layer protocol match: raw-ip
>>>
>>>   Starting network with 'qmicli -d
>>>
>>>   /dev/cdc-wdm0
>>>
>>>   --wds-start-network=apn='xxxx .vzwstatic'
>>>
>>>   --client-no-release-cid '...
>>>
>>>   error:
>>>
>>>   couldn't start network: QMI protocol error (64):
>>>
>>>   '(null)'
>>>
>>>   Saving state at
>>>
>>>   /tmp/qmi-network-state-cdc-wd m0... (CID: 35)
>>>
>>>   error: network start failed, no packet data
>>>
>>>   handle
>>>
>>>   Clearing state at
>>>
>>>   /tmp/qmi-network-state-cdc-wd m0...
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>   and i tried your suggestion  but got
>>>
>>>   some issues
>>>
>>>   [root at mc7455-1-qpcs-local ~]#
>>>
>>>   qmicli -d /dev/cdc-wdm0
>>>
>>>   --wds-set-autoconnect-setting s=disabled
>>>
>>>   error: couldn't set autoconnect settings:
>>>
>>>   QMI protocol error (3): 'Internal'
>>>
>>>
>>>
>>>   have you got any advice
>>>
>>>   ?
>>>
>>>
>>>
>>>   2017-01-16 17:00 GMT+01:00
>>>
>>>   Aleksander Morgado <aleksander at aleksander.es>:
>>>
>>>   On Mon,
>>>
>>>   Jan 16, 2017 at 2:31 PM, heni wael <waelheni91 at gmail.com>
>>>
>>>   wrote:
>>>
>>>
>>>
>>>   > [root at mc7455-1-qpcs-local ~]# qmicli -d
>>>
>>>   /dev/cdc-wdm0
>>>
>>>
>>>
>>>   >
>>>
>>>   --wds-get-autoconnect-setting s
>>>
>>>
>>>
>>>   > Autoconnect settings retrieved:
>>>
>>>
>>>
>>>   >     Status: 'enabled'
>>>
>>>
>>>
>>>   >     Roaming: 'allowed'
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>   Looks like autoconnect is already enabled in your
>>>
>>>   modem, and therefore
>>>
>>>
>>>
>>>   you shouldn't need "WDS start network"
>>>  (i.e.
>>>
>>>   what qmi-network does).
>>>
>>>
>>>
>>>   If you're having issues with auto-connect you may
>>>  want
>>>
>>>   to disable it
>>>
>>>
>>>
>>>   with --wds-set-autoconnect- settings=disabled and retry
>>>
>>>   with
>>>
>>>
>>>
>>>   qmi-network.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>   --
>>>
>>>
>>>
>>>   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/20170117/72ce0dce/attachment.html>


More information about the libqmi-devel mailing list