Re: Mobile Broadband - how do I trace/debug the modem initialisation?




-- Stuart Ward M +44 7782325143


On Tue, Oct 21, 2008 at 9:58 AM, Tambet Ingo <tambet gmail com> wrote:
On Tue, Oct 21, 2008 at 11:50 AM, Stuart Ward <stuart ward bcs org> wrote:
> The issue is that you have enabled unsolicited response codes. Several
> possable solutions
> 1) add +CREG=0 to your init string to disable.
> 2) perhaps nm should be able to parse the response string and match it to a
> regex _expression_ rather than a fixed string. What is important is the the
> modem is registered to a network so a response of 1 or 5 would be valid

What? The issue is that there's a modem that does not like 'Z' (reset)
command. It has nothing to do with +CREG or unsolicited response
codes. We're talking about modem initialization, registration comes
way later _after_ modem is initialized.

With some delicate footwork I've been able to get it past that point, but it hits another one. It responds to AT+CREG? with +CREG: 1,1, but nm-gsm-device.c only accepts 0,1. I'm not an expert on these GSM commands, and a quick google only turned up this:
<http://doc.trolltech.com/qtopia4.2/modememulator-network.html>

>From this I don't see why the modem shouldn't respond 1,1, or even 2,1. I did a quick hex-edit patch to NetworkManager, changing 0,1 to 1,1, and finally it connected!

This is the point I was responding to. 


Tambet
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]