Re: Power consumption

From: cBou <cbou_at_mail.ru>
Date: Tue, 23 May 2006 02:08:25 +0400

On Mon, May 22, 2006 at 12:12:47AM +0400, cBou wrote:
> On Sat, May 20, 2006 at 02:31:25AM +0400, cBou wrote:
> > Hi all,
> >
> > As I stated a while ago, asic3_mmc module eats ~10 mA while sleep. I've
> > fixed it, thus you can get ~10 mA of overall power consumption while
> > sleep without rmmod'ing mmc.
> >
> > Plus, now Linux awakes on SD card pushing and pulling, like WinCE. It's
> > configurable by SDCD_AWAKE constant. As asic3 chip is totally
> > undocumented, please test patch hardly in various ways. Though, it seem
> > not break anything at least for me. :-)
>
> I've just discovered that mmc_resume_host(); hangs under some
> conditions, even with schedule_delayed_work(). :-(
>
> I'm trying to figure out why.

This hang also happens without my patch. It's easy to reproduce:
1. remove SD card
2. suspend hx4700
3. insert SD card
4. press any wakeup button (I've pressed asic3 ones)

With attached patch applied I seem not have any troubles now. I've moved
card detection code to proper irq handler and that fixed problem. Please
try it and report if anything goes wrong.

Thanks,

-- Anton (irc: bd2)

Received on Mon May 22 2006 - 18:01:24 EDT

This archive was generated by hypermail 2.2.0 : Mon May 22 2006 - 18:19:52 EDT