summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* - Only create the led(4) interface, if setting the thinklight is possiblemarkus2005-06-101-9/+14
| | | | | | | | | | - Initialize val_ec with the content of the volume EC register for ACPI_IBM_METHOD_VOLUME and ACPI_IBM_METHOD_MUTE in acpi_ibm_sysctl_set() if there is no CMOS handle present. This fixes setting volume and mute on such models. Submitted by: ru Approved by: philip
* Import a mostly rewritten and extended version of acpi_ibm:markus2005-06-091-330/+724
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Restructured for easier extensibility and maintainability - To be more uniform with the other ACPI extras drivers and to better reflect their actual meaning, some sysctls were moved: o brightness -> lcd_brightness o keylight -> thinklight o enable -> events o misckey -> hotkey o avail_mask -> availmask o key_mask -> eventmask - New "initialmask" sysctl, which holds the initial eventmask - The "wlan" sysctl is now read-only, since writing to it didn't have any effect - The "version" sysctl was removed, since it seems to be the same (0x100) on all models I have seen - Support for more hotkeys by the "hotkey" sysctl - Improved support of ACPI events. Disabled by default, since it unexpectedly changes the behaviour of some keys. (on my T41p there are now 24 different keypress events that get reported) - write support for: volume, mute, lcd_brightness and thinklight - led(4) interface for the thinklight [1] - New sysctls "fan" and "fan_speed" to support reading of fan status and speed - New sysctl "thermal" to support reading of up to 8 thermal sensors Reviewed by: philip Approved by: philip Submitted by: simon [1] Inspired by: The Linux ibm_acpi driver by Borislav Deianov http://ibm-acpi.sourceforge.net/ The ThinkPad Button program (tpb) by Markus Braun http://www.nongnu.org/tpb/ Thanks to: brueffer, dvl, njl, philip, simon, takawata and the many testers from freebsd-acpi@ and freebsd-mobile@
* Fix my copyright.nyan2005-05-141-1/+1
|
* Sync with Linux acpi4asus, adding support for loads of new models.philip2005-05-091-13/+144
| | | | MFC after: 3 days
* Add support for Asus V6V[1] and W1N notebooks.philip2005-05-091-0/+41
| | | | | Submitted by: Jean-Sébastien Pédron <jspedron@club-internet.fr> [1] MFC after: 3 days
* Fix a small locking error.philip2005-04-041-2/+3
| | | | Submitted by: Anish Mistry <mistry.7@osu.edu>
* Use a taskqueue for led-handling to prevent a potential panic.philip2005-03-301-8/+34
| | | | Submitted by: pjd
* Use device_set_desc_copy() for non-constant strings.pjd2005-03-241-1/+1
| | | | Approved by: njl
* Add another HID for the Toshiba SPA40 laptop.jhb2005-03-241-1/+2
| | | | | Submitted by: Chris Reece car at crank dot org dot uk MFC after: 1 week
* Make sure status variable is always initialized. Why didn't this show up inphilip2005-03-211-1/+1
| | | | my testing? *grmbl*
* Simplify sysctl handling by consolidating various get/set functions intophilip2005-03-201-160/+213
| | | | | | | generic functions, use a table for hooking up sysctls nodes rather than doing it manually. While here, clean up some style bugs. Glanced at by: njl
* Add acpi_fujitsu for handling acpi-controlled buttons on Fujitsu laptops.philip2005-03-181-0/+563
| | | | | | Submitted by: Anish Mistry <mistry.7 -at- osu.edu> Reviewed by: njl X-MFC after: 5.4-RELEASE
* Fix SCM ID's.obrien2005-03-022-4/+6
|
* Unify ACPI_DEBUG support for all OEM drivers under ACPI_OEM. Since more thannjl2004-12-135-2/+13
| | | | | | | one will never be supported on the same platform, this does not hurt debugging. MFC after: 3 days
* Allow the acpi_ibm module to be built with ACPI_DEBUG.scottl2004-12-131-0/+5
|
* Add IBM Laptop extra device driver.takawata2004-12-091-0/+466
| | | | | | This depends on ACPI and RTC registers. Reviewed by: njl
* Attach the device at acpi_sony instead of acpi_snc. Rename someimp2004-11-291-39/+39
| | | | internal variables as well to reflect the change.
* Remove more debuggingimp2004-11-151-1/+1
|
* Merge 1.3 from acpi_snc.c: don't use return_VALUE() macroimp2004-11-151-24/+22
| | | | Improve style(9) compliance.
* Kill ACPI_FUNCTION_TRACE. It is killing the tinderbox build, and itimp2004-11-131-10/+6
| | | | | | | | isn't worth adding to the modules lists that we have to hard code for this to work. Since we print PID right away, we have a trace point already. Minor knf while I'm here.
* o Change the strcmp() to a strncmp() to allow us to attach to 'E'philip2004-11-121-69/+67
| | | | | | | | | | models of laptops, which are essentially the same as the normal ones, as far as acpi_asus is concerned[1] o Use the above as an excuse to reshuffle the mess I made of the probe function when I originally wrote it. Reported by: Soeren Larsen <soeren@whiteswan.dk>
* Minor whitespace nitpicking to reduce my diffs of Real Changes[tm]philip2004-11-121-9/+6
|
* Commit takawata-san's Sony Notebook Controller driver, integrated intoimp2004-11-111-0/+172
| | | | | | | | the tree. Small tweaks were made by myself to eliminate unnecessary includes and some other minor issues. Last time I asked takawata-san about this driver, he suggested I commit it. Submitted by: takawata
* Add support for gadgets on Asus L4R and M6R notebooks.philip2004-11-081-0/+22
|
* Add power profile support so that the LCD changes brightness levels basednjl2004-11-071-20/+86
| | | | | | | on the AC line state. Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org> MFC after: 1 week
* Fix support for the Asus-compatible gadgets in Samsung P30/P35 laptops.philip2004-11-051-9/+47
| | | | | PR: 73380 Submitted by: Sebastian Schulze Struchtrup <seb@struchtrup.com>
* Add support for Asus M6N laptopsphilip2004-11-021-0/+11
| | | | Submitted by: Andreas Dieling <snow@quantentunnel.de>
* Be sure to always unlock the sx lock when exiting the sysctl function.njl2004-08-241-1/+1
| | | | MFC after: 3 days
* MPSAFE lockingnjl2004-08-131-2/+20
| | | | | | * Serialize access to the sysctl routines and the notify handler * Assert that the sx lock is held in any functions they call. * Note that recursively calling to re-enable the hotkeys is sub-optimal.
* MPSAFE lockingnjl2004-08-131-2/+15
| | | | | * Serialize access to the sysctl routines and the notify handler * Assert that the sx lock is held in any functions they call.
* MPSAFE lockingnjl2004-08-131-0/+10
| | | | * Serialize access to the sysctl routines and the notify handler.
* Unbreak LINT by making sure that method is always defined.philip2004-08-041-0/+4
| | | | | Submitted by: roam Pointy hat to: philip
* Further cleanup: merge the three led toggling functionsphilip2004-08-031-41/+55
| | | | | | into a single general function to handle all leds. Approved by: njl
* Use the acpi_{Get,Set}Integer functions instead of rolling custom ones.njl2004-08-031-78/+32
| | | | | Clean up return path of each function to have a single exit point. This reduces diffs against the MPSAFE tree.
* Whitespace cleanup and move static variables together.njl2004-07-241-23/+23
|
* Remove unneeded parens and fix whitespace.njl2004-07-241-36/+29
|
* Add the ACPI Panasonic extras driver.nyan2004-07-211-0/+410
| | | | Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org> and nyan
* Update for acpi_id_probe()njl2004-06-292-26/+19
|
OpenPOWER on IntegriCloud