Re: Updated MP02 Firmware

34 views
Skip to first unread message

T Gillett

unread,
Nov 10, 2014, 6:46:52 AM11/10/14
to Akin Sonuga, village-telco-dev, Song, Stephen
Hi Akin

SECN 2.0 GA01 is the latest stable firmware for MP02 Basic. It is based on OpenWrt Attitude Adjustment stable release.

SECN 2.1 Alpha 7 is essentially the same code as GA01 with the addition of the telephony FXS support.

SECN 3.0 Alpha 2 is essentially the same code as GA01 but adapted for OpenWrt Barrier Breaker stable release.

Now looking at the logs...



The logread output is interesting as it shows that the modem connects at 14:10:57 and stays connected for over 10 mins having sent 1.6MB and received 18MB of data. 

So it was obviously stable and working quite well while it was connected.

The modem hangup was logged at 14:21:51 
14:21:51 MP2-23 daemon.notice pppd[1166]: Modem hangup

Immediately after this log entry, another entry, dated one second earlier, shows a kernel message about USB disconnect as below. 

14:21:50 MP2-23 kern.info kernel: [12560.210000] usb 1-1: USB disconnect, device number 34

This does seem to indicate that the problem originates with the device rather than with the 3G service.

But I am puzzled.  My Sierra modem runs happily for hours on end.

Perhaps it might be worth posting a message on the OpenWrt forum explaining is happening, identifying the modem type and including the link to these logread and dmesg outputs for reference.

Regards
Terry




From: "T Gillett" <tgil...@gmail.com>
To: "Akin Sonuga" <a.so...@comcast.net>
Sent: Sunday, November 9, 2014 5:04:14 AM

Subject: Re: Updated MP02 Firmware

Hi Akin

That's interesting.

I expect that it is not appearing in SECN 2.0 GA01 because the version of modeswitch is too old tp include this device. SECN 2_1 Alpha 7 must have a later version that includes the device.

If you run 'opkg list_installed' on SECN 2_1 Alpha 7 and SECN 2.0 GA01 and compare the two outputs, it will be interesting to see what differences there are in the package versions, particularly the modeswitch packages.

Also it would be interesting to look at the dmesg/logread output from SECN 2_1 Alpha 7 to see how modeswitch is working.

Regards
Terry

On Sun, Nov 9, 2014 at 8:43 PM, <a.so...@comcast.net> wrote:
Hello Terry,

The device does NOT appear in SECN 2.0 GA01 (which was the screenshot I sent earlier -- last email). However, it appears in both the SECN 3.0 Alpha 2 and SECN 2_1 Alpha7.

akin


 

a.so...@comcast.net

unread,
Nov 10, 2014, 7:56:13 AM11/10/14
to T Gillett, village-telco-dev, Stephen Song
Hi Terry,

thanks for the update. The reason I asked about the other firmware is because although the Apha7 is able to detect the modem, the GA01 does not. Given that they are essentially the same code, this should not be the case. The GA01 should be able to detect the modem as well. Why does it not? Do still think the reason is as you stated below? Did you see anything looking at the 'opkg list_installed' outputs?

Regards,

Akin


From: "T Gillett" <tgil...@gmail.com>
To: "Akin Sonuga" <a.so...@comcast.net>, "village-telco-dev" <village-...@googlegroups.com>
Cc: "Stephen Song" <st...@villagetelco.org>
Sent: Monday, November 10, 2014 5:46:50 AM

T Gillett

unread,
Nov 10, 2014, 6:05:43 PM11/10/14
to Akin Sonuga, village-telco-dev
Hi Akin

So just to clarify, your USB (ZTE MF631 HSUPA ) modem is not seen in the WAN page of SECN 2.0 GA01 but is seen in SECN 2.1 Alpha 7.

And when the device is used in SECN 2.1 Alpha 7 it connects OK but drops out after some time.

Is that a correct summary of the situation?


Please install a USB memory stick in the MP02 running SECN 2.0 GA01 and check that it is seen at 'USB Device Detected'


Please post a screenshot of the SECN 2.1 Alpha 7 Advanced/WAN screen showing the modem device registered (and online if possible).


