Gp2x Energy Saver. New Utility.


Sorry if the question is stupid, but will it not interrupt USB communication with PC?
It's a pain having GP2X connected to PC wasting the battery on lit LCD.
 
Why this wonderful utility only works if it is inserted the SD memory card in the slot? :huh:
Also putting directory in the Nand memory it does not work… :(
And autorun bootup don't work... :(
It is truly a sin sigh... :eek:
 
Why this wonderful utility only works if it is inserted the SD memory card in the slot? :huh:
It should work. Can you explain better the way you are trying to use it so it does not work for you?
Also putting directory in the Nand memory it does not work… :(
It should also work. Can you explain the way that you have tried so i can trace the problem?
And autorun bootup don't work... :(
If you want autorun bootup you need a special autorun.gpu script in the root of the NAND or an inserted SD Card. Can you explain the way you are trying to use autorun?
It is truly a sin sigh... :eek:
Not necessarily ;)
 
Last edited by a moderator:
Why this wonderful utility only works if it is inserted the SD memory card in the slot? :huh:
It should work. Can you explain better the way you are trying to use it so it does not work for you?
Also putting directory in the Nand memory it does not work… :(
It should also work. Can you explain the way that you have tried so i can trace the problem?
And autorun bootup don't work... :(
If you want autorun bootup you need a special autorun.gpu script in the root of the NAND or an inserted SD Card. Can you explain the way you are trying to use autorun?
It is truly a sin sigh... :eek:
Not necessarily ;)

Well...When I launch your wonderful utility from SD card or Nand memory and remove the SD card "sleep mode" dont' work until when I do not re-insert it.

About autorun...

First autorun.gpu ------> "Error al leer el archiviode configuracion :-( )

#!/bin/sh

/mnt/sd/Energysaver/Energysaver.gpu
sync

cd /usr/gp2x/
exec ./gp2xmenu --boot --disable-autorun


Second autorun.gpu ------> don't work exception (mplayer and musicplayer)

#!/bin/sh

/mnt/sd/Energysaver/setbl 30 &
sync

cd /usr/gp2x/
exec ./gp2xmenu --boot --disable-autorun

Ciao ;)
 
Last edited by a moderator:
Well...When I launch your wonderful utility from SD card or Nand memory and remove the SD card "sleep mode" dont' work until when I do not re-insert it.
I will check when i get home after work and will try to see what happens.
About autorun...

First autorun.gpu ------> "Error al leer el archiviode configuracion :-( )

#!/bin/sh

/mnt/sd/Energysaver/Energysaver.gpu
sync

cd /usr/gp2x/
exec ./gp2xmenu --boot --disable-autorun


Second autorun.gpu ------> don't work exception (mplayer and musicplayer)

#!/bin/sh

/mnt/sd/Energysaver/setbl 30 &
sync

cd /usr/gp2x/
exec ./gp2xmenu --boot --disable-autorun

Ciao ;)
Try this one, which will be included with next release and works for me perfectly, including exceptions:
Code:
#!/bin/sh
# AutoRun script for EnergySaver - Script de inicio para EnergySaver
# Copy to root of an SD Card	 - Copiar a la raiz de una tarjeta SD
# Copy setbl to root of the SD   - Copiar setbl a la raiz de esa SD
# Activate autorun feature	   - Activar el autoinicio de la consola
#
# Edit only this two lines	   - Editar estas dos lineas
TIME=30
EXCEPTIONS="mplayer MusicPlayer"
# Do not delete the quotes - No borre las comillas
# DO NOT EDIT BEYOND THIS LINE   - NO EDITAR POR DEBAJO DE ESTA LINEA
#
killall setbl

/mnt/sd/setbl $TIME $EXCEPTIONS &>/dev/null &

cd /usr/gp2x
exec ./gp2xmenu --disable-autorun
Copy it along with setbl to the root of an SD card.
 
Last edited by a moderator:
Wow your autorun script works very well. :D
I hope you fix the sleep mode without the SD memory inserted. ;)
Hi again

