[Gta04-owner] Kernel update for gta04

NeilBrown neilb at suse.de
Sat Jul 7 06:09:01 CEST 2012


Hi all,
 I've just refreshed my kernel branches:

 git://github.com/neilbrown/linux.git
   Branches:  gta04/3.2.y gta04/3.3.y gta04/3.4.y  mainline
 git://neil.brown.name/gta04
   Branches: 3.2-gta04 3.3-gta04 3.4-gta04 mainline

I'm still using 3.2.  It seems more stable but possibly I haven't given the
others a proper chance.

Three changes of interest.
1/ my phone would often crash on resume.  I found one bug which is already
   fixed in 3.3, and another that is still present in mainline.
   More details can be found at http://neil.brown.name/blog/20120706122934

2/ I added 'wakeup_sources' for the buttons, RTC alarm, and 3G interrupt.
   This means that if one of these happens while an auto-suspend is happening,
   the suspend will abort.  It is probably quite rare than an alarm will fire
   or a TXT will arrive just as the phone is suspending, but it can happen and it
   is good to be able to avoid it.

3/ I've also updated to the latest -stable version for each.

 The simplest way to avoid races with suspend is:
 -  read /sys/power/wakeup_count and record the number
 -  final check that no buttons are pressed etc
 -  write the recorded number to /sys/power/wakeup_count
 -  If that succeeds, write "mem" to /sys/power/state

 though it works better is the platform is enhanced to to auto-suspend
 properly.

I haven't played much more with 3.5-rc.  The power usage is still way too
high.  I've seen some messages on the linux-omap list which suggest that
might be fixed soon.  So I'll probably get back to it at the next -rc, or
maybe 3.5-final.

NeilBrown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120707/87d203f2/attachment.bin>


More information about the Gta04-owner mailing list