Main > Main Forum
One-button power on/off with IPAC2?
drventure:
You might check empardopo's allinone
http://forum.arcadecontrols.com/index.php/topic,113882.msg1209264.html#msg1209264
I believe it corrects the mala prevents shutdown issue.
Ideally, you'd just wire the button to the poweron of thepc and config windows to do a soft power down when it's pressed again. Sounds like you basically had it that way but Mala was getting in the way, which, I believe is a known issue.
fkane:
Good idea on trying the PS/2 interface. I'll order a cable and try that out.
If that doesn't work, I'll mess around with AllInOne and/or AutoHotKey to see if I can intercept the shutdown and force Mala to close. Thanks for the link - hadn't run across AllInOne before.
keilmillerjr:
Wire it to the power pins on your motherboard, not the ipac.
fkane:
The only appeal of going through the IPAC is that I could tell Mala to shut itself down cleanly, instead of resorting to some other process forcing it to close upon shutdown. I could envision a kid hitting the power key at just the wrong time leading to a corrupt file or something. If only Mala handled shutdown properly, this would be so simple - I would just wire the button the the motherboard's power switch and be done with it.
Thinking about it some more, I wonder if my BIOS wasn't recognizing my power button as a keyboard press because I mapped it to "power" in the IPAC instead of a "normal" key. I think I'll try mapping it to some normal keystroke that Mala recognizes as an exit and shutdown command, and see if that works. I'll follow up.
fkane:
No luck there. Back to the IPAC PS/2 interface idea (plan A) and motherboard power switch / other process to kill Mala at shutdown idea (plan B.)