Rockbox

Tasklist

FS#11054 - power_thread and quit for the simulator

Attached to Project: Rockbox
Opened by Kai Posadowsky (Riffer) - Tuesday, 23 February 2010, 22:45 GMT
Last edited by Thomas Jarosch (thomasjfox) - Monday, 02 January 2012, 08:33 GMT
Task Type Patches
Category Simulator
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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.
This task depends upon

Closed by  Thomas Jarosch (thomasjfox)
Monday, 02 January 2012, 08:33 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Fixed upstream. (actually I reimplemented the same stuff some months ago. Sorry, didn't see the ticket earlier.)
Comment by Nils Wallménius (nls) - Thursday, 19 August 2010, 13:35 GMT
Hi, this sounds usefull, does it also simulate a power off by button press?
btw the patch doesn't apply anymore.
Comment by Kai Posadowsky (Riffer) - Thursday, 19 August 2010, 21:03 GMT
Yes it did that way. Hoping I have time at weekend to bring up to date.

Loading...