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. r3138 - trunk/src/host/usbpath ([EMAIL PROTECTED])
   2. r3139 - trunk/src/host/dfu-util/src ([EMAIL PROTECTED])
   3. r3140 - in
      trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: werner
Date: 2007-10-10 03:56:15 +0200 (Wed, 10 Oct 2007)
New Revision: 3138

Added:
   trunk/src/host/usbpath/lsusbpath
Modified:
   trunk/src/host/usbpath/README
Log:
lsusbpath: wrapper for lsusb to also print path names
README: added description of lsusbpath



Modified: trunk/src/host/usbpath/README
===================================================================
--- trunk/src/host/usbpath/README       2007-10-09 17:30:14 UTC (rev 3137)
+++ trunk/src/host/usbpath/README       2007-10-10 01:56:15 UTC (rev 3138)
@@ -28,6 +28,10 @@
 1/19
 
 
+lsusbpath is a wrapper for lsusb that converts bus and device numbers in
+lsusb output to paths, and prints them in addition to the numbers.
+
+
 Compilation and installation
 ----------------------------
 

Added: trunk/src/host/usbpath/lsusbpath
===================================================================
--- trunk/src/host/usbpath/lsusbpath    2007-10-09 17:30:14 UTC (rev 3137)
+++ trunk/src/host/usbpath/lsusbpath    2007-10-10 01:56:15 UTC (rev 3138)
@@ -0,0 +1,12 @@
+#!/usr/bin/perl
+open(PIPE, "-|", "lsusb", @ARGV) || die "popen $ARGV[0]: $!";
+while (<PIPE>) {
+    if (/Bus (\d+) Device (\d+):/) {
+       $path = `usbpath "$1/$2"`;
+       chop $path;
+       print "Path $path $_";
+    }
+    else {
+       print;
+    }
+}


Property changes on: trunk/src/host/usbpath/lsusbpath
___________________________________________________________________
Name: svn:executable
   + *




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2007-10-10 04:36:19 +0200 (Wed, 10 Oct 2007)
New Revision: 3139

Modified:
   trunk/src/host/dfu-util/src/main.c
Log:
main.c (iterate_dfu_devices): put back essential call to count_dfu_interfaces
  stupidly removed by mistake :-(



Modified: trunk/src/host/dfu-util/src/main.c
===================================================================
--- trunk/src/host/dfu-util/src/main.c  2007-10-10 01:56:15 UTC (rev 3138)
+++ trunk/src/host/dfu-util/src/main.c  2007-10-10 02:36:19 UTC (rev 3139)
@@ -243,6 +243,8 @@
                            (atoi(usb_bus->dirname) != dif->bus ||
                            dev->devnum != dif->devnum))
                                continue;
+                       if (!count_dfu_interfaces(dev))
+                               continue;
 
                        retval = action(dev, user);
                        if (retval)




--- End Message ---
--- Begin Message ---
Author: thomas
Date: 2007-10-10 10:26:02 +0200 (Wed, 10 Oct 2007)
New Revision: 3140

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-keypad.c
Log:
Patch by: Roman Moravcik <[EMAIL PROTECTED]>

* moko-keypad.c: (on_panel_user_input): Emit signal DIGIT_PRESSED
  when keypad digit was pressed,

* moko-dialer.c: (on_call_progress_changed): Check if status was
  changed to TALKING when dialer received MOKO_GSMD_PROG_CONNECTED,
  (on_keypad_digit_pressed): Implemented sending of DTMF tones
  during active call. Fixes bug 53.


Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog  
2007-10-10 02:36:19 UTC (rev 3139)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog  
2007-10-10 08:26:02 UTC (rev 3140)
@@ -1,3 +1,15 @@
+2007-10-10  Thomas Wood  <[EMAIL PROTECTED]>
+
+       Patch by: Roman Moravcik <[EMAIL PROTECTED]>
+
+       * moko-keypad.c: (on_panel_user_input): Emit signal DIGIT_PRESSED
+         when keypad digit was pressed,
+
+       * moko-dialer.c: (on_call_progress_changed): Check if status was
+         changed to TALKING when dialer received MOKO_GSMD_PROG_CONNECTED,
+         (on_keypad_digit_pressed): Implemented sending of DTMF tones
+         during active call. Fixes bug 53.
+
 2007-10-06  Holger Hans Peter Freyther  <[EMAIL PROTECTED]>
 
        openmoko-dialer display isn't cleared after pin is sent

Modified: 
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c  
2007-10-10 02:36:19 UTC (rev 3139)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c  
2007-10-10 08:26:02 UTC (rev 3140)
@@ -440,8 +440,16 @@
                          const gchar digit,
                          MokoDialer *dialer)
 {
-  /* If in call, dtmf it, otherwise ignore */
-  /* FIXME: When libgsmd implements it, we should */
+  MokoDialerPrivate *priv;
+
+  g_return_if_fail (MOKO_IS_DIALER (dialer));
+  priv = dialer->priv;
+
+  if ((digit == '+') || (digit == 'w') || (digit == 'p'))
+    return;
+
+  if (priv->status == DIALER_STATUS_TALKING)
+    moko_gsmd_connection_voice_dtmf (priv->connection, digit);
 }
 
 static void
@@ -631,6 +639,8 @@
       break;
     
     case MOKO_GSMD_PROG_CONNECTED:
+      if (priv->status != DIALER_STATUS_TALKING)
+        moko_dialer_talking (dialer);
       moko_talking_accepted_call (MOKO_TALKING (priv->talking), NULL, NULL);
       moko_keypad_set_talking (MOKO_KEYPAD (priv->keypad), TRUE);
       g_debug ("mokogsmd connected");

Modified: 
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-keypad.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-keypad.c  
2007-10-10 02:36:19 UTC (rev 3139)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-keypad.c  
2007-10-10 08:26:02 UTC (rev 3140)
@@ -253,6 +253,7 @@
                                           MOKO_DIALER_TEXTVIEW 
(priv->textview), 
                                           TRUE));
     moko_tips_set_matches (MOKO_TIPS (priv->tips), matches);
+    g_signal_emit (G_OBJECT (keypad), keypad_signals[DIGIT_PRESSED], 0, digit);
  }
 }
 




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to