Re: [2008.8] gsm muxing and GPRS: am i missing something?
On Wed, 10 Sep 2008, Timo Juhani Lindfors wrote: We should preferably have an archive of such traces so that people can compare their traces against what the working case looks like. If you have time can you check if the wiki allows you to upload 130k gzip'd attachments? it accepted the uncomnpressed file, which is now linked to from the wiki page at http://wiki.openmoko.org/wiki/Manually_using_GPRS#Option_2:_With_GSM_multiplexing_and_without_a_GUI (at the bottom of this section). i hope that's OK. -- Tom Yates - http://www.teaparty.net ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [2008.8] gsm muxing and GPRS: am i missing something?
On Fri, 5 Sep 2008, Timo Juhani Lindfors wrote: Tom Yates [EMAIL PROTECTED] writes: i'd be happy to; can you point me to any resource that lets me know a way of doing that? does the muxd have a flag that tells it to hive off a copy of the datastream (that'd be really handy about now)? The low-level way is to strace -o gsm0710muxd.strace -p `pidof gsm0710muxd` -s4096 -f -tt but you might get lucky if you just set log_level = DEBUG in frameworkd.conf i couldn't find that latter file, but i attached an strace to gsmmuxd and i have the debug file. however, i am annoyed to report that the test call rang through. that is, everything is as mickey lauer recently suggested it would be: On Fri, 5 Sep 2008, Michael 'Mickey' Lauer wrote: [Tom had earlier written:] or should i be able to take an incoming call while the GPRS is up? Only, if the connection is kind of idle at this point, i.e. it might work while you are pinging a host, it might not work when you are wget'ting loads of data. and if so, should the GPRS suspend while i do, or should i be able to run them both simultaneously? GPRS will nicely suspend once you were lucky enough to accept the call. It will automagically resume. that is in fact exactly what happened. since my link was idle, i saw the new call request coming through the modem in the trace (i have blanked out part of the calling number for privacy reasons): 1397 09:08:05.057420 read(5, ~\5\357\r\n%CPI: 1,0,1,0,1,0,\07971226XXX\,129\r\n\337~, 2048) = 44 1397 09:08:05.061490 write(6, \r\n%CPI: 1,0,1,0,1,0,\07971226XXX\,129\r\n, 39) = 39 [...] 1397 09:08:05.867654 read(5, ~\1\377\343\5\7M\266~~\5\357\r\nRING\r\n\337~, 2048) = 22 and my openmoko rang. once i'd answered the call and hung up, pppd seemed to autoresume without complaint (pings went through within seconds of hanging up). i quite understand that there will be no good or reliable way to detect an incoming call when the modem is flooded with data; all i wanted was to be able to keep the pppd line up for (eg) tango map download-on-demand and periodic checking of email, without having blackout windows hours long when i can't be contacted. i can now do that. so, thank you, timo, for your help, and mickey, thanks for the clarification. i can confirm that my phone does all that can be expected of it in the context of a GSM network! timo, would you still like a copy of my trace file for reference (it's about 130k)? -- Tom Yates - http://www.teaparty.net ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: gsm muxing and GPRS: am i missing something?
Tom Yates [EMAIL PROTECTED] writes: i can make a GPRS connection. when it's up, i can place a call, and the outgoing GPRS connection temporarily suspends. when it's up, incoming calls go straight to voicemail; the phone doesn't even give me the choice of accepting the call. I can answer incoming calls but I need to restart GPRS after each call. Can you please capture everything sent/received to the GSM chip in your case? before i start trying to find out *how* to configure pppd to do what i want, i'd like to know if the phone is capable of it! i'd very much appreciate any ideas or insights anyone has on this. Yep, I understand. It's sometimes bith frustrating to debug these things when you have a black box (the gsm chip) there. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: gsm muxing and GPRS: am i missing something?
On Fri, 5 Sep 2008, Timo Juhani Lindfors wrote: Tom Yates [EMAIL PROTECTED] writes: i can make a GPRS connection. when it's up, i can place a call, and the outgoing GPRS connection temporarily suspends. when it's up, incoming calls go straight to voicemail; the phone doesn't even give me the choice of accepting the call. I can answer incoming calls but I need to restart GPRS after each call. Can you please capture everything sent/received to the GSM chip in your case? i'd be happy to; can you point me to any resource that lets me know a way of doing that? does the muxd have a flag that tells it to hive off a copy of the datastream (that'd be really handy about now)? -- Tom Yates - http://www.teaparty.net ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: gsm muxing and GPRS: am i missing something?
Tom Yates [EMAIL PROTECTED] writes: i'd be happy to; can you point me to any resource that lets me know a way of doing that? does the muxd have a flag that tells it to hive off a copy of the datastream (that'd be really handy about now)? The low-level way is to strace -o gsm0710muxd.strace -p `pidof gsm0710muxd` -s4096 -f -tt but you might get lucky if you just set log_level = DEBUG in frameworkd.conf ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: gsm muxing and GPRS: am i missing something?
Am Sunday 31 August 2008 10:38:47 schrieb Tom Yates: i can make a GPRS connection. when it's up, i can place a call, and the outgoing GPRS connection temporarily suspends. when it's up, incoming calls go straight to voicemail; the phone doesn't even give me the choice of accepting the call. Yep, that's expected. See earlier discussions on this list. my understanding from the wiki was that GSM multiplexing allows both a GPRS connection and a phone call to be handled at the same time. so i'd sort of assumed that i could still take an incoming call, even if that would temporarily suspend the GPRS connection. Yes, that's the theory. In practice this does hardly work and it's likely not a fault of the GSM chipset. so: have i misunderstood completely? is the MUXing simply about sharing access to the modem, rather than the line (ie, connection between modem and network) as well? Yes. or should i be able to take an incoming call while the GPRS is up? Only, if the connection is kind of idle at this point, i.e. it might work while you are pinging a host, it might not work when you are wget'ting loads of data. and if so, should the GPRS suspend while i do, or should i be able to run them both simultaneously? GPRS will nicely suspend once you were lucky enough to accept the call. It will automagically resume. before i start trying to find out *how* to configure pppd to do what i want, i'd like to know if the phone is capable of it! i'd very much appreciate any ideas or insights anyone has on this. As it stands, there's no pppd configuration which will improve things. The problem is the network. -- :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
gsm muxing and GPRS: am i missing something?
i've pretty much got this working under 2008.08, following various wiki and other writeups, for which many thanks to the authors. my writeup's at http://www.teaparty.net/technotes/openmoko-2.html#GPRS , if anyone's interested; i went for with GSM multiplexing but without a GUI. i can make a GPRS connection. when it's up, i can place a call, and the outgoing GPRS connection temporarily suspends. when it's up, incoming calls go straight to voicemail; the phone doesn't even give me the choice of accepting the call. my understanding from the wiki was that GSM multiplexing allows both a GPRS connection and a phone call to be handled at the same time. so i'd sort of assumed that i could still take an incoming call, even if that would temporarily suspend the GPRS connection. so: have i misunderstood completely? is the MUXing simply about sharing access to the modem, rather than the line (ie, connection between modem and network) as well? or should i be able to take an incoming call while the GPRS is up? and if so, should the GPRS suspend while i do, or should i be able to run them both simultaneously? before i start trying to find out *how* to configure pppd to do what i want, i'd like to know if the phone is capable of it! i'd very much appreciate any ideas or insights anyone has on this. -- Tom Yates - http://www.teaparty.net ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community