Age | Commit message (Collapse) | Author |
|
Various HP laptops now boot correctly, fixes PR 6276
ok marco@
|
|
Fixes build with gcc4 which otherwise optimises away the modifications
to it, discovered by jakemsr@.
ok marco jsg
|
|
suspend, we must roll back by calling wsdisplay_resume() or the virtual
console switching will be locked forever
ok oga
|
|
from mlarkin@ and me, with some amd64 fixes thrown in by deraadt@
ok marco@, deraadt@, pirofti@, mlarkin@
|
|
a suspend request event to apmd(8) instead of suspending immediately. Also
keep track of whether /dev/apm and /dev/apmctl are currently open, such that
we can still suspend immediately if apmd(8) isn't running.
ok deraadt@, marco@, pirofti@, jsing@, oga@
|
|
When we hit suspend time, go through all wsdisplays on the system. if
they are in mode MAPPED, but not MODE_DUMBFB then if possible do a full
vt switch to a !mapped vt, and prevent switching back until resume time.
This has to be called from MD code because this involves userland
running so that X can run the vt switch signal handler. This way, any
case where we are using the "poke registers from userland" model, we
will not be on the hardware when we go down, so the kernel can actually
handle thing properly.
Tested on several acpi laptops (by kettenis@ and ian@), x40 (me and
beck@ at LEAST) and zaurus (me). Maybe others, but if so I forgot who at
this time..
Idea from deraadt somewhere over the Faroe Islands (I thought of a
similar thing myself a while ago). Much prompting from him. Ok and
comments miod@
|
|
Based on a comparison with the apm code.
ok deraadt@, kettenis@
|
|
|
|
cpu_setperf pointer so that it is always the first to be notified of any
changes. This fixes the reported "creeping up" of performance level when
using apmd and several overheating issues people reported.
Tested by many, ok kettenis with a large XXX on it.
|
|
|
|
|
|
suspend. It is neat but annoying without a 'button'.
|
|
fixes Thinkpad SL300, maybe others
|
|
|
|
|
|
resuming via calls to aml _SST method. This also makes the "moon" LED on
thinkpads to blink during resume and cease when resume is completed.
ok pirofti@
|
|
of the spec, instead of using tsleep and screwing up.
from canacar, ok kettenis jsing pirofti
|
|
in the AML interpreter and context switching into userland processes
tends to sometimes pop the ACPI trampoline page out of our address
space. Makes lots more machines work.
ok kettenis mlarkin
|
|
ok deraadt@, mlarkin@, pirofti@
|
|
|
|
specifically. On some thinkpads we get 0x02 for the Fn button, which
means that it is going to handle the next bit for us. After that,
we get an suspend key event in acpithinkpad.
ok pirofti
|
|
like the spec says, not after.
ok mlarkin@
|
|
a place to spam informational messages about unimportant events.
That is what the sensor framework is for (and that is already
done)
ok kettenis
|
|
|
|
to its parent.
handle suspend failure case and unwind if devices have an activate function
that returns failure.
ok deraadt@, kettenis@
|
|
ok deraadt@
|
|
This enables by default the suspend/resume paths in the kernel.
Okay deraadt@.
|
|
|
|
|
|
|
|
suspend/resume glue.
ok deraadt@
|
|
that's going to get in really soon.
Okay mlarkin@, deraadt@.
|
|
Not an issue as it does get initialized correctly before use, but reduces warning.
|
|
ok deraadt@, krw@, marco@
|
|
look similar could arrive in the future. Instead, compare directly against
dv_cfdata->cf_driver->cd_name
Issue originally spotted by miod
|
|
Some systems had invalid entries in RSDT/XSDT.
ok marco@
|
|
|
|
Counter in parent for disabling setperf when passive cooling enabled
ok marco@
|
|
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
|
|
|
Useful for acpitz, acpipwrres, etc.
|
|
This was harmless but eating too much memory.
ok pirofti@
|
|
|
|
|
|
Patch initially from mlarkin@. KNF and refactoring by me. Okay deraadt@.
|
|
with sensor state support through limits provided by the ACPI.
Tested on several ASUS motherboards kindly networked by Sam Fourman Jr.
ok deraadt marco jordan
|
|
|
|
ok marco@
|
|
|
|
a problem after we started striking entires for containing
junk and /* should never happen */ happened.
Fixes PR 6175 confirmed by submiter: nick templeton nick @ nicktempleton.com
ok marco@
|