[LEDE-DEV] [PATCH v2] uqmi: fix raw-ip mode for newer lte modems

Nicholas Smith smith.nicholas910 at gmail.com
Wed Nov 29 19:49:43 PST 2017


Hi Koen,

I would like to report that it is attempting, but it is unable to change /sys/class/wwan0/qmi/raw_ip to a “Y” on it’s own.  I have to bring the interface down myself, set raw_ip to Y, then bring it back up.  Manual, but it works every time.

[   40.455550] qmi_wwan 1-2:1.8 wwan0: Cannot change a running device

Here’s what I do to work around:

In LuCI go to wwan0 and stop the interface.
echo “Y” > /sys/class/wwan0/qmi/raw_ip
In LuCI go to wwan0 and connect the interface.



> On 28 Nov 2017, at 6:27 pm, Koen Vandeputte <koen.vandeputte at ncentric.com> wrote:
> 
> 
> 
> On 2017-11-27 23:38, Nicholas Smith wrote:
>> Hi!
>> 
>> Will this also apply to the Sierra MC7430, as it is also raw-ip only?  If I am not mistaken it is the same as the MC7455, just for the Asia/Pacific region.  I would be able to verify this patch on the device.  To verify that it works, do I just look for /sys/class/net/$ifname/qmi/raw_ip ?
>> 
>> Nicholas
>> smith.nicholas910 at gmail.com
>> 
> <snip>
> 
> Judging by the datasheet compared to the MC7455 and some other resources online:  most likely yes.
> Keep in mind that this will not work on the 17.01 branch as kernel 4.5 or better is required which contains the needed driver parts and fixes.
> 
> If you would like to evaluate, please use master branch.
> 
> Testing the patch in full checking connectivity is always better than just checking if that particular file is present.
> You should see a print referring to raw-ip popping up using logread. (see patch contents)
> 
> 
> Regards,
> 
> Koen




More information about the Lede-dev mailing list