cannot get expected data format: Failed to open file '/sys/class/net/wwan1/qmi/raw_ip

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Thu Jun 30 18:01:41 UTC 2016


> On Jun 30, 2016, at 18:57 , Aleksander Morgado <aleksander at aleksander.es> wrote:
> 
>> 
>> I haven’t been able to get /dev/cdc-wdm0 to work with 802-3 on the MC7304, when using the /dev/cdc-wdm1 it works fine with 802-3. The /dev/cdc-wdm0 seems to need to raw-ip and later kernel as Björn mention.
>> 
> 
> Not really, you should be able to do:
> 
> $ sudo qmicli -d /dev/cdc-wdm0 --wda-set-data-format=802-3
> 
> (before any other thing)
> 

Ok, maybe I have missed something then. Both interfaces wdm0 and wdm1 shows 802-3 as default on my MC7304.

# qmicli -d /dev/cdc-wdm0 -e
802-3
# qmicli -d /dev/cdc-wdm1 -e
802-3
#

For me I need to set the wdm0 as raw-ip, otherwise I am not able to get IP address.

-Sebastian


More information about the libqmi-devel mailing list