summaryrefslogtreecommitdiff
path: root/sys/dev/acpi_support
Commit message (Collapse)AuthorAgeFilesLines
* MFC 250053:John Baldwin2013-06-141-12/+10
| | | | | | | Only cleanup CMI-related state on detach if the system supports CMI. Notes: svn path=/stable/9/; revision=251759
* MFC r227293 (by ed):Alexander Motin2013-04-051-1/+1
| | | | | | | | | Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. This means that their use is restricted to a single C file. Notes: svn path=/stable/9/; revision=249132
* add support for newer Lenovo ThinkPads to acpi_ibmBaptiste Daroussin2012-11-121-1/+1
| | | | | | | | PR: kern/164538 Submitted by: Pierre Imai <pierre@imai.at> Notes: svn path=/stable/9/; revision=242914
* MFC r241537: acpi_wmi: move wmi_info_list into scAndriy Gapon2012-10-281-21/+25
| | | | Notes: svn path=/stable/9/; revision=242236
* MFC 237493:Mitsuru IWASAKI2012-06-261-86/+371
| | | | | | | - Add in-driver event handler. Notes: svn path=/stable/9/; revision=237602
* MFC r227823, r228163:Jaakko Heinonen2012-01-091-1/+1
| | | | | | | | | | Append unit number to the WMI status device name to allow attaching multiple acpi_wmi(4) instances. PR: kern/162491 Notes: svn path=/stable/9/; revision=229858
* MFC r226173, r227843, r227848 and r227908:Hans Petter Selasky2011-12-311-2/+1
| | | | | | | | | Use DEVMETHOD_END to mark end of device methods. Remove superfluous device methods. Add some missing __FBSBID() macros. Notes: svn path=/stable/9/; revision=229093
* Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.Matthew D Fleming2011-01-192-2/+2
| | | | Notes: svn path=/head/; revision=217566
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.Matthew D Fleming2011-01-121-2/+2
| | | | | | | Commit the rest of the devices. Notes: svn path=/head/; revision=217323
* acpi_fujitsu: update for P8010Andriy Gapon2010-12-111-1/+54
| | | | | | | | | PR: kern/121102 Submitted by: Anish Mistry <amistry@am-productions.biz> MFC after: 3 weeks Notes: svn path=/head/; revision=216376
* Remove an unnecessary hack from ACPICA 20100915 (r212761).Jung-uk Kim2010-09-161-1/+1
| | | | Notes: svn path=/head/; revision=212762
* make acpi_hp device a child of acpi_wmiAndriy Gapon2010-09-112-25/+12
| | | | | | | | | | | | to properly reflect dependency between the devices/drivers PR: kern/147858 Suggested by: jhb Tested by: Maciej Suszko <maciej@suszko.eu> MFC after: 1 week Notes: svn path=/head/; revision=212457
* acpi_hp: fix bus attachment codeAndriy Gapon2010-09-061-7/+35
| | | | | | | | | | | | | - add identify method to create driver's own device_t - successfully probe only driver's own device_t instead of any device_t - (ab)use device order to hopefully be probed/attached after acpi_wmi PR: kern/147858 Tested by: Maciej Suszko <maciej@suszko.eu> MFC after: 1 week Notes: svn path=/head/; revision=212251
* Remove the acpi_aiboost driver. It has been replaced by aibs(4).Rui Paulo2010-07-251-353/+0
| | | | Notes: svn path=/head/; revision=210477
* Import the acpi_aibs(4) driver written by Constantine A. Murenin.Rui Paulo2010-06-251-0/+358
| | | | | | | | | | | | It has more features than acpi_aiboost(4) and it will eventually replace acpi_aiboost(4). Submitted by: Constantine A. Murenin <cnst at FreeBSD.org> Reviewed by: freebsd-acpi, imp MFC after: 1 month Notes: svn path=/head/; revision=209523
* Fix one more case where a string is passed via format argument instead.Jung-uk Kim2010-06-111-1/+1
| | | | | | | Found by: clang Notes: svn path=/head/; revision=209066
* Remove unused assignment.Jung-uk Kim2010-06-113-8/+0
| | | | | | | | Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 4537, 4538, 4539) Notes: svn path=/head/; revision=209064
* Fix a possible dereference of null pointer.Jung-uk Kim2010-06-111-1/+1
| | | | | | | | Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 3423) Notes: svn path=/head/; revision=209055
* Prefer correct and simpler backlight control methods for ASUS G2K laptop.Jung-uk Kim2010-02-131-22/+3
| | | | Notes: svn path=/head/; revision=203811
* Add support for a few more Sony-specific ACPI features (default displayGavin Atkinson2010-02-071-5/+15
| | | | | | | | | | | | | brightness, wired LAN power and bass gain), and update the description of one previously unknown feature (display contrast). While here, expand on a comment and remove two defines left over from an old version of the code. Also update man page to document the above changes, and correct grammar. PR: kern/127581 Notes: svn path=/head/; revision=203622
* Merge ACPICA 20100121.Jung-uk Kim2010-01-213-14/+14
| | | | Notes: svn path=/head/; revision=202771
* Update acpi_ibm syctl nodes on resume.Mitsuru IWASAKI2010-01-051-0/+30
| | | | | | | | | | | This should fix some Thinkpad specific problems such as connecting to a headphone jack is not functional on X41. Reviewed by: takawata MFC after: 1 week Notes: svn path=/head/; revision=201605
* - Numerous whitespace and style fixes.John Baldwin2009-10-291-127/+138
| | | | | | | | - More descriptive error messages when failing to parse components during attach. Notes: svn path=/head/; revision=198622
* Remove unnecessary locking from attach(). This fixes a LOR between theJohn Baldwin2009-09-241-4/+0
| | | | | | | | | acpi_ibm lock and the sysctl lock. MFC after: 3 days Notes: svn path=/head/; revision=197460
* The elements in the component arrays may be direct Package objects ratherJohn Baldwin2009-09-221-17/+19
| | | | | | | | | | | | | than references to objects. In that case, simply use the Package directly. I think a recent change to ACPI-CA is causing the interpreter to automatically expand these references. Reported by: Olivier Smedts olivier gid0 org MFC after: 3 days Notes: svn path=/head/; revision=197415
* Re-remove the IBM0057 ID used for PS/2 mouse controllers. The asl for theJohn Baldwin2009-09-201-1/+1
| | | | | | | | | | | 61p includes the hotkey device as IBM0068 and the mouse as IBM0057 similar to other systems. Submitted by: marius MFC after: 3 days Notes: svn path=/head/; revision=197350
* acpi_hp.c:Rui Paulo2009-07-031-95/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | - sysctl dev.acpi_hp.0.verbose to toggle debug output - A modification so this can deal with different array lengths when reading the CMI BIOS - now it works ok on HP Compaq nx7300 as well. - Change behaviour to query only max_instance-1 CMI BIOS instances, because all HPs seen so far are broken in that respect (or there is a fundamental misunderstanding on my side, possible as well). This way a disturbing ACPI Error Field exceeds Buffer message is avoided. - New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to also query the highest guid instance of CMI bios acpi_hp.4: - Document dev.acpi_hp.0.verbose sysctl in man page - Document new bit for dev.acpi_hp.0.cmi_detail - Add a section to manpage about hardware that has been reported to work ok Submitted by: Michael Gmelin <freebsdusb at bindone.de> Approved by: re (kib) MFC after: 2 weeks Notes: svn path=/head/; revision=195325
* acpi_wmi_if:Rui Paulo2009-06-303-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Document different semantics for ACPI_WMI_PROVIDES_GUID_STRING_METHOD acpi_wmi.c: - Modify acpi_wmi_provides_guid_string_method to return absolut number of instances known for the given GUID. acpi_hp.c: - sysctl dev.acpi_hp.0.verbose to toggle debug output - A modification so this can deal with different array lengths when reading the CMI BIOS - now it works ok on HP Compaq nx7300 as well. - Change behaviour to query only max_instance-1 CMI BIOS instances, because all HPs seen so far are broken in that respect (or there is a fundamental misunderstanding on my side, possible as well). This way a disturbing ACPI Error Field exceeds Buffer message is avoided. - New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to also query the highest guid instance of CMI bios acpi_hp.4: - Document dev.acpi_hp.0.verbose sysctl in man page - Document new bit for dev.acpi_hp.0.cmi_detail - Add a section to manpage about hardware that has been reported to work ok Submitted by: Michael Gmelin, freebsdusb at bindone.de Approved by: re (kib) MFC after: 2 weeks Notes: svn path=/head/; revision=195185
* Fix build with ACPI_DEBUG.Rui Paulo2009-06-231-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=194716
* * Driver for ACPI WMI (Windows Management Instrumentation)Rui Paulo2009-06-233-0/+2333
| | | | | | | | | | | | * Driver for ACPI HP extra functionations, which required ACPI WMI driver. Submitted by: Michael <freebsdusb at bindone.de> Approved by: re MFC after: 2 weeks Notes: svn path=/head/; revision=194701
* Import ACPICA 20090521.Jung-uk Kim2009-06-057-7/+20
| | | | Notes: svn path=/head/; revision=193530
* Remove unused variables.Christian Brueffer2009-05-122-7/+1
| | | | | | | | Found with: Coverity Prevent(tm) CID: 544, 545 Notes: svn path=/head/; revision=192030
* - Add the support for the Asus A3F and A3E deviceAttilio Rao2009-04-041-5/+31
| | | | | | | | | | | | - Fix style for A3N and for a comment Submitted by: Akira Funahashi <funa@funa.org> Tested by: Marcin Nowak <marcin.nowak@simplusnet.pl>, Diego Sardina <diego.sardina@gmx.com> PR: kern/128634 Notes: svn path=/head/; revision=190695
* device_shutdown returns int.Warner Losh2009-02-051-2/+3
| | | | Notes: svn path=/head/; revision=188162
* - Fix incorrect array declaration that was causing the stack overflowStanislav Sedov2008-12-271-1/+1
| | | | | | | | | | | on some (most?) Asus laptops. Discussed with: rpaulo Approved by: kib (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=186529
* Add support for Asus A8Sr notebooks.Rui Paulo2008-11-041-0/+75
| | | | | | | | | | PR: 128553 Submitted by: Eygene Ryabinkin <rea-fbsd at codelabs.ru> Reviewed by: philip MFC after: 2 months Notes: svn path=/head/; revision=184625
* Fix a typo in a comment in the ACPI Fujitsu driver.Ed Schouten2008-09-081-1/+1
| | | | | | | | | The word "hotkys" should read "hotkeys". Submitted by: Jille Timmermans <jille quis cx> Notes: svn path=/head/; revision=182864
* Fix typo in comment.Rui Paulo2008-08-191-1/+1
| | | | Notes: svn path=/head/; revision=181885
* Add sbuf_new_auto as a shortcut for the very common case of creating aDag-Erling Smørgrav2008-08-091-1/+1
| | | | | | | | | | completely dynamic sbuf. Obtained from: Varnish MFC after: 2 weeks Notes: svn path=/head/; revision=181463
* Fix my previous commit. We actually should pass evaluation args inRui Paulo2008-07-041-3/+44
| | | | | | | | | | | | AcpiEvaluateObject() calls, otherwise, we are not able to bring devices back up (NULL means 0, hence always off). While there add missing WLAN on/off support. MFC after: 3 days Pointy hat to: rpaulo Notes: svn path=/head/; revision=180268
* Style fix (space into tab).Remko Lodder2008-06-281-1/+1
| | | | | | | Approved by: imp (mentor, implicit) Notes: svn path=/head/; revision=180075
* Add the missing support for Asus Eee PC in acpi_asus(4).Rui Paulo2008-06-271-6/+109
| | | | | | | | | | | | | | This includes hotkeys support and sysctl variables to control camera and card reader. These new sysctls don't have CTFLAG_ANYBODY set. While there add entries to devd.conf related to the Eee volume keys. Reviewed by: phillip MFC after: 1 week Also tested by: lme (previous version) Notes: svn path=/head/; revision=180062
* Add ID for T61p, which is not IBM really, but well.Pawel Jakub Dawidek2008-05-201-1/+1
| | | | Notes: svn path=/head/; revision=179155
* Add support for controlling the audio powerKevin Lo2008-05-201-0/+1
| | | | | | | Tested on: VGN-SZ79TN Notes: svn path=/head/; revision=179137
* style(9).Rui Paulo2008-04-151-1/+1
| | | | | | | Noticed by: jkim Notes: svn path=/head/; revision=178231
* Convert amd64 and i386 to share the atrtc device driver.Poul-Henning Kamp2008-04-141-1/+1
| | | | Notes: svn path=/head/; revision=178193
* Add support for Asus EeePC backlight control.Rui Paulo2008-04-131-3/+29
| | | | | | | | Submitted by: Akira Funahashi <funa at funa.org> MFC after: 1 week Notes: svn path=/head/; revision=178178
* - Add ASUS G2K laptop support.Jung-uk Kim2008-04-101-32/+103
| | | | | | | | | | | - Add DLED and GLED found on newer ASUS laptops. - Turn on BLED, TLED, and WLED by default as other OSes. Reviewed by: philip MFC after: 3 days Notes: svn path=/head/; revision=178069
* Don't attach to the "IBM0057" ID. This ID is used by IBM machines forJohn Baldwin2007-10-251-1/+1
| | | | | | | | | | | | | the PS/2 mouse controller. Thus, when acpi_ibm(4) claimed the mouse device, the mouse would stop working. The one ACPI dump of an R40 that I've looked at includes an HKEY device with the proper "IBM0068" ID, so I'm not sure how the "IBM0057" ID could have helped at all. MFC after: 1 week Approved by: njl Notes: svn path=/head/; revision=172980
* Initialize key to zero.Matt Jacob2007-06-171-1/+1
| | | | Notes: svn path=/head/; revision=170871