DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-06-10 04:29:26

ericlitman
Member
Registered: 2007-06-04
Posts: 22

Failsafe booting, checking the button's state

Has anyone figured out a way to reliably check the front panel button's state programatically? I'm thinking that it would be nice to be able to build a failsafe into my fun_plug scripts that would cause execution to abort if the button was depressed when it ran. I read in another post that someone found under gdb that something happened after 8 to 10 seconds of depressing the button, but my experience in playing with it is that it doesn't appear to send a non-maskable interrupt so I'm hopeful this might be a viable approach.

Thanks.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB