summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Add the missing support for Asus Eee PC in acpi_asus(4).rpaulo2008-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)
* Add ID for T61p, which is not IBM really, but well.pjd2008-05-201-1/+1
|
* Add support for controlling the audio powerkevlo2008-05-201-0/+1
| | | | Tested on: VGN-SZ79TN
* style(9).rpaulo2008-04-151-1/+1
| | | | Noticed by: jkim
* Convert amd64 and i386 to share the atrtc device driver.phk2008-04-141-1/+1
|
* Add support for Asus EeePC backlight control.rpaulo2008-04-131-3/+29
| | | | | Submitted by: Akira Funahashi <funa at funa.org> MFC after: 1 week
* - Add ASUS G2K laptop support.jkim2008-04-101-34/+105
| | | | | | | | - 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
* Don't attach to the "IBM0057" ID. This ID is used by IBM machines forjhb2007-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
* Initialize key to zero.mjacob2007-06-171-1/+1
|
* Add support for Asus A3N laptops.philip2007-06-021-0/+12
| | | | | Submitted by: Holger Jorra <holger_jorra -at- gmx.net> MFC after: 1 day
* Mute the main audio during reboot/shutdown. This prevents a burst of staticnjl2007-06-021-2/+16
| | | | | on the speakers of my Panasonic Y4. It might make sense to do this in the mixer rc.d script as well.
* Utilize led_create_state in order to preserve the status of the ThinkLightmarkus2007-04-241-5/+9
| | | | | | | | on driver attach. PR: kern/112044 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> Approved by: emax (mentor) (earlier version)
* Catch up with ACPI-CA 20070320 import.jkim2007-03-223-6/+4
|
* Prevent freeing wild pointer when bailing out.takawata2006-11-061-1/+2
|
* Document the cdp for controlling CD power.kevlo2006-11-011-2/+2
| | | | Approved by: cognet
* Remove unused softc pointer variable from the probe routine.jhb2006-10-311-3/+0
| | | | | CID: 1560 Found by: Coverity Prevent (tm)
* Driver for some ASUS desktop motherboard extras.takawata2006-10-301-0/+340
| | | | | | | | | | | Though it is named after overclocking tool for ASUS motherboards, it is not capable to change clock ratio or CPU core voltage. This driver exports Templature, Power output voltage, Fan RPM under dev.acpi_aiboost.0.*. Descriptions for these values are set to sysctl describe, which can be get by sysctl -d.
* Improve exception string format.takawata2006-08-141-2/+2
| | | | | PR:100671 MFC after: 3 days
* Remove debug messages on notify handler.takawata2006-08-141-2/+0
| | | | PR:100671
* Use the acpi_event_sleep_button_sleep() function instead ofnyan2006-06-061-1/+1
| | | | | | the acpi_SetSleepState(). Submitted by: njl
* Add Fn+F7 hotkey (suspend) support.nyan2006-06-051-0/+7
| | | | Tested by: nork
* Add support for Asus W5A laptops.philip2006-04-091-0/+10
| | | | | Submitted by: Pavel Martynenko <mpv -at- ip.net.ua> X-MFC after: 3 days (or so)
* Add support for Asus A4D laptops. Currently without display switchingphilip2006-01-291-0/+12
| | | | | | | | | support. Which reminds me that I'm not even sure if this works on _any_ laptop at all. :-o PR: kern/90607 Submitted by: "Wojciech A. Koszek" <dunstan -at- freebsd.czest.pl> MFC after: 3 days
* Add support for Asus A6VM laptops.philip2006-01-291-0/+12
| | | | | Submitted by: Sashi Asokarajan <mail -at- sashi.de> MFC after: 3 days
* Allow non-P laptops to make use of this module.philip2006-01-291-81/+233
| | | | | | | | | | | | | | Other major changes (from the author): o Individual method probing o Finally figured out what the RBLL, RVOL, GHKS, GSIF are: - RBLL - lcd_brightness radix - RVOL - volume radix - GHKS - Currently activated hotkey (internal) - GSIF - Hotkey mask (internal) Submitted by: Anish Mistry <mistry.7 -at- osu.edu> MFC after: 3 days
* - Add support for setting the fan control mode to manual or automaticmarkus2006-01-141-3/+55
| | | | | | | | | | | | | - Add support for adjusting the fan speed if the fan control mode is manual Documentation for the relevant embedded controller register was obtained from http://www.thinkwiki.org/wiki/Patch_for_controlling_fan_speed Tested on: R51 by Fabian Keil T41p by markus Requested by: many Approved by: philip MFC after: 1 week
* Canonize the include of acpi.h.obrien2005-09-116-6/+6
|
* Don't lock when holding led_mtx, instead use AcpiOsQueueForExecution to defermarkus2005-08-041-2/+29
| | | | | | | | | | | the locking. Idea taken from: acpi_asus(4) Approved by: philip Reported by: avatar Gordon Bergling <gbergling@0xfce3.net> MFC after: 1 week
* Add the ID of my Thinkpad R40. Makes the module detect and with thecracauer2005-06-171-1/+1
| | | | | | | exception of fans everything seems to work fine. No ill effects observed. Reviewed by: Nate Lawson (on acpi list) Approved by: re (Ken Smith)
OpenPOWER on IntegriCloud