Modem wakeup...

Nils Faerber nils.faerber at kernelconcepts.de
Tue Jul 24 12:46:46 CEST 2007


Arnaud Patard (Rtp) schrieb:
> Nils Faerber <nils.faerber at kernelconcepts.de> writes:
> Hi!
Hi!

>> Now that LCD resume works (yippie!) I am further playing with the NEO
>> GTA01V4...
>> Good news: I had it suspended during the night and today morning it
>> resumed just fine! The GSM modem was also still GSM conected, i.e.
>> registered to the provider and accepting calls.
> 
> being curious, did you compare the battery level before and after ? 

He, darn, I did not look at the exact level...
I had a battery monitor with four bars running and one bar was missing.
This mean that we lost something up to 25%.
I will try to make this more exact, promised ;)

Just for now the only way for me to query that more exctly is to issue a
command on the console which I only have with USB - and with USB
connected I do not get level readings ;)

>> Not so good news: The NEO does not resume on an incoming call.
>>
>> Well, I guess this is a configuration issue with the modem, i.e. I would
>> assume that the events upon which the modem will trigger wake-up events
>> will be configurable by AT commands. Since the documentation to the
>> modem is not exactly open I would like to ask just for the config
>> command and options (if it exists) to enable wakeup on incoming call and
>> incoming SMS ;)
> 
> I've no idea on how the modem is working too but at least I can see that
> there's a irq handler for a "modem wakeup" interrupt. Unfortunately, I
> don't see where the gpio is configured to do interrupts.
> 
> Can you try adding :
> s3c2410_gpio_cfgpin(GTA01_IRQ_MODEM, S3C2410_GPF1_EINT1);
> 
> before set_irq_type(GTA01_IRQ_MODEM, IRQT_RISING); in
> mach-gta01:gta01_machine_init() ?

Sure, will try that ASAP!
Makes sense, if it is not yet configured anywhere else, cool stuff!

Should it be that easy?

> Arnaud
Cheers
  nils faerber

-- 
kernel concepts GbR        Tel: +49-271-771091-12
Sieghuetter Hauptweg 48    Fax: +49-271-771091-19
D-57072 Siegen             Mob: +49-176-21024535
--

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20070724/6b434b64/attachment.pgp 


More information about the openmoko-kernel mailing list