[Gta04-owner] Modem crashing?

Dr. H. Nikolaus Schaller hns at goldelico.com
Wed Feb 15 16:01:40 CET 2012


Am 15.02.2012 um 15:51 schrieb Radek Polak:

> On Wednesday 15 February 2012 13:30:58 Radek Polak wrote:
> 
>> On Wednesday 15 February 2012 07:53:43 Dr. H. Nikolaus Schaller wrote:
>>> Another idea is to test if it really does reset the modem: please enable
>>> the SIM PIN. If you need to provide it again after this operation, the
>>> modem did reset. If not, it is just something in the USB interface. Maybe
>>> it is going to some suspend and waking up as a different device number?
>> 
>> It does not need PIN:
>> 
>> Feb 15 13:26:59 neo Qtopia: AtChat :  T : "AT+CPIN?"
>> Feb 15 13:26:59 neo Qtopia: AtChat :  F : "+CPIN: READY"
>> 
>> So it just disconnects and reconnects. I wonder if it is possible to detect
>> it from software and reopen the port.
> 
> It's possible to detect 0 returned from read operation on the serial port. 
> After reopening the modem continues to work normally. So it's probably just 
> disconnect.

I have forwarded this issue to OPTION. Let's see what they can tell us.

Another idea for a workaround:
Does QtMoko have a timeout if a AT command does not respond with OK or ERROR
within let's say 2 seconds? You could then rescan the interfaces and reopen the
/dev/ttyHS? file.

Best regards,
Nikolaus



More information about the Gta04-owner mailing list