Disable the reset buttons from EE??

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
bobsbigboy
Posts: 5
Joined: Wed Nov 10, 2004 11:13 pm
Location: usa

Disable the reset buttons from EE??

Post by bobsbigboy »

Hi,

does anyone know if it's possible to disable the reset buttons on the console from the EE side? (I've noticed some home made apps like execftps, etc. disable the reset button)

Is the reset button an int to the IOP, or can it be seen at all from the EE side??

thanks!
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post by blackdroid »

This is more of a bug in the way we init dev9 ( lack of understanding ), anything that uses ps2dev9 driver will experience it, you can still power off though :)
Kung VU
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

blackdroid wrote:This is more of a bug in the way we init dev9 ( lack of understanding ), anything that uses ps2dev9 driver will experience it, you can still power off though :)
Huh? Dev9 explicitly disables reset so the HDD doesn't get trashed when the user tries power down. You can use sjeepy's poweroff thing to trap it. Whether or not you want the EE to take care of it is up to you. The lack of understanding is that we don't do anything with the trapped reset (clean things up, etc.).
"He was warned..."
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post by blackdroid »

aha from what I remember of the discussion on irc it was that none knew why reset got disabled when loading dev9.irx. there goes nothing for not reading the source and trust irc-talk.
Kung VU
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

To be honest I don't know anymore :P. It could be that ps2dev9 has a bug, or that code that's supposed to run after ps2dev9 doesn't, which disables reset.
"He was warned..."
gawd
Posts: 28
Joined: Wed Feb 09, 2005 10:36 pm
Location: Israel
Contact:

Resetting PS2

Post by gawd »

I've been looking all over. Is there a way to reset (cold) a PS2 ? I have managed to get back to memory card editor, but that's it.
uzbekisan
Posts: 1
Joined: Tue Apr 05, 2005 1:39 am

Post by uzbekisan »

Sure, there is a way to do a cold reset, it is called the power button :)

The closest you can get to a programmatic (warm) reset would be to either try and jump to the reset vector (0xBFC00000) in kernel mode (though that is likely to fail as it might have issues with the IOP) or copy in the KERNEL file to 0x80000000 and start the kernel manually at 0x80001000. That second option wont give you much more than you could get from booting rom0:OSDSYS though to be honest.
Post Reply