Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: found a bug in power_off()

Re: found a bug in power_off()

From: sophana <jobarjo78_at_yahoo.fr>
Date: Tue, 25 May 2004 16:10:53 +0200

I also noticed that the archos won't power off until dc power is cut.
Does anybody knows a workaround to force power off even when connected with
DC power?
Is it hardwired?

thanks
----- Original Message -----
From: "sophana" <jobarjo78_at_yahoo.fr>
To: "Rockbox development" <rockbox_at_cool.haxx.se>
Sent: Tuesday, May 25, 2004 3:52 PM
Subject: found a bug in power_off()


Hi all

I was complaining some weeks ago about idle power off not working on my
jukebox6000
I also needed power_off() for my CDC application (still didnt work)

I found out that when I remove the
while(1);
at the end of the routine, it works... :-)

This must be caused by the optimizer optmizing too much, even if the and_b
and or_b routine are in assembly inline. (the optimizer is generally working
at the assembler level I think)

I don't know if the sh1 registers are declared as volatile, but it should
help.

Regards
Sophana
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-05-25

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy