defconfig: CONFIG_APM_POWER=y ?

Mike (mwester) mwester at
Thu Jul 10 05:50:33 CEST 2008

Andy Green wrote:
> Hash: SHA1
> Somebody in the thread at some point said:
> | Some of the defconfig's have CONFIG_APM_POWER enabled, some don't.  I
> | know enabling this on the GTA01 breaks apm; do we need this set for
> | GTA02?  If we set this, I think part of the code in pcf50633.c doesn't
> | do anything anymore, which is why I'm asking about this.
> For packaging John Lee asked for the gta01 and 02 ones broken out
> separately which I did (the defconfig_gta01 in git does not have
> APM_POWER enabled), but I heard someone complaining the other day about
> defconfig_om_blah in the packaging stuff, which I never saw.
> Also some folks suspend by using apm -s IIRC, maybe pulling it from
> GTA02 will upset that.  Otherwise, sounds good to get rid of it AFAIK.

apm-emulation seems to control that; the apm_power stuff seems to break
the values read from /proc/apm for the battery levels.  I guess I should
just try it both ways on the GTA02 and see if what's reported by
/proc/apm is different.

> - -Andy

Mike (mwester)

More information about the openmoko-kernel mailing list