View Single Post
Posts: 25 | Thanked: 59 times | Joined on Jun 2010 @ Finland
#10
Originally Posted by haolin View Post
When I woke up, it was past second alarm and on screen was two alarm notifications ... The system was overall sluggish too and behaved abnormally (can't remember details sorry).
Do you recall the desktop being jammed? I had this alarm-not-playing problem this morning (luckily my wife was already up), noticed the desktop icons don't react to touch and remembered it was the same at the evening.

Happened to have dbus-monitor running and checked its output after the (silent) alarm. Copied the relevant lines to LeafPad but forgot to save before trying to restart the desktop - which jammed it so no trace left after reboot. Anyway, after the lengthy alarm dbus call with the alarm sound file, vibration pattern and all, there was this common "method xxx on interface yyy does not exist", guess that happens when the component that should receive it won't respond. Trying now that alarms are fine, there seem to be one dbus call with the alarm params to org.freedesktop.Notifications and that one initiates a call to com.nokia.HildonSVNotificationDaemon, guess the first one displays the screen and the latter one does the audiomotional part, so apparently the second one wasn't called when it was silent.

Dunno what processes I had running, haven't been too careful with extras-dev stuff. At least had been playing with e-mail sync d-bus commands which can be rather heavy operations in case of fullSync.

Here is a d-bus sequence of a working alarm:
Code:
method call sender=:1.8 -> dest=org.freedesktop.Notifications serial=15 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=CloseNotification
   uint32 0

error sender=:1.36 -> dest=:1.8 error_name=org.freedesktop.DBus.GLib.ErrorError reply_serial=15
   string "Method invoked for CloseNotification returned FALSE but did not set error"

method call sender=:1.8 -> dest=org.freedesktop.Notifications serial=16 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "notify-clock-alarm"
   uint32 0
   string "/usr/share/icons/hicolor/10x10/hildon/qgn_list_smiley_angry.png"
   string "alarm"
   string ""
   array [
   ]
   array [
      dict entry(
         string "vibra"
         variant             string "PatternIncomingCall"
      )
      dict entry(
         string "alarm-type"
         variant             string "clock"
      )
      dict entry(
         string "sound-file"
         variant             string "/usr/share/sounds/ui-clock_alarm_default.aac"
      )
      dict entry(
         string "category"
         variant             string "alarm-event"
      )
      dict entry(
         string "volume"
         variant             int32 100
      )
   ]
   int32 0

method return sender=:1.36 -> dest=:1.8 reply_serial=16
   uint32 8

method call sender=:1.36 -> dest=com.nokia.HildonSVNotificationDaemon serial=602 path=/com/nokia/HildonSVNotificationDaemon; interface=com.nokia.HildonSVNotificationDaemon; member=PlayEvent
   array [
      dict entry(
         string "vibra"
         variant             string "PatternIncomingCall"
      )
      dict entry(
         string "alarm-type"
         variant             string "clock"
      )
      dict entry(
         string "sound-file"
         variant             string "/usr/share/sounds/ui-clock_alarm_default.aac"
      )
      dict entry(
         string "category"
         variant             string "alarm-event"
      )
      dict entry(
         string "volume"
         variant             int32 100
      )
      dict entry(
         string "time"
         variant             int64 1276853521
      )
   ]
   string ":1.8"

method call sender=:1.25 -> dest=org.maemo.Playback.Manager serial=107 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=RequestState
   object path "/org/maemo/playback1"
   string "Play"
   string "1203"
   string ""

method return sender=:1.25 -> dest=:1.36 reply_serial=602
   int32 8

method return sender=:1.4 -> dest=:1.25 reply_serial=107
   string "Play"

signal sender=:1.25 -> dest=(null destination) serial=109 path=/org/maemo/playback1; interface=org.freedesktop.DBus.Properties; member=Notify
   string "org.maemo.Playback"
   string "State"
   string "Play"

signal sender=:1.49 -> dest=(null destination) serial=51 path=/com/nokia/mafw/renderer/gstrenderer; interface=com.nokia.mafw.extension; member=property_changed
   string "volume"
   variant       uint32 6

signal sender=:1.49 -> dest=(null destination) serial=52 path=/com/nokia/mafw/renderer/gstrenderer; interface=com.nokia.mafw.extension; member=property_changed
   string "volume"
   variant       uint32 50

method call sender=:1.8 -> dest=org.freedesktop.Notifications serial=17 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=CloseNotification
   uint32 8

signal sender=:1.36 -> dest=(null destination) serial=603 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
   uint32 8

method call sender=:1.36 -> dest=com.nokia.HildonSVNotificationDaemon serial=604 path=/com/nokia/HildonSVNotificationDaemon; interface=com.nokia.HildonSVNotificationDaemon; member=StopEvent
   int32 8

method return sender=:1.36 -> dest=:1.8 reply_serial=17

method call sender=:1.25 -> dest=org.maemo.Playback.Manager serial=110 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=RequestState
   object path "/org/maemo/playback1"
   string "Stop"
   string "1203"
   string ""

method call sender=:1.8 -> dest=org.freedesktop.Notifications serial=18 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=CloseNotification
   uint32 8

error sender=:1.36 -> dest=:1.8 error_name=org.freedesktop.DBus.GLib.ErrorError reply_serial=18
   string "Method invoked for CloseNotification returned FALSE but did not set error"

method return sender=:1.4 -> dest=:1.25 reply_serial=110
   string "Stop"

signal sender=:1.25 -> dest=(null destination) serial=111 path=/org/maemo/playback1; interface=org.freedesktop.DBus.Properties; member=Notify
   string "org.maemo.Playback"
   string "State"
   string "Stop"

signal sender=:1.49 -> dest=(null destination) serial=53 path=/com/nokia/mafw/renderer/gstrenderer; interface=com.nokia.mafw.extension; member=property_changed
   string "volume"
   variant       uint32 73
/T