summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpibat.c
AgeCommit message (Expand)Author
2009-11-24Reporting battery insert/removal was debug code. dmesg is notTheo de Raadt
2009-03-11More aml_evalinteger fixupJordan Hargrave
2008-11-06Collapse all sanity checks of hids into one function.Marco Peereboom
2008-08-14add missing semicolon; ok mbalmer@, marco@Robert Nagy
2008-08-05Fix spurious 0 values on batteries seen on laptopts that have an embeddedMarco Peereboom
2008-06-13Properly handle battery insertion/removalJordan Hargrave
2008-06-01Re-enable new parser. Lots of testing by various folks. Fits all mediaMarco Peereboom
2008-05-16back out jordans new parser.David Gwynne
2008-05-14Adding new ACPI Parser codeJordan Hargrave
2007-11-16quotes around model name tooTheo de Raadt
2007-11-12spacingTheo de Raadt
2007-11-12spacingTheo de Raadt
2007-11-12only print bif info that is completeTheo de Raadt
2007-11-08convert the value to a string instead of using aml_val2str()Can Erkin Acar
2007-11-03repair attach messages; ok gwk canacarTheo de Raadt
2007-03-20Use aml_val2int() instead of accessing v_integer directly.Michael Knudsen
2007-02-17Since a full battery can still have state BST_CHARGE ("charging"),Deanna Phillips
2007-01-25Do the sensor magic correctly. Found by Constantine Murenin.Marco Peereboom
2006-12-26Add polling to devices that require it such as acpibat and acpitz.Marco Peereboom
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-12-21even more knf loveTheo de Raadt
2006-12-21Tweak to report full battery.Marco Peereboom
2006-12-21more minor knfTheo de Raadt
2006-12-21Fix silly logic errors.Marco Peereboom
2006-12-21Silence acpibat significantly and shave off about 1k. Also add some smartsMarco Peereboom
2006-11-29After a long debate at the hackathon it was decided that the acpi implementationMarco Peereboom
2006-10-19Reduce the scope of the locks.Marco Peereboom
2006-10-19KNF and some cleanupMarco Peereboom
2006-10-19Replace ACPI ioctls with APM ioctls. This makes ACPI talk the same protocolMarco Peereboom
2006-10-19Fix capacity calculations. Tested on Dell C610, D810, Lenovo X60s.Marco Peereboom
2006-10-12Massive ACPI changesJordan Hargrave
2006-09-19Typo fixes.Michael Knudsen
2006-06-06fix a bad strlcpy, from ben lovettJolan Luff
2006-05-19Use rwlock instead of lockmgr locks.Can Erkin Acar
2006-04-30rv not set. Sloppy but didn't matter.Marco Peereboom
2006-03-05KNF nit.Marco Peereboom
2006-02-22Rework notify handler.Marco Peereboom
2006-02-22Add insertion and removal events for batteries.Marco Peereboom
2006-02-21KNFMarco Peereboom
2006-02-21Adjust debugging levels to something more reasonable.Marco Peereboom
2006-02-17Better comments.Marco Peereboom
2006-02-17Propogate some values through the sysctl hw.sesnsors interface for debugMarco Peereboom
2006-02-17Detect if battery slot is available but without a battery in it.Marco Peereboom
2006-02-16Print useful information during boot about the battery and power supply.Marco Peereboom
2006-02-16Adjust debug levels to something sane.Marco Peereboom
2006-02-03Rewrote aml parser yet again...Jordan Hargrave
2006-01-17Major overhaul of the aml parser. Evaluater temporarily disabled.Jordan Hargrave
2006-01-06Sudden newlineAlexander Yurchenko
2005-12-30make ACPI_DEBUG compileTed Unangst
2005-12-28oops enabled a method that doesnt work yet so disabled getbif for now.Marco Peereboom