Compare commits

...

9 Commits

Author SHA1 Message Date
Simo Piiroinen
1ba395ffc1 Finish mce-dev 1.12.3 2013-03-06 11:43:25 +02:00
Simo Piiroinen
db569203fa Updated changelog 2013-03-06 11:41:02 +02:00
Simo Piiroinen
2859d1137a Merge pull request #2 from spiiroin/cpu_keepalive_methods
Added cpu-keepalive methods
2013-03-06 01:28:03 -08:00
Simo Piiroinen
0ddff6ce9e Updated mce version to @since 1.12.8
The mce 1.12.7 was released without cpu-keepalive plugin.
2013-02-18 18:17:35 +02:00
Simo Piiroinen
60c203cca8 Added cpu-keepalive methods
Applications can block suspend via:
 MCE_CPU_KEEPALIVE_PERIOD_REQ
 MCE_CPU_KEEPALIVE_START_REQ x N
 MCE_CPU_KEEPALIVE_STOP_REQ

And dsme can signal wakeup from suspend via:
 MCE_CPU_KEEPALIVE_WAKEUP_REQ
2013-02-14 12:21:25 +02:00
Simo Piiroinen
9ed4600f17 Version bumped to 1.12.3 2013-02-07 14:23:05 +02:00
Simo Piiroinen
d8aeff4029 Version bumped to 1.12.2 2012-10-31 19:41:42 +02:00
spiiroin
ba9bd79e72 Merge pull request #1 from Vesuri/master
Support for locking the touch screen without blanking the display

Just need to bump version to make "@since v1.12.2" valid.
2012-10-31 10:29:33 -07:00
Vesa Halttunen
85e9d01840 Support for locking the touch screen without blanking the display 2012-10-31 15:37:36 +00:00
4 changed files with 93 additions and 1 deletions

14
debian/changelog vendored
View File

@@ -1,3 +1,17 @@
mce-dev (1.12.3) unstable; urgency=low
* Added cpu-keepalive methods
* Removed unintentional mce-doc -> mce-headers dependency
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 06 Mar 2013 11:41:15 +0200
mce-dev (1.12.2) oneiric; urgency=low
* Added MCE_TK_LOCKED_DELAY
* Version sync with mce itself
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 31 Oct 2012 19:38:56 +0200
mce-dev (1.11.0) unstable; urgency=low
* Added MCE_COLOR_PROFILE_GET, MCE_COLOR_PROFILE_IDS_GET,

View File

@@ -324,6 +324,78 @@
*/
#define MCE_COLOR_PROFILE_CHANGE_REQ "req_color_profile_change"
/** Query the length of time late suspend can be blocked
*
* The idea is: if some process needs to do non-interactive
* background processing, it can prevent the system from
* entering late suspend by
*
* 1) get timer period via #MCE_CPU_KEEPALIVE_PERIOD_REQ call
*
* 2) call #MCE_CPU_KEEPALIVE_START_REQ
*
* 3) repeat #MCE_CPU_KEEPALIVE_START_REQ calls in interval
* that is shorter than the maximum obtained at (1)
*
* 4) call #MCE_CPU_KEEPALIVE_STOP_REQ when finished
*
* MCE keeps track of active clients and blocks late suspend
* until all clients have called #MCE_CPU_KEEPALIVE_STOP_REQ,
* lost D-Bus connection (exit, crash, ...) or all timeouts
* have been missed.
*
* @since v1.12.8
*
* @return period in seconds as DBUS_TYPE_UINT32
*/
#define MCE_CPU_KEEPALIVE_PERIOD_REQ "req_cpu_keepalive_period"
/** Temporarily disable enter late suspend policy
*
* This method call must be repeated periodically to keep
* the system from entering late suspend.
*
* The period length can be obtained via #MCE_CPU_KEEPALIVE_PERIOD_REQ.
*
* Note: The boolean reply message is optional and will be sent
* only if requested.
*
* @since v1.12.8
*
* @return success as DBUS_TYPE_BOOLEAN
*/
#define MCE_CPU_KEEPALIVE_START_REQ "req_cpu_keepalive_start"
/** Allow normal enter late suspend policy again
*
* If a process blocks late suspend via #MCE_CPU_KEEPALIVE_START_REQ,
* it must call #MCE_CPU_KEEPALIVE_STOP_REQ when background processing
* is finished to enable normal late suspend policy again.
*
* Note: The boolean reply message is optional and will be sent
* only if requested.
*
* @since v1.12.8
*
* @return success as DBUS_TYPE_BOOLEAN
*/
#define MCE_CPU_KEEPALIVE_STOP_REQ "req_cpu_keepalive_stop"
/** Signal wakeup from suspend due to aligned timer triggering
*
* NOTE: This is reserved for use from dsme iphb module and is
* used to transfer ownership of rtc irq wakeup wakelock from
* dsme to mce.
*
* Note: The boolean reply message is optional and will be sent
* only if requested.
*
* @since v1.12.8
*
* @return success as DBUS_TYPE_BOOLEAN
*/
#define MCE_CPU_KEEPALIVE_WAKEUP_REQ "req_cpu_keepalive_wakeup"
/*@}*/
/**

View File

@@ -119,6 +119,12 @@
* @since v1.4.15
*/
#define MCE_TK_LOCKED_DIM "locked-dim"
/**
* Touchscreen/Keypad locked with delay
*
* @since v1.12.2
*/
#define MCE_TK_LOCKED_DELAY "locked-delay"
/**
* Touchscreen/Keypad silently locked with fadeout
*

2
mce.pc
View File

@@ -3,7 +3,7 @@ includedir=${prefix}/include
Name: mce
Description: Mode Control Entity
Version: 1.11.0
Version: 1.12.3
Requires:
Libs:
Cflags: -I${includedir}