summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Collapse)Author
2008-10-07Fix memory leak bug during scope evaluation (now without introducing a bugMark Kettenis
in evaluation of the Return() operator). Based jordan@'s diff from rev. 1.133. ok jordan@, marco@
2008-10-04Commit cleanup part of the diff that was backed out in the previous commitMark Kettenis
(removal of unused functions). requested by deraadt@
2008-10-01The display cycle key generates two ACPI events, so catch bothRobert Nagy
from jsign@ Change the camel capitalized key defines to full capitals, and add some keys found on the eeepc 1000H ok marco@
2008-09-29back out previous commit, since it is breaking a variety of machinesTheo de Raadt
(Supermicro X5DLR, and seperately, see pr 5941)
2008-09-25Fixed memory leak bug during scope evaluationJordan Hargrave
Removed unused functions ok marco@
2008-09-22ignore a type 6 event seen on my x200 when the ac adapter isjoshua stein
plugged in and removed
2008-09-15Make this compile if !MULTIPROCESSOR.Mark Kettenis
ok brad@
2008-09-12In acpitz_setfan(), try to send fan commands to ``power resources'' objects.Miod Vallat
Makes a few hp laptops run cooler and quieter.
2008-09-11Thermal Zone entities might not be direct object references, but namedMiod Vallat
references. Account for this, and the hp530 laptop won't spontaneously power down thinking internal temperature is over 500C. ok marco@
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
2008-08-14If the AML SizeOf() method is called with an object reference it shouldJoel Sing
return the size of the referenced object. This fixes a panic on the ASUS eeePC 1000H when attaching the acpiasus(4) driver. Issue reported and fix tested by robert@ ok marco@
2008-08-14add missing semicolon; ok mbalmer@, marco@Robert Nagy
2008-08-10Don't assume the first LAPIC in the table corresponds to the boot processor.Mark Kettenis
Mark the processor we're running on as the boot processor instead. ok marco@, art@
2008-08-08'prey' -> 'pray' in comment as prayer rather than predation seemsKenneth R Westerback
the intended meaning.
2008-08-06Backout the acpicpu_setpdc code and the code to allow est to use acpicpuGordon Willem Klok
on amd64. Evaluating the _PDC seems to lead to instability (PR5878 and a report by jmc@) on lower end machines its too close to release and I don't have enough nickels. ok deraadt@
2008-08-05Fix spurious 0 values on batteries seen on laptopts that have an embeddedMarco Peereboom
controller. Found, diagnosed and patch from Stefan Sperling <stsp@stsp.name> Minor KNF changes while here. Tested by many on a variaty of IBM laptops and others with and without acpiec. ok deraadt
2008-07-23move the aml_register_notify() call below for better debugging output.Federico G. Schwindt
marco@ ok.
2008-07-18POLL causes concurrency issues with event driven batteries. Remove for nowMarco Peereboom
until I have time to implement proper fix. Noted by several folks.
2008-07-02defines for output devices' events.Federico G. Schwindt
2008-07-02add acpivideo. for now almost an empty skel so others can work onFederico G. Schwindt
suspend/resume. eventually it will also manage output switching and brightness where supported. prodded by marco@
2008-06-24Thinkpad -> ThinkPadIgor Sobrado
2008-06-15On AMD64 running on Intel processors with EST add support for retreivingGordon Willem Klok
operating points from ACPI. In support of this add evaluation of the _PDC object and give it the capability flags asserting OSPM management of CPU power states. ok marco@, canacar@
2008-06-14Fixed evil recursion depth for ASUS EEEPC, uses less memory tooJordan Hargrave
ok @marco
2008-06-14Teach acpiasus(4) about some more events. Whilst we're here bzero the cmdJoel Sing
structs and sprinkle some aml_freevalue() (diff initially from deanna@). ok marco@
2008-06-13Fixed acpiec driver, _REG method required sc_ec member set before being calledJordan Hargrave
ok @marco
2008-06-13Remove duplicate function for string to integer conversion. ok jordan@Can Erkin Acar
2008-06-13Properly handle battery insertion/removalJordan Hargrave
ok @marco
2008-06-13Cleanup for aml_xcreatefield, added flags argumentJordan Hargrave
ok @canacar
2008-06-13Cleanup, remove old/unused functionsJordan Hargrave
ok @canacaR
2008-06-12Poll AC because there are some crappy machines out there that need it.Marco Peereboom
2008-06-12Removed old AML disassembler codeJordan Hargrave
ok @marco
2008-06-12Fixed AMLOP_LOAD for _PSS on ThinkpadJordan Hargrave
ok @gwk
2008-06-12Fixed memory leaks for AML parserJordan Hargrave
added new stack handling interface removed delay during parsing ok @marco
2008-06-11Fix $OpenBSD$ for once and for allMarco Peereboom
2008-06-08Add a malloc type for ACPI and use it for _acpi_os_malloc and free.Artur Grabowski
kettenis@ ok
2008-06-08Implement aml_str2val() ok marco@Can Erkin Acar
2008-06-08aaa_dev was being set from an uninitialized variable; ok tobyTheo de Raadt
2008-06-08unused globals and defines; ok tobyTheo de Raadt
2008-06-08simplify match function; ok tobyTheo de Raadt
2008-06-08unused definesTheo de Raadt
2008-06-07Move #if 0 up to include currently unused fixup tables.Marco Peereboom
2008-06-07Kill ACPIVERBOSE. It was never used and is worthless to boot.Marco Peereboom
comments jmc ok toby
2008-06-06lots of KNFMarco Peereboom
Change many return x into goto fail idiom.
2008-06-06KNFMarco Peereboom
2008-06-06make this more like other code (done while digging into a problem...)Theo de Raadt
2008-06-06Shrink acpi some more for floppies and while here re-enable acpi on theMarco Peereboom
floppies. Fixes crazy sony vaio kettenis has. tested by deraadt ok deraadt jordan kettenis
2008-06-06Add _?RS methods evaluation to obtain additional heuristics and settingMarco Peereboom
interrupt routing. Fixes several HP & IBM machines. ok deraadt ketennis
2008-06-04Fix panic on my i386 box when local variable isnt handled properly.Marco Peereboom
code from jordan
2008-06-02ignore a brightness changed eventjoshua stein
from Stefan Sperling <stsp at stsp.name>
2008-06-01Fix \n nit in SMALL_KERNEL.Marco Peereboom