- Status Closed
- Percent Complete
- Task Type Bugs
- Category User Interface
- Assigned To No-one
- Operating System Sansa e200
- Severity Low
- Priority Very Low
- Reported Version Release 3.9
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#12351 - Sansa e200 - Scroll wheel usage doesn't restart power off timer
Unlike other targets (examples below), moving the e200 scroll wheel doesn’t restart the power off timer, so shutdown is possible even though the device obviously isn’t idle.
http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/ipod/button-clickwheel.c?annotate=30842#l142 http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/ipod/button-1g-3g.c?annotate=30842#l101 http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/coldfire/mpio/hd300/button-hd300.c?annotate=30842#l107 http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/philips/hdd6330/button-hdd6330.c?annotate=30842#l157 http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/pbell/vibe500/button-vibe500.c?annotate=30842#l129
Here’s a previous commit, fixing the problem for iPods;
http://svn.rockbox.org/viewvc.cgi?view=rev&revision=12068
Attached fix for device and simulator;
2011-10-28 17:24
Reason for closing: Accepted
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
Submitted with r30847.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Forgot to include powermgmt.h
I just tried on the sim. The timer is not restartet at all even though reset_poweroff_timer() is called.
Calling reset_poweroff_timer was the point of the exercise, maybe poweroff_timer isn’t implemented on the sim?
Otherwise I imagine a bug ought to be submitted that the reset_poweroff_timer function doesn’t work on the sim.
My fault, you always were talking about the “power off timer”, I tested the “sleep timer”… :/
Your fix works for the sim.