Send commitlog mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. r2953 - in trunk/src/target/OM-2007.2/daemons/neod: . src
([EMAIL PROTECTED])
2. r2954 - trunk/src/target/OM-2007.2/daemons/neod
([EMAIL PROTECTED])
3. r2955 - in
trunk/src/target/OM-2007.2/applications/openmoko-today2: . src
([EMAIL PROTECTED])
--- Begin Message ---
Author: mickey
Date: 2007-09-11 16:53:30 +0200 (Tue, 11 Sep 2007)
New Revision: 2953
Modified:
trunk/src/target/OM-2007.2/daemons/neod/README
trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
Log:
neod: add button action support for Motorola EZX platform
Modified: trunk/src/target/OM-2007.2/daemons/neod/README
===================================================================
--- trunk/src/target/OM-2007.2/daemons/neod/README 2007-09-11 09:25:22 UTC
(rev 2952)
+++ trunk/src/target/OM-2007.2/daemons/neod/README 2007-09-11 14:53:30 UTC
(rev 2953)
@@ -1,6 +1,8 @@
-Minimal Button and powermanagement handling daemon
+Minimal Button and powermanagement handling daemon for
+ * FIC Neo1973
+ * Motorola EZX Platform
-NOTE: Merely throwaway code, since it may be a better idea to base on
+NOTE: Merely throwaway code -- might be a better idea to base on
* freedesktop's HAL / OHM, or
* G[PE]2's machined, or
* Florian Boor's devmand, or
Modified: trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
===================================================================
--- trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c 2007-09-11
09:25:22 UTC (rev 2952)
+++ trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c 2007-09-11
14:53:30 UTC (rev 2953)
@@ -45,13 +45,19 @@
//FIXME load this from sysfs
static const int MAX_BRIGHTNESS = 5000;
-#ifndef DEBUG_THIS_FILE
- #define AUX_BUTTON_KEYCODE 169
- #define POWER_BUTTON_KEYCODE 116
+#define AUX_BUTTON_KEYCODE 0x22
+#define POWER_BUTTON_KEYCODE 0x23
+#define TOUCHSCREEN_BUTTON_KEYCODE 0x14a
+
+#ifdef NEOD_PLATFORM_FIC_NEO1973
+ #define AUX_BUTTON_KEYCODE 169 /* aux */
+ #define POWER_BUTTON_KEYCODE 116 /* power */
#define TOUCHSCREEN_BUTTON_KEYCODE 0x14a
-#else
- #define AUX_BUTTON_KEYCODE 0x22
- #define POWER_BUTTON_KEYCODE 0x23
+#endif
+
+#ifdef NEOD_PLATFORM_MOTOROLA_EZX
+ #define AUX_BUTTON_KEYCODE 0xa7 /* voice */
+ #define POWER_BUTTON_KEYCODE 0xd4 /* camera */
#define TOUCHSCREEN_BUTTON_KEYCODE 0x14a
#endif
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-09-11 17:26:55 +0200 (Tue, 11 Sep 2007)
New Revision: 2954
Modified:
trunk/src/target/OM-2007.2/daemons/neod/configure.ac
Log:
neod: tell configure.ac about --with-platform=
Modified: trunk/src/target/OM-2007.2/daemons/neod/configure.ac
===================================================================
--- trunk/src/target/OM-2007.2/daemons/neod/configure.ac 2007-09-11
14:53:30 UTC (rev 2953)
+++ trunk/src/target/OM-2007.2/daemons/neod/configure.ac 2007-09-11
15:26:55 UTC (rev 2954)
@@ -20,6 +20,18 @@
PKG_CHECK_MODULES(NEOD, gtk+-2.0 gconf-2.0 libpulse)
+AC_ARG_WITH([platform],
+ AC_HELP_STRING([--with-platform], [Which platform to use
[[default=vanilla]]]),
+ [neod_platform=$with_platform])
+
+if test x"$neod_platform" = x"neo1973"; then
+ NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_FIC_NEO1973"
+fi
+
+if test x"$neod_platform" = x"ezx"; then
+ NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_MOTOROLA_EZX"
+fi
+
CFLAGS=$NEOD_CFLAGS
AC_OUTPUT([
--- End Message ---
--- Begin Message ---
Author: thomas
Date: 2007-09-11 22:41:25 +0200 (Tue, 11 Sep 2007)
New Revision: 2955
Modified:
trunk/src/target/OM-2007.2/applications/openmoko-today2/ChangeLog
trunk/src/target/OM-2007.2/applications/openmoko-today2/src/today-main.c
Log:
* src/today-main.c: (main): Remove disabling of focus on the notebook tabs to
try and fix bugs 723 and 724
Modified: trunk/src/target/OM-2007.2/applications/openmoko-today2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-today2/ChangeLog
2007-09-11 15:26:55 UTC (rev 2954)
+++ trunk/src/target/OM-2007.2/applications/openmoko-today2/ChangeLog
2007-09-11 20:41:25 UTC (rev 2955)
@@ -1,3 +1,8 @@
+2007-09-11 Thomas Wood <[EMAIL PROTECTED]>
+
+ * src/today-main.c: (main): Remove disabling of focus on the notebook
tabs to
+ try and fix bugs 723 and 724
+
2007-09-05 Chris Lord,,, <[EMAIL PROTECTED]>
* libtaku/launcher-util.c:
Modified:
trunk/src/target/OM-2007.2/applications/openmoko-today2/src/today-main.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-today2/src/today-main.c
2007-09-11 15:26:55 UTC (rev 2954)
+++ trunk/src/target/OM-2007.2/applications/openmoko-today2/src/today-main.c
2007-09-11 20:41:25 UTC (rev 2955)
@@ -159,7 +159,6 @@
/* Notebook */
data.notebook = gtk_notebook_new ();
- g_object_set (G_OBJECT (data.notebook), "can-focus", FALSE, NULL);
gtk_notebook_set_tab_pos (GTK_NOTEBOOK (data.notebook), GTK_POS_BOTTOM);
gtk_container_add (GTK_CONTAINER (data.window), data.notebook);
gtk_widget_show (data.notebook);
--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog