NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: acpi setup ?



Chavdar Ivanov wrote:
2008/6/25 Michael Kell Jensen <mkj%micrun.net@localhost>:
Hi i have an IBM t60P machine
And i have acpi enabled in the kernel.
it detects when i open and close the lid.
but it doesnt do anything, i surfed around a bit
but is unsure about how to make it do something
with the detection.


See if you have /etc/powerd/scripts directory. You have better chances
with -current, though - on my HP nx6310 I finally got state 3 working
just fine a few weeks ago ( I follow -current usually fairly closely).

You will need to enable the powerd daemon (see /etc/defaults/rc.conf)
- man powerd.

I look at sysctl machdep.sleep_state, and tried to set that
manually. then it suspended ( machdep.sleep_state=3 )(it fell completely
silent and the moon led lit up.)
it seemed to work but i couldnt get it to start up again.
I pressed fn-key which caused harddisk and cd to spin up, but nothing
further happened, my screen didnt come up again.

Where and how do i specify what to do.?
something called acpi.conf or the like
do i need to set something in rc.conf ?


regards
Micahel

Hmm in /etc/powerd/scripts/lid_switch
the code says something about apm and apmd
but that conflicts with acpi right?






Home | Main Index | Thread Index | Old Index