State of upstreaming?
martin.jansa at gmail.com
Wed Sep 22 09:21:06 CEST 2010
On Wed, Sep 22, 2010 at 09:11:05AM +0200, Radek Polak wrote:
> On Tuesday 21 September 2010 21:08:31 Timo Juhani Lindfors wrote:
> > That is interesting news. Can you point me to the config file and git
> > hash that you are using so that I can start testing this version too?
> Config is also supplied as .config in the root. The tree is based on
> git.openmoko.org branch om-gta02-2.6.34. It has cherry-picked patches from SHR
>  except glamo-drm because i was unable to boot whith these patches.
> > Afaik at least resume reason support for PMU was missing
> > completely. Is this still the case? It is a serious regression for me
> > since I need to differentiate between RTC wake up and power button
> > press.
> I have this file:
this is only subreason from FSO point of view
internal const string SYSFS_RESUME_REASON_PATH = "/class/i2c-adapter/i2c-0/0-0073/neo1973-resume.0/resume_reason";
internal const string SYSFS_RESUME_SUBREASON_PATH = "/class/i2c-adapter/i2c-0/0-0073/resume_reason";
how it's used
FSO tries to read SYSFS_RESUME_REASON_PATH first (but it's not available in
2.6.3) and then only if it's EINT09_PMU it reads second file
> it reads value 0002000000
which corresponds to
you can also find ie "0000000200", ResumeReason.LowBattery
but last time I talked with lindi, he showed me more possible values there,
which were also interresting
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
More information about the openmoko-kernel