Hello. I’m not so sure this is the place for this. BUT if there IS a way
to stop it from happening again I’d very much like to know, so this is a
help request. The trouble is I’m not sure what part of OpenSuSE I want to
do something about. So I don’t have a clue how to ask without it sounding
like a rant… Best thing I can think to do is to ask a few wild questions,
and then follow them with an explanation of where the questions are coming from.
There are some “features” I’d like to disable. But I’m afraid that they may
be too deeply integrated to do so without breaking too many things.
Still…
Is there a safe way to totally disable the suspend function?
Is there a safe way to totally disable the hibernate function?
Is there a way to disable the one touch powerdown function that occurs if
the power button is bumped while in a hibernate/suspend or other power-saving
mode {see below}???
I’ve no objection to the hard drive spinning down when not in use for
awhile. Likewise I don’t mind the screen going to a blank powersaving mode.
{With certain previsions that is} I wouldn’t mind the processor(s) going to a
powersaveing mode either. But I never want to wait while the system has to
reload itself back into ram unless it needs to reboot {IE I get to choose
what OS I’m booting from grub} and NOTHING should ever expect to find it’s
system state in the swap partition on boot, as I probably have used another
distro since last booting this one…
There exists a powersaving mode that may be a form of suspend or hibernate
for all I know. {Since I never use either function I don’t know how to
identify them by their behavior…} But in any case, On my laptop there
are three visual clues to it’s running state that I NEVER want disabled.
On the front edge. {visible even when the laptop is closed} there exist two
lights. One indicates that the ac power is on. And by color, indicates if
the battery has a full charge, or is actively charging. The other indicates
the laptop is on. Likewise, when the laptop is open, there is a ring shaped
light outlining the powerbutton when the laptop is on.
When I’m in the Livingroom and doing something with the laptop, I sometimes
get complaints from my lady who doesn’t want to share my attention with it.
So I flip the lid closed, and slide the laptop out of the way. Hoping that
I’ll be able to remember what I was doing later on after she goes to bed.
But it sometimes happens, as I slide the laptop over, that the power chord
gets partially unplugged. And if “later on” is after the battery runs down,
the laptop will be cold and dark. So when my lady asks me if I could login
and check her bank balance, and I find no visual indication that it’s
still running (all indicator lights are out) My first instinct is to
properly re-seat the power chord and turn it back on. {If I don’t have time
for fsck, then I’d simply select one of the other installed distros.}
So there I was thinking about all the files I’d had open in non-gui
editors. And that the changes to some of them would not be recoverable.
But in fact they hadn’t been lost until I jabbed at the powerbutton and saw
a text mode dialog that said something about poweroff {or did it say powerdown}
having been requested. There was no way to stop it…
A LONG time ago (when I still ran dos as a primary OS) I was irritated that
the PC manufacturers replaced the hard power switch with a logic switch
that needed to be held down for a few seconds to force an immediate
poweroff state. But over the years I’ve gotten used to the idea that a
single short jab at the power button had no effect on a running system.
So like I said, can I disable suspend/hibernate functions? Can I stop
whatever it was from turning off the lights that would have had me first
running my finger across the touchpad, and then pressing the shift key,
followed by the enter key. Then holding {ctrl}+{alt} down while I tried a
few {F-keys} etc???
And if I can’t stop/disable any of that, can I stop it from beginning a
power off sequence when the power button is briefly pushed???
And finally, if the answer to any of the above is “yes”… Then How???
–
JtWdyP