Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can't remember if I read it here or somewhere else, but I half remember someone mentioning that you can re-program the reset button through one file somewhere (in /proc maybe, can't see it though). Did I make this up or what
If I didn't can you put anything you want in there?
The reset button on the front of your PC will ALWAYS reboot the machine. However I believe that Linux allows you to re-program the 3-fingered-salute combination ctrl-alt-del. I think it's an X-Windows feature?
I realised that the reset button just moves the program counter back (can't remember the address now though). Should have asked if this creates some interrupt that linux could catch.
Can I change the inittab to point to any script of my choice for ctrl-alt-del??
Originally posted by DiamondViper You can rewire your reset button so that it suspends you computer ... i know you can do it in Win cuz my bro has his set up like that.
Not sure about Linux.
well, all atx compatible mobos have reset and sleep connectors on them, so that's easy enough. That is, if you're case isn't good enough to have a proper sleep button already anyway.
Then again tho, Suspend To RAM support on linux is minimal at best.
well, all atx compatible mobos have reset and sleep connectors on them, so that's easy enough. That is, if you're case isn't good enough to have a proper sleep button already anyway.
Then again tho, Suspend To RAM support on linux is minimal at best.
So! lol, here we still are. Old thread, yes, but the perfect place.
Has anything changed as far as hooking the RESET button to make it do something other than kill instantly?
Anything I haven't found by Googling, that the newer kernels can do to 'software-rewire' the RESET button so that acpid can catch it?
Or is it really still a 'hardware' hard-wired button?
I did not see anything recorded in acpid.log after I pressed RESET, but then again, the machine reset pretty quick when I hit the button
I am about to have a look inside my machine anyhow; I have a new motherboard (6mos old or so) and seem to have fairly complete ACPI support (at least in theory). Maybe if I have no other connector to connect the RESET button to, I will just disconnect it. After all, the power button works fine, and IS ACPI-hookable.
Sasha
Last edited by GrapefruiTgirl; 07-08-2008 at 12:55 PM.
I bloody well HOPE the reset button is hardware, I hate the feeling of something like that being programmable. What they did to the POWER button is unthinkable - to turn off my machine, I have to HOLD DOWN the button, and you can't buy a case with a switch that's a SWITCH. Why does "shutdown in windows" powering down the machine mean that I have to hold the button on the front of my case down?
In many cases (resetreset) the power button function can be set in your BIOS. There are often options like "Suspend, power off instantly, or 4-second delay".
A case with a SWITCH would be rather pointless, as the power button is a momentary SPST button, and does not maintain connectivity after being released (unless maybe the case is old as hell, and then it *may* have a SPDT switch-button). It only sends a signal to the motherboard to tell the power supply to turn on (by dropping the green wire to ground).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.