I have been testing, and it works for me without flaws with no SD inserted. Of course you have to copy the EnergySaver directory to the NAND, and execute it from there. Auto Run also works fine from the NAND.

Regards
kounch
 
Last edited by a moderator:
Wow your autorun script works very well. :D
I hope you fix the sleep mode without the SD memory inserted. ;)
Hi again

I have been testing, and it works for me without flaws with no SD inserted. Of course you have to copy the EnergySaver directory to the NAND, and execute it from there. Auto Run also works fine from the NAND.

Regards
kounch

No... :huh: I have copied the EnergySaver to the NAND, I have launch it and the sleep mode not work. As soon as I insert the SD in the slot the sleep mode works... sin… :(
 
Last edited by a moderator:
No... :huh: I have copied the EnergySaver to the NAND, I have launch it and the sleep mode not work. As soon as I insert the SD in the slot the sleep mode works... sin… :(
Are you using the latest version (0.3)? When you say that you have copied, you mean the whole folder?
There is nothing in the code of the program related to the SD card so this should never happen.
I have tested again (in fact now i have autorun in the NAND), and tried every combination i can think of:
- Start without SD inserted. It works
- Start without SD inserted and then insert SD. It Works
- Start with SD inserted. It works
- Start wich SD inserted and the eject it. It works.
Don't know why it does not work for you :(
 
Last edited by a moderator:
No... :huh: I have copied the EnergySaver to the NAND, I have launch it and the sleep mode not work. As soon as I insert the SD in the slot the sleep mode works... sin… :(
Are you using the latest version (0.3)? When you say that you have copied, you mean the whole folder?
There is nothing in the code of the program related to the SD card so this should never happen.
I have tested again (in fact now i have autorun in the NAND), and tried every combination i can think of:
- Start without SD inserted. It works
- Start without SD inserted and then insert SD. It Works
- Start with SD inserted. It works
- Start wich SD inserted and the eject it. It works.
Don't know why it does not work for you :(

I have tried to put the folder in the NAND but don't work the sleep without SD... I have tried to put the file "energysaver.gpu" in the NAND but don't work the sleep without SD...I have tried to put the file "setbl" in the root of NAND and I modified "autorun.gpu" but don't work the sleep without SD... sigh...I renounce :(
 
Last edited by a moderator:
I have tried to put the folder in the NAND but don't work the sleep without SD... I have tried to put the file "energysaver.gpu" in the NAND but don't work the sleep without SD...I have tried to put the file "setbl" in the root of NAND and I modified "autorun.gpu" but don't work the sleep without SD... sigh...I renounce :(
I think i have found something... when using batteries, it does not work for me. But when using a power unit it does. It doesn't need also to have a SD fully inserted, but enough to "touch" the limit... quite strange :huh: as the only thing that the program does is checking memory registers of GP2X controls. I will look into the hardware documentation to see if there is any reference to a relation between SD inserted an these memory registers.
 
Last edited by a moderator:
I have tried to put the folder in the NAND but don't work the sleep without SD... I have tried to put the file "energysaver.gpu" in the NAND but don't work the sleep without SD...I have tried to put the file "setbl" in the root of NAND and I modified "autorun.gpu" but don't work the sleep without SD... sigh...I renounce :(
I think i have found something... when using batteries, it does not work for me. But when using a power unit it does. It doesn't need also to have a SD fully inserted, but enough to "touch" the limit... quite strange :huh: as the only thing that the program does is checking memory registers of GP2X controls. I will look into the hardware documentation to see if there is any reference to a relation between SD inserted an these memory registers.

Thanks Kounck in order to have resolved the problem with the new version ;) ... IT WORKS! :lol:
 
Last edited by a moderator:
I download 0.4 & copied the EnergySaver folder to the root. I edited it to change it to english then ran it. I get the screen where I can enable/disable it & change the time out. So I put it ON & set the timeout to 10. Then I press start & it takes me to the main menu.

It just sits there... shouldn't it go into low cpu mode & switch off the screen? Firmware V2 with a 2Gig Sandisk SD card attached ... what am I doing wrong?

(I am using the aurora skin & running on batteries)
 
I download 0.4 & copied the EnergySaver folder to the root. I edited it to change it to english then ran it. I get the screen where I can enable/disable it & change the time out. So I put it ON & set the timeout to 10. Then I press start & it takes me to the main menu.

It just sits there... shouldn't it go into low cpu mode & switch off the screen? Firmware V2 with a 2Gig Sandisk SD card attached ... what am I doing wrong?

(I am using the aurora skin & running on batteries)
Mmm. Strange. Could you please try the following?

- Launch EnergySaver. Put it ON.
- Exit to Main menu.
- Launch EnergySaver again. Test if ON appears automatically.
 
Last edited by a moderator:
I download 0.4 & copied the EnergySaver folder to the root. I edited it to change it to english then ran it. I get the screen where I can enable/disable it & change the time out. So I put it ON & set the timeout to 10. Then I press start & it takes me to the main menu.

It just sits there... shouldn't it go into low cpu mode & switch off the screen? Firmware V2 with a 2Gig Sandisk SD card attached ... what am I doing wrong?

(I am using the aurora skin & running on batteries)
Mmm. Strange. Could you please try the following?

- Launch EnergySaver. Put it ON.
- Exit to Main menu.
- Launch EnergySaver again. Test if ON appears automatically.

I ran it & at first it says off so I set it to on & the press start. I then run it again & it says on with a timer of 30 seconds. I can leave it sitting at that screen or go back to the main menu or go into one of the emu's ... it just doesn't do anything... weird.
 
Last edited by a moderator:
I ran it & at first it says off so I set it to on & the press start. I then run it again & it says on with a timer of 30 seconds. I can leave it sitting at that screen or go back to the main menu or go into one of the emu's ... it just doesn't do anything... weird.
What model of GP2X are you using? I have a First Edition, and i had to make a tweak so that it worked well with a friend's non-first edition.

We can try test mode to see what happens:
- Download this file http://80.35.206.140/testbl.zip
- Uncompress it
- Copy the file test.sh from the decompressed archive to EnergySaver folder of your SD card
- Rename it to test.gpu
- Launch from Utility Menu
- It is possible that your GP2X screen goes black. Press a button to go back to gp2x menu.

It will create a file named energysaver.log inside the EnergySaver folder of the SD card.

Please post here the contents of that file so i can try to find what happens.

Thank you for your help

kounch
 
Last edited by a moderator:
I ran it & at first it says off so I set it to on & the press start. I then run it again & it says on with a timer of 30 seconds. I can leave it sitting at that screen or go back to the main menu or go into one of the emu's ... it just doesn't do anything... weird.
What model of GP2X are you using? I have a First Edition, and i had to make a tweak so that it worked well with a friend's non-first edition.

We can try test mode to see what happens:
- Download this file http://80.35.206.140/testbl.zip
- Uncompress it
- Copy the file test.sh from the decompressed archive to EnergySaver folder of your SD card
- Rename it to test.gpu
- Launch from Utility Menu
- It is possible that your GP2X screen goes black. Press a button to go back to gp2x menu.

It will create a file named energysaver.log inside the EnergySaver folder of the SD card.

Please post here the contents of that file so i can try to find what happens.

Thank you for your help

kounch

Hi.. it's a Mk2 Model GP2X - F100 & here's what the logs says:


SetBL 0.4 para GP2X. Copyright 2006 Kounch
Tiempo de espera entre iteraciones: 0
***TEST MODE***
CheckJoy=0X30082000
Pantalla: 1024 x 640
TV-Out desactivado
Hay que hacer ajuste
Entrando en reposo
Guardado estado original
Apagado display
Volumen bajado a 0
CPU a a baja velocidad
Cambiados los divisores de reloj
En reposo
Saliendo del reposo
Reajustados divisores de reloj
Reajustada la CPU
Volumen subido de nuevo a 17219
Display On
Todo restablecido
Fin del programa


thanks
 
Last edited by a moderator:
Back
Top