Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #175 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

PrepareForSuspend does not return?

Reported by: lindi Owned by: mickey
Priority: major Milestone:
Component: documentation Version:
Keywords: Cc:

Description

This morning I noticed that even if I hold POWER down in zhone the phone does not suspend. Manually running "apm -s" works so zhone must never see PrepareForSuspend? return? After reboot the problem goes away. How should I provide more debug info next time I hit the problem? Here's what I have captured so far:

dpkg -l fso-frameworkd zhone

ii  fso-frameworkd                       0.2.0-git20080909-5                  freemsmartphone.org Framework Daemon
ii  zhone                                0-git20080909-1                      freesmartphone.org demo GUI

zhone

INPUT EVENT = POWER, pressed, 0
INPUT EVENT = POWER, held, 2
INPUT EVENT = POWER, held, 3
IDLE STATE = IDLE
INPUT EVENT = POWER, held, 4
IDLE STATE = BUSY
INPUT EVENT = POWER, released, 0

sudo frameworkd

no elements in queue: starting idle task.
_processElement()
got an element from the queue
odeviced.input INFO     name POWER pressed 0
_processElement()
no more elements: stopping idle task.
odeviced.input INFO     name POWER held 2
odeviced.input INFO     name POWER held 3
odeviced.input INFO     name POWER held 4
no elements in queue: starting idle task.
_processElement()
got an element from the queue
odeviced.input INFO     name POWER released 0
_processElement()
no more elements: stopping idle task.
ogsmd.modem.abstract DEBUG    prepareForSuspend ACK from channel <MiscChannel via /dev/pts/1> received
ogsmd.modem.abstract DEBUG    prepareForSuspend ACK from channel <CallChannel via /dev/pts/3> received

sudo su bin -c "dbus-monitor --system"

signal sender=:1.22 -> dest=(null destination) path=/org/freesmartphone/Device/Input; interface=org.freesmartphone.Device.Input; member=Event
   string "POWER"
   string "pressed"
   int32 0
signal sender=:1.22 -> dest=(null destination) path=/org/freesmartphone/Device/Input; interface=org.freesmartphone.Device.Input; member=Event
   string "POWER"
   string "held"
   int32 2
signal sender=:1.22 -> dest=(null destination) path=/org/freesmartphone/Device/Input; interface=org.freesmartphone.Device.Input; member=Event
   string "POWER"
   string "held"
   int32 3
signal sender=:1.22 -> dest=(null destination) path=/org/freesmartphone/Device/IdleNotifier/0; interface=org.freesmartphone.Device.IdleNotifier; member=State
   string "IDLE"
signal sender=:1.22 -> dest=(null destination) path=/org/freesmartphone/Device/Input; interface=org.freesmartphone.Device.Input; member=Event
   string "POWER"
   string "held"
   int32 4
signal sender=:1.22 -> dest=(null destination) path=/org/freesmartphone/Device/IdleNotifier/0; interface=org.freesmartphone.Device.IdleNotifier; member=State
   string "BUSY"
signal sender=:1.22 -> dest=(null destination) path=/org/freesmartphone/Device/Input; interface=org.freesmartphone.Device.Input; member=Event
   string "POWER"
   string "released"
   int32 0
method call sender=:1.24 -> dest=:1.22 path=/org/freesmartphone/Device/Display/pcf50633_bl; interface=org.freesmartphone.Device.Display; member=SetBrightness
   int32 90
method call sender=:1.24 -> dest=:1.22 path=/org/freesmartphone/GSM/Device; interface=org.freesmartphone.GSM.Device; member=PrepareForSuspend

Change History

comment:1 Changed 4 years ago by mickey

  • Status changed from new to closed
  • Resolution set to fixed

I'm confident this has been fixed in the meantime. Please reopen, if not.

Note: See TracTickets for help on using tickets.