Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-27 | Set the sleeping indicator light on machines that support it, in case SMI | Mike Larkin | |
doesn't do it for us. Shows the 'moon' LED on older Thinkpads when sleeping. Tested on T43p, W500, T510 by me and on X61s by deraadt@. ok deraadt@ | |||
2010-07-27 | annoying spaces getting in the way | Theo de Raadt | |
2010-07-27 | Early initialization of acpiec if ECDT table exists | Jordan Hargrave | |
Fixes hang when booting thinkpads while docked ok deraadt | |||
2010-07-27 | replace acpitz_getreading goo with proper aml_evalinteger. | Marco Peereboom | |
From jordan. | |||
2010-07-27 | Fix #ifdef DDB/#ifdef SMALL_KERNEL uses so all four combinations | Kenneth R Westerback | |
(DDB/SMALL_KERNEL, DDB/!SMALL_KERNEL, !DDB/!SMALL_KERNEL, !DDB/SMALL_KERNEL) can compile. A DDB bsd.rd is thus possible again. Correction to my original diff from miod@ "If it compiles, commit" deraadt@ | |||
2010-07-27 | Add additional Notify handler for dock devices, according to ACPI spec | Jordan Hargrave | |
ok marco | |||
2010-07-26 | Remove unused structure members | Jordan Hargrave | |
2010-07-26 | Some machines include VID devices for hardware that doesn't exist. Avoid | Mark Kettenis | |
attaching those devices by checking whether the PCI bus on which they are supposed to sit exists. Fixes issues with brightness controls on my Dell laptop. ok marco@, pirofti@ | |||
2010-07-26 | remove merge error which was commited | Theo de Raadt | |
2010-07-26 | Add support for Sony ACPI hotkeys via a new driver: acpisony(4). | Paul Irofti | |
Currently it only works for the suspend button and tries to do right for the brightness events, but I haven't found a Sony laptop that like to do right so far. In the future I want to make the brightness keys work on all Sony's and also add support for the zoom hotkeys and whatever other funky keys I can find on those things. Okay deraadt@. | |||
2010-07-23 | Don't initialize acpiec pointer in acpi_softc until registration succeeds | Jordan Hargrave | |
ok deraadt | |||
2010-07-23 | Control/data registers were being mapped with swapped io space tags | Jordan Hargrave | |
Fix naming & order of tag to be clear ok deraadt | |||
2010-07-23 | Fix searchname to handle short name segments, remove hack in acpidock. | Jordan Hargrave | |
2010-07-22 | pretty large cleanup of SMALL_KERNEL | Theo de Raadt | |
2010-07-22 | Remove unused function prototypes | Jordan Hargrave | |
Add flags and type codes for AML resources | |||
2010-07-21 | in the acpi GPE handler, late ack level interrupts not edge interrupts. | Theo de Raadt | |
Duh. | |||
2010-07-21 | spacing and indents that are driving me crazy | Theo de Raadt | |
2010-07-21 | clean up a pile of prototypes and shred some macros which were just covering | Theo de Raadt | |
for ones everyone knows better | |||
2010-07-21 | Merge the edge and level gpe handlers into one (now possible since the | Theo de Raadt | |
gpe structure tells us whether the gpe is edge or level) | |||
2010-07-21 | delete #if 0 code we are not going to use; ok marco | Theo de Raadt | |
2010-07-20 | make the mask code for acpi_enable_onegpe() match other similar code | Theo de Raadt | |
2010-07-20 | print the temperature readings that make us go down; ok kettenis | Theo de Raadt | |
2010-07-20 | removed an unused proto | Theo de Raadt | |
2010-07-20 | Handle the acpi interrupt controller with proper edge/level handling, | Theo de Raadt | |
wrapped in spltty to avoid racing against the interrupt controller. Repair the gpe bit masking code while there, and do operations in the right order ok kettenis mlarkin, help from jordan at figuring out the order of operations. | |||
2010-07-20 | tsleep() and EWOULDBLOCK was being used incorrectly for fixed minumum | Theo de Raadt | |
delays. tsleep() on an unknown wait channel, to ensure the minimum is met, and that wakeup()'s don't make the delay get restarted over and over.. ok kettenis mlarkin | |||
2010-07-20 | In acpiec_wait() we want to tsleep on an un-known channel, so that | Theo de Raadt | |
we don't get woken up early by a wakeup() ok kettenis; deeply tested on many machines by mlarkin | |||
2010-07-20 | remove prototypes for functions that do not exist; ok jordan | Theo de Raadt | |
2010-07-20 | When we're preparing to go to sleep, only call bufq_restart() if other | Matthew Dempsky | |
preparations failed. ok kettenis@, thib@, deraadt@ | |||
2010-07-19 | permit compilation with ACPI_DEBUG | Theo de Raadt | |
2010-07-19 | there is no need for a seperate dsdt_softc pointer; dsdt does not have a | Theo de Raadt | |
softc but is just a part of the single acpi driver. ok jordan | |||
2010-07-19 | acpi_delay() is no longer needed; ok jordan | Theo de Raadt | |
2010-07-18 | Clear event status on resume, to avoid going back to sleep/reboot/shutdown | Mike Larkin | |
immediately after resume. Tested by a bunch of people on hackers@ on various hardware. Fixes at least Toshiba NB200 and Gateway LT3103u. ok marco | |||
2010-07-13 | delete unnccessary include | Theo de Raadt | |
2010-07-13 | rename some thread related interfaces so they are logical | Theo de Raadt | |
2010-07-10 | Verify _ADR bdf is correct (some systems return 0xffff) | Jordan Hargrave | |
Works on Dell x9xx and Studio 1555 | |||
2010-07-09 | Clear the noise | Jordan Hargrave | |
2010-07-08 | Add mapping for ACPI device to PCI bdf (match autoconf tree) | Jordan Hargrave | |
Simplify resource parsing function to use buffer argument Convert namespace linked lists to use queue macros ok marco@, deraadt@ | |||
2010-07-06 | Use spltty() to lock downcalls from apm against the information being | Theo de Raadt | |
modified by the acpi thread. ok kettenis | |||
2010-07-06 | Don't use a workq to do the suspend, because it races aginst the acpi | Theo de Raadt | |
thread. Instead, just tell the acpi thread to do the suspend for us. This makes apmd & zzz work correctly. While here, have acpithinkpad attempt to post the event to apm before prompting the suspend itself. ok kettenis marco mlarkin | |||
2010-07-06 | spacing | Theo de Raadt | |
2010-07-05 | Reset register SCI_EN on resume. The ACPI spec clearly states we don't have | Mike Larkin | |
to do this, but many machines don't, or forget to, which leads to all sorts of problems on resume (broken battery stats, overheating, failure to resume more than once, etc). tested by many, ok marco@, deraadt@ | |||
2010-07-01 | do bufq quiesce again, since vnd/the bufq_done call in | Thordur I. Bjornsson | |
biodone has been fixed. | |||
2010-07-01 | Backout recent AML changes, breaks on R210 and others | Jordan Hargrave | |
2010-07-01 | Simplified aml_parse_resource call, cleanup code | Jordan Hargrave | |
ok marco | |||
2010-07-01 | Fix subordinate bus # for multi-root PCI buses | Jordan Hargrave | |
ok marco, kettenis | |||
2010-06-30 | Disable/partially backout the bufq quiesce changes as this | Thordur I. Bjornsson | |
is causing havoc with vnds and release must be buildable. | |||
2010-06-30 | Cleaned up aml name parser, delete unused code | Jordan Hargrave | |
ok marco | |||
2010-06-29 | Use new ACPI PCI mapping to get _PRT bus | Jordan Hargrave | |
Delete old unused code ok kettenis | |||
2010-06-29 | Fix ramdisks (new code was placed inside a SMALL_KERNEL chunk) | Theo de Raadt | |
2010-06-29 | Add support for mapping ACPI to PCI devices | Jordan Hargrave | |
ok kettenis, deraadt |