Looking at the opkg list_installed outputs for SECN 2.0 GA01 and SECN 2.1 Alpha 7, the modeswitch packages are the same, so no issue there.

usb-modeswitch - 1.2.3-2
usb-modeswitch-data - 20120120-1

There are two additional USB modules that Keith has included in the SECN 2.1 Alpha 7 build as shown below. 

kmod-usb-core - 3.3.8-1
kmod-usb-ohci - 3.3.8-1
kmod-usb-serial - 3.3.8-1
kmod-usb-serial-option - 3.3.8-1
kmod-usb-serial-sierrawireless - 3.3.8-1
kmod-usb-serial-wwan - 3.3.8-1
kmod-usb-storage - 3.3.8-1
kmod-usb-storage-extras - 3.3.8-1   ****************** Alpha 7
kmod-usb-uhci - 3.3.8-1                      ****************** Alpha 7
kmod-usb2 - 3.3.8-1

You might like to try installing those two modules on a GA01 device, starting with the uhci one.
It may be that your USB modem device needs a different interface.

There is a nice blog post here that explains about ohci, uhci and ehci interfaces.

To install, make sure that the MP02 has internet access, then:

    # opkg update
    # opkg install kmod-usb-uhci 
and possibly:
    # kmod-usb-storage-extras

After installing the additional modules, configure the modem details in the WAN page and reboot to see if it is recognised.

Regards
Terry

------------------------------------

a.so...@comcast.net

unread,
Nov 11, 2014, 6:37:50 AM11/11/14
to T Gillett, village-telco-dev
Hi Terry,

Please see below for my findings (in red)...


From: "T Gillett" <tgil...@gmail.com>
To: "Akin Sonuga" <a.so...@comcast.net>
Cc: "village-telco-dev" <village-...@googlegroups.com>
Sent: Monday, November 10, 2014 5:05:42 PM

Subject: Re: Updated MP02 Firmware

Hi Akin

So just to clarify, your USB (ZTE MF631 HSUPA ) modem is not seen in the WAN page of SECN 2.0 GA01 but is seen in SECN 2.1 Alpha 7.

And when the device is used in SECN 2.1 Alpha 7 it connects OK but drops out after some time. ...and is no longer detected by the MP (I have to re-insert the USB or reboot the MP to detect the device and reconnect).

Is that a correct summary of the situation? Yes.


Please install a USB memory stick in the MP02 running SECN 2.0 GA01 and check that it is seen at 'USB Device Detected' ...as stated in my last email, this firmware just simply does not detect the USB (ZTE MF631 HSUPA) modem. See screenshot below


Please post a screenshot of the SECN 2.1 Alpha 7 Advanced/WAN screen showing the modem device registered (and online if possible). Here you go...


Looking at the opkg list_installed outputs for SECN 2.0 GA01 and SECN 2.1 Alpha 7, the modeswitch packages are the same, so no issue there.

usb-modeswitch - 1.2.3-2
usb-modeswitch-data - 20120120-1

There are two additional USB modules that Keith has included in the SECN 2.1 Alpha 7 build as shown below. 

kmod-usb-core - 3.3.8-1
kmod-usb-ohci - 3.3.8-1
kmod-usb-serial - 3.3.8-1
kmod-usb-serial-option - 3.3.8-1
kmod-usb-serial-sierrawireless - 3.3.8-1
kmod-usb-serial-wwan - 3.3.8-1
kmod-usb-storage - 3.3.8-1
kmod-usb-storage-extras - 3.3.8-1   ****************** Alpha 7
kmod-usb-uhci - 3.3.8-1                      ****************** Alpha 7
kmod-usb2 - 3.3.8-1

You might like to try installing those two modules on a GA01 device, starting with the uhci one.
It may be that your USB modem device needs a different interface.

There is a nice blog post here that explains about ohci, uhci and ehci interfaces.

To install, make sure that the MP02 has internet access, then:

    # opkg update ... I get an error message
1415701207255
1415701424870
1415705778757
Reply all
Reply to author
Forward
0 new messages