Dingux (Dingoo Linux) > General

zImage with power-off function enabled

(1/7) > >>

vimrc:
Hi, guys,

Now I post the modified zImage files again...  All the following zImage files have been patched to enable the power off function. Additionally, If you want to use Mplayer to player videos, please download the zImage with IPU enabled. Don't forget to change the filename to zImage. It should be noted the modified zImage is unofficial, you use it at your own risk!

The maximum attachment size is limited, so I put them in my google page:

For 9331:

http://bossninja.googlepages.com/zImage_9331.rar          (IPU disabled)
http://bossninja.googlepages.com/zImage_9331_ipu.rar    (IPU enabled)

For 9325:

http://bossninja.googlepages.com/zImage_9325.rar          (IPU disabled)
http://bossninja.googlepages.com/zImage_9325_ipu.rar    (IPU enabled)

======================================================================================
I also release the modified zImage in which the MMC interface mode is set to 4-bit.
(Faster R/W speed, but more probabilities to corrupt your SD card. In fact, it works well in my dingoo so I'm using this one. Freaks only!! )

For 9331:

http://bossninja.googlepages.com/zImage4bit_noipu_9331.rar  (IPU disabled)
http://bossninja.googlepages.com/zImage4bit_ipu_9331.rar      (IPU enabled)

For 9325:

http://bossninja.googlepages.com/zImage4bit_noipu_9325.rar  (IPU disabled)
http://bossninja.googlepages.com/zImage4bit_ipu_9325.rar      (IPU enabled)
=====================================================================================
(Optional)
I also wrote two very simple scripts to enable or disable the IPU for dmenu so you can switch the two modes without a computer. (Well, I concede this way is a little stupid, but it's safe and effective before the kexec is activated.)
 
1. Rename the two zImage files corresponding to your type of LCD to "zImage_ipu" and "zImage_noipu" respectively.
2. Put the "zImage_ipu" and "zImage_noipu" to /local/. (Please do not remove the old zImage file in your SD card!!)
3. Extract the compressed file and copy disableipu.sh and enableipu.sh to /local/dmenu/scripts.
http://bossninja.googlepages.com/zImage_switch_scripts.rar
4. Add the following entries in dmenu. (For example: menu_system.cfg)


--- Code: ---MenuItem EnableIPU                          
{                                            
Icon = "res/system/terminal.png"          
Name = " EnableIPU"                      
Executable = "sh ./enableipu.sh"            
WorkDir = "/boot/local/dmenu/scripts"      
}                                          
                                              
MenuItem DisableIPU                        
{                                            
Icon = "res/system/terminal.png"          
Name = " DisableIPU"                        
Executable = "sh ./disableipu.sh"            
WorkDir = "/boot/local/dmenu/scripts"        
}
--- End code ---

If you want to disable the IPU, just select the DisableIPU in dmenu and Dingux will reboot automatically. To enable IPU is the same story.

Enjoy it!

eule:
Might be a noobish question, but what do i have to do to switch off the Dingoo, after i installed this image (the 4bit one btw ^^ )?  :D
edit: Nevermind, found it myself, had to add this to dmenu:


--- Quote ---MenuItem Poweroff
{
Icon = "res/system/reboot.png"
Name = " Poweroff"
Executable = "poweroff"
WorkDir = "/"
}

--- End quote ---
note to myself: first seek, then ask ;D

Kalisiin:

--- Quote from: eule on November 01, 2009, 03:37:26 PM ---Might be a noobish question, but what do i have to do to switch off the Dingoo, after i installed this image (the 4bit one btw ^^ )?  :D
edit: Nevermind, found it myself, had to add this to dmenu:


--- Quote ---MenuItem Poweroff
{
Icon = "res/system/reboot.png"
Name = " Poweroff"
Executable = "poweroff"
WorkDir = "/"
}

--- End quote ---

Note to myself: first seek, then ask ;D

--- End quote ---
Humm, I didn't add anything to my dmanu, and now the power-off switch works, You just have to hold it a while, and it re-boots to native, from which you can turn off then.

I guess adding THIS would give you a place to where you wouldn't even need the switch, you'd just have a menu option??

Do I have that right?

eule:
Actually, after downloading the right zImage and adding that piece of code to dmenu, you have a Power Off button in Dmenu that actually works! I.e.: It switches off the Dingoo, just like a Linux PC, very nice!  :D
The Reboot button should be in Dmenu already, under System, if you use toddlers local pack.

Kalisiin:
I dunno which one I do use...mine is local 0.1.0 whichever one that is.

I'll look for it.

Anyway, I got an idea how to go about this, now...one way or another.

EDIT: Yeah, I got it right.
Nice. Now power-off is an actual menu item.

<-----wonders if the old "re-boot" command, which she replaced...would have re-booted into native, or Dingux.  If a re-boot into native, from Dingux...may re-add the re-boot command, so I have a choice to power-off or re-boot into native.

Be nice if there's a re-boot in native, as well...so that one could then choose to power-off...or boot into Dingux...from native.

Navigation

[0] Message Index

[#] Next page

Go to full version