summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
Commit message (Collapse)AuthorAgeFilesLines
* MFC r273733, r273740 and r273773:hselasky2014-10-301-4/+6
| | | | | | | | | | The SYSCTL data pointers can come from userspace and must not be directly accessed. Although this will work on some platforms, it can throw an exception if the pointer is invalid and then panic the kernel. Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure. Sponsored by: Mellanox Technologies
* MFC r263710, r273377, r273378, r273423 and r273455:hselasky2014-10-276-111/+109
| | | | | | | - De-vnet hash sizes and hash masks. - Fix multiple issues related to arguments passed to SYSCTL macros. Sponsored by: Mellanox Technologies
* Consistently cast ACPICA 64-bit integer types when we print them.jkim2013-06-261-2/+2
|
* A driver for Intel Rapid Start Technology ACPI device.takawata2013-05-081-0/+133
| | | | Note that it is just for 'Advanced' configuration for Rapid start technology.
* Only cleanup CMI-related state on detach if the system supports CMI.jhb2013-04-291-12/+10
| | | | | PR: kern/163268 MFC after: 1 week
* Fix white spaces.jkim2013-04-231-4/+4
|
* Remove tautological compare.eadler2013-04-231-4/+4
| | | | | | PR: kern/176712 Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> Approved by: cperciva (mentor)
* Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on ↵sbz2013-01-307-8/+11
| | | | | | | device_method_t arrays Reviewed by: cognet Approved by: cognet
* add support for newer Lenovo ThinkPads to acpi_ibmbapt2012-10-291-1/+1
| | | | | | PR: kern/164538 Submitted by: Pierre Imai <pierre@imai.at> MFC after: 2 weeks
* acpi_wmi: move wmi_info_list into scavg2012-10-141-21/+25
| | | | | | | different instances of acpi_wmi couldn't properly share it and, in fact, there was no reason to do that MFC after: 10 days
* Add acpi_asus_wmi(4) -- driver for random extras found on WMI-compatiblemav2012-07-021-0/+651
| | | | | | | | | | | | | | | Asus laptops. It is alike to acpi_asus(4), but uses WMI interface instead of separate ACPI device. On Asus EeePC T101MT netbook it allows to handle hotkeys and on/off WLAN, Bluetooth, LCD backlight, camera, cardreader and touchpad. On Asus UX31A ultrabook it allows to handle hotkeys, on/off WLAN, Bluetooth, Wireless LED, control keyboard backlight brightness, monitor temperature and fan speed. LCD brightness control doesn't work now for unknown reason, possibly requiring some video card initialization. Sponsored by: iXsystems, Inc.
* Add in-driver event handler.iwasaki2012-06-231-86/+371
| | | | MFC after: 3 days
* Add missing MODULE_DEPEND() so that acpi.ko and aibs.ko can bekevlo2012-02-281-1/+1
| | | | loaded dynamically.
* - There's no need to overwrite the default device method with the defaultmarius2011-11-221-2/+1
| | | | | | | | | | one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9) since r52045) but even recently added device drivers do this unnecessarily. Discussed with: jhb, marcel - While at it, use DEVMETHOD_END. Discussed with: jhb - Also while at it, use __FBSDID.
* Append unit number to the WMI status device name to allow attachingjh2011-11-221-1/+1
| | | | | | | multiple acpi_wmi(4) instances. PR: kern/162491 Reviewed by: avg
* Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.ed2011-11-071-1/+1
| | | | This means that their use is restricted to a single C file.
* Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.mdf2011-01-192-2/+2
|
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-121-2/+2
| | | | Commit the rest of the devices.
* acpi_fujitsu: update for P8010avg2010-12-111-1/+54
| | | | | | PR: kern/121102 Submitted by: Anish Mistry <amistry@am-productions.biz> MFC after: 3 weeks
* Remove an unnecessary hack from ACPICA 20100915 (r212761).jkim2010-09-161-1/+1
|
* make acpi_hp device a child of acpi_wmiavg2010-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
* acpi_hp: fix bus attachment codeavg2010-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
* Remove the acpi_aiboost driver. It has been replaced by aibs(4).rpaulo2010-07-251-353/+0
|
* Import the acpi_aibs(4) driver written by Constantine A. Murenin.rpaulo2010-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
* Fix one more case where a string is passed via format argument instead.jkim2010-06-111-1/+1
| | | | Found by: clang
* Remove unused assignment.jkim2010-06-113-8/+0
| | | | | Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 4537, 4538, 4539)
* Fix a possible dereference of null pointer.jkim2010-06-111-1/+1
| | | | | Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 3423)
* Prefer correct and simpler backlight control methods for ASUS G2K laptop.jkim2010-02-131-22/+3
|
* Add support for a few more Sony-specific ACPI features (default displaygavin2010-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
* Merge ACPICA 20100121.jkim2010-01-213-14/+14
|
* Update acpi_ibm syctl nodes on resume.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
* - Numerous whitespace and style fixes.jhb2009-10-291-127/+138
| | | | | - More descriptive error messages when failing to parse components during attach.
* Remove unnecessary locking from attach(). This fixes a LOR between thejhb2009-09-241-4/+0
| | | | | | acpi_ibm lock and the sysctl lock. MFC after: 3 days
* The elements in the component arrays may be direct Package objects ratherjhb2009-09-221-18/+20
| | | | | | | | | | 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
* Re-remove the IBM0057 ID used for PS/2 mouse controllers. The asl for thejhb2009-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
* acpi_hp.c:rpaulo2009-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
* acpi_wmi_if:rpaulo2009-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
* Fix build with ACPI_DEBUG.rpaulo2009-06-231-1/+1
| | | | MFC after: 2 weeks
* * Driver for ACPI WMI (Windows Management Instrumentation)rpaulo2009-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
* Import ACPICA 20090521.jkim2009-06-057-7/+20
|
* Remove unused variables.brueffer2009-05-122-7/+1
| | | | | Found with: Coverity Prevent(tm) CID: 544, 545
* - Add the support for the Asus A3F and A3E deviceattilio2009-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
* device_shutdown returns int.imp2009-02-051-2/+3
|
* - Fix incorrect array declaration that was causing the stack overflowstas2008-12-271-1/+1
| | | | | | | | on some (most?) Asus laptops. Discussed with: rpaulo Approved by: kib (mentor) MFC after: 2 weeks
* Add support for Asus A8Sr notebooks.rpaulo2008-11-041-0/+75
| | | | | | | PR: 128553 Submitted by: Eygene Ryabinkin <rea-fbsd at codelabs.ru> Reviewed by: philip MFC after: 2 months
* Fix a typo in a comment in the ACPI Fujitsu driver.ed2008-09-081-1/+1
| | | | | | The word "hotkys" should read "hotkeys". Submitted by: Jille Timmermans <jille quis cx>
* Fix typo in comment.rpaulo2008-08-191-1/+1
|
* Add sbuf_new_auto as a shortcut for the very common case of creating ades2008-08-091-1/+1
| | | | | | | completely dynamic sbuf. Obtained from: Varnish MFC after: 2 weeks
* Fix my previous commit. We actually should pass evaluation args inrpaulo2008-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
* Style fix (space into tab).remko2008-06-281-1/+1
| | | | Approved by: imp (mentor, implicit)
OpenPOWER on IntegriCloud