[Gta04-owner] Modem off
Andreas Kemnade
andreas at kemnade.info
Wed Nov 13 15:45:31 CET 2013
Hi,
On Tue, 2013-11-12 at 09:49 +1100, NeilBrown wrote:
> On Mon, 11 Nov 2013 16:38:31 +0100 Andreas Kemnade <andreas at kemnade.info>
> wrote:
>
> > >
> > > I look forward to hearing of your results.
> >
> > At the moment I even cannot reproduce your the lower currents when the
> > module is removed or unbind is done (when the modem does not show up on
> > the bus). I measured current_now directly after suspend and retried also
> > with that 5-min average using charge_now.
>
> What current do you measure?
3.7 with ehci-hcd compiled in
- 32mA without modem, 2 tries
doing unbind
- 45mA (3x)
doing bind
- 54mA
- 24mA
- 24mA
- 54mA
doing unbind
- 45mA
- 45mA
doing bind
- 24mA
- 24mA
- 47mA(?)
- 24mA
- 24mA
- 41mA(?)
> Is it consistent over several measurements?
I retried it using some 5 minute slots (the values above are current_now
after suspend), and i never got any lower values than the ones from
above.
> What kernel are you using?
>
A 3.7-nplus kernel with the following change to the offmode thingy:
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -377,12 +377,12 @@ static int omap3_pm_suspend(void)
/* Set ones wanted by suspend */
list_for_each_entry(pwrst, &pwrst_list, node) {
if (strcmp(pwrst->pwrdm->name, "core_pwrdm") == 0) {
- static int times = 0;
- times++;
- if (times == 1)
+ // static int times = 0;
+ // times++;
+ // if (times == 1)
pwrst->next_state = PWRDM_POWER_RET;
- if (times == 2)
- pwrst->next_state = PWRDM_POWER_OFF;
+ // if (times == 2)
+ // pwrst->next_state = PWRDM_POWER_OFF;
}
if (omap_set_pwrdm_state(pwrst->pwrdm,
pwrst->next_state))
goto restore;
I did this because suspend did only work once. I also retried using the
qtmoko56.2 kernel
Greetings
Andreas Kemnade
More information about the Gta04-owner
mailing list