Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Deprecated: Function create_function() is deprecated in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/rockbox.org/flyspray/adodb/adodb.inc.php on line 845 Deprecated: Function create_function() is deprecated in /sites/rockbox.org/flyspray/includes/class.user.php on line 111 FS#3015 : fix shutdown on ipod nano

Rockbox

Tasklist

FS#3015 - fix shutdown on ipod nano

Attached to Project: Rockbox
Opened by Mikael Magnusson (mikaelh) - Sunday, 12 February 2006, 10:55 GMT
Last edited by Mikael Magnusson (mikaelh) - Sunday, 19 February 2006, 21:23 GMT
Task Type Patches
Category
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The ipod nano currently busyspins in shutdown_hw()
because it has this code;
while(ata_disk_is_active())
sleep(HZ/10);
ata.c returns !sleeping for that function, but sleeping
is never set to true for the nano. This patch simply
always returns 0 in ata_disk_is_active() for ipod nano,
reducing shutdown from 8 seconds (which is the timeout
set in sys_poweroff()) to about 1 second.
This task depends upon

Closed by  Mikael Magnusson (mikaelh)
Sunday, 19 February 2006, 21:23 GMT
Reason for closing:  Accepted
Additional comments about closing:  Logged In: YES
user_id=686463

committed by preglow
Comment by Mikael Magnusson (mikaelh) - Sunday, 19 February 2006, 21:23 GMT

committed by preglow

Loading...