qmicli / Sierra EM7455

Bjørn Mork bjorn at mork.no
Thu Mar 10 14:05:59 UTC 2016


Sebastian Sjoholm <sebastian.sjoholm at gmail.com> writes:
> On Thu, Mar 10, 2016 at 2:28 PM, Bjørn Mork <bjorn at mork.no> wrote:
>> Aleksander Morgado <aleksander at aleksander.es> writes:
>> > On Thu, Mar 10, 2016 at 2:18 PM, Bjørn Mork <bjorn at mork.no> wrote:
>> >>>> Make sure the driver is configured for raw-ip first:
>> >>>>
>> >>>>  bjorn at nemi:~$ grep . /sys/class/net/wwan0/qmi/raw_ip
>> >>>>  Y
>> >>>
>> >>>
>> >>>  root at x088:~# grep . /sys/class/net/wwan0/qmi/raw_ip
>> >>> N
>> >>> root at x088:~# grep . /sys/class/net/wwan1/qmi/raw_ip
>> >>> N
>> >>>
>> >>> Seems an "NO" for my raw_ip in qmi_wwan, how do I change this?
>> >>
>> >> echo Y >/sys/class/net/wwan0/qmi/raw_ip
>> >> echo Y >/sys/class/net/wwan1/qmi/raw_ip
>> >
>> > Also with qmicli like this:
>> > $ sudo qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip
>>
>> Right.  Yes, I should refer to that instead for consistency.
>>
>>
> Actually I tried first with the "echo":
>
> root at x088:~# grep . /sys/class/net/wwan0/qmi/raw_ip
> N
> root at x088:~# grep . /sys/class/net/wwan1/qmi/raw_ip
> N
> root at x088:~# echo Y /sys/class/net/wwan0/qmi/raw_ip
> Y /sys/class/net/wwan0/qmi/raw_ip
> root at x088:~# echo Y /sys/class/net/wwan1/qmi/raw_ip
> Y /sys/class/net/wwan1/qmi/raw_ip
> root at x088:~# grep . /sys/class/net/wwan0/qmi/raw_ip
> N
> root at x088:~# grep . /sys/class/net/wwan1/qmi/raw_ip
> N
> root at x088:~#
>
> And then with qmicli;
>
> root at x088:~# qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip
> qmicli: symbol lookup error: qmicli: undefined symbol:
> qmi_device_expected_data_format_get_type
> root at x088:~# qmicli -d /dev/cdc-wdm1 --set-expected-data-format=raw-ip
> qmicli: symbol lookup error: qmicli: undefined symbol:
> qmi_device_expected_data_format_get_type
> root at x088:~#
>
> with verbose:
>
> root at x088:~# qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip -v
> [10 Mar 2016, 14:58:15] [Debug] [/dev/cdc-wdm0] Opening device with flags
> 'none'...
> [10 Mar 2016, 14:58:15] [Debug] QMI Device at '/dev/cdc-wdm0' ready
> [10 Mar 2016, 14:58:15] [Debug] Setting expected WWAN data format this
> control port...
> qmicli: symbol lookup error: qmicli: undefined symbol:
> qmi_device_expected_data_format_get_type
> root at x088:~#
>
> The qmicli error on "symbol lookup error" I can see on other commands as
> well.
>
> Am I missing something?

I don't know why you get the symbol lookup errors, but the echo commands
were missing something: ">"


Bjørn


More information about the libqmi-devel mailing list