• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category User Interface → Simulator
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.4
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Riffer - 2010-02-23
Last edited by thomasjfox - 2012-01-02

FS#11054 - power_thread and quit for the simulator

For debugging purposes I need a working simulation of the power_thread. For having this I stripped the original and put it in powermgmt-sim.c plus changes to have the simulation run the power thread.

Works for idle and sleep timer with some extra output.

In addition it quits the simulation by pushing SDL_QUIT to the SDL_Thread in sys_poweroff().

Maybe it is useful for others.

Closed by  thomasjfox
2012-01-02 08:33
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Fixed upstream. (actually I reimplemented the same stuff some months ago. Sorry, didn't see the ticket earlier.)

nls commented on 2010-08-19 13:35

Hi, this sounds usefull, does it also simulate a power off by button press?
btw the patch doesn’t apply anymore.

Yes it did that way. Hoping I have time at weekend to bring up to date.


Available keyboard shortcuts


Task Details

Task Editing