Hi Matti,

On 01/12/2016 10:56 AM, matti kaasinen wrote:
Denis,

2016-01-12 18:46 GMT+02:00 matti kaasinen <[email protected]
<mailto:[email protected]>>:

            activate-context
            =>
            Error activating /huawei_0/context1:
            org.ofono.Error.NotImplemented:
            Implementation not provided


        There is no gprs context driver provided or it failed to setup.
        Do you have TUN/TAP in the kernel or kernel module?

    It was not loaded, but I modprobed it now manually and got different
    error message:
    Error activating /huawei_1/context1: org.ofono.Error.Failed:
    Operation failed


Ofono log gave now some error messages:
..ofonod: drivers/atmodem/gprs-context.c:at_gprs_activate_primary() cid 1
..ofonod: Modem: > AT+CGDCONT=1,"IP","internet"\r
..ofonod: Modem: < \r\nOK\r\n
..ofonod: drivers/atmodem/gprs-context.c:at_cgdcont_cb() ok 1
..ofonod: Modem: > AT+CGDATA="PPP",1\r
..ofonod: Modem: < \r\n+CME ERROR: 50\r\n
..ofonod: drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 0
..ofonod: Unable to enter data state
..ofonod: src/gprs.c:pri_activate_callback() 0x122580
..ofonod: src/gprs.c:pri_activate_callback() Activating context failed
with error: Incorrect parameters


Looks like your modem has a newer / different firmware. in plugins/huawei.c, line:
                gc = ofono_gprs_context_create(modem, 0,
                                                "atmodem", data->modem);

Can you try changing "atmodem" to "huaweimodem" and see if it works after that?

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to