Nick Guenther wrote:
On 8/3/06, Alexander Hall <[EMAIL PROTECTED]> wrote:
Nick Guenther wrote:
> Hello misc@,
>
> Sometimes my laptop goes into standby when I close the lid, but not
> always. Also, if it is in standby and I open the lid it wakes up.
> Under windows I have changed this behaviour so that I must manually
> enter standby and press the power button to exit it. Is there any way
> to get the same effect in OpenBSD?
That said, I configure my Dell Inspiron 4100 BIOS-wise. I don't know
what lurks in the shadows of your BIOS config.
It's a Dell Latitude C600 with BIOS revision A23. Thanks for the hint
actually, just switched into the BIOS (while running the system, go go
Dell :) and found the option to disable suspend-on-lid-close.
Yeah, the setup-while-running is a sweet feature. :-)
I forgot to mention that I did read about apmd -a, which says:
"BIOS-initiated suspend or standby requests are ignored if the
system is connected to line current and not running from batter-
ies (user requests are still honored)"
On Windows it seems that it ignores standby requests from the BIOS
unless you select the option that does that. I guess I was looking for
a similar feature in OpenBSD. Notice that the the apmd -a doesn't work
when running from batteries, which doesn't work for me.
Anyway, it seems that problem is solved though, thank you.
None of this so far has addressed the issue that when I open the lid
it turns back on. I don't understand the details of opening the lid.
My best guess is that the BIOS wakes up the OS and loads it back into
RAM if neccessary. Perhaps Windows gets away with it is by, when it is
woken up, checking how it was woken up and if by the lid it turns back
off; I would not be surprised to find such a hack from microsoft. I
was hoping it was not a hack though and OpenBSD would be capable of
something similar.
I have not thoroughly examined all this, but I would probably have the
same results here. I am quite satisfied with my current setup.
Oh - if someone could tell me how to disable the power button, which
immediately kills the machine, I'd be very happy... :-}
/Alexander