summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* - 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
|
OpenPOWER on IntegriCloud