| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR:100671
MFC after: 3 days
|
|
|
|
| |
PR:100671
|
|
|
|
|
|
| |
the acpi_SetSleepState().
Submitted by: njl
|
|
|
|
| |
Tested by: nork
|
|
|
|
|
| |
Submitted by: Pavel Martynenko <mpv -at- ip.net.ua>
X-MFC after: 3 days (or so)
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Submitted by: Sashi Asokarajan <mail -at- sashi.de>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the locking.
Idea taken from: acpi_asus(4)
Approved by: philip
Reported by: avatar
Gordon Bergling <gbergling@0xfce3.net>
MFC after: 1 week
|
|
|
|
|
|
|
| |
exception of fans everything seems to work fine. No ill effects
observed.
Reviewed by: Nate Lawson (on acpi list)
Approved by: re (Ken Smith)
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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@
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: Jean-Sébastien Pédron <jspedron@club-internet.fr> [1]
MFC after: 3 days
|
|
|
|
| |
Submitted by: Anish Mistry <mistry.7@osu.edu>
|
|
|
|
| |
Submitted by: pjd
|
|
|
|
| |
Approved by: njl
|
|
|
|
|
| |
Submitted by: Chris Reece car at crank dot org dot uk
MFC after: 1 week
|
|
|
|
| |
my testing? *grmbl*
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Submitted by: Anish Mistry <mistry.7 -at- osu.edu>
Reviewed by: njl
X-MFC after: 5.4-RELEASE
|
| |
|
|
|
|
|
|
|
| |
one will never be supported on the same platform, this does not hurt
debugging.
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
This depends on ACPI and RTC registers.
Reviewed by: njl
|
|
|
|
| |
internal variables as well to reflect the change.
|
| |
|
|
|
|
| |
Improve style(9) compliance.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
on the AC line state.
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
MFC after: 1 week
|
|
|
|
|
| |
PR: 73380
Submitted by: Sebastian Schulze Struchtrup <seb@struchtrup.com>
|
|
|
|
| |
Submitted by: Andreas Dieling <snow@quantentunnel.de>
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* Serialize access to the sysctl routines and the notify handler
* Assert that the sx lock is held in any functions they call.
|
|
|
|
| |
* Serialize access to the sysctl routines and the notify handler.
|
|
|
|
|
| |
Submitted by: roam
Pointy hat to: philip
|
|
|
|
|
|
| |
into a single general function to handle all leds.
Approved by: njl
|
|
|
|
|
| |
Clean up return path of each function to have a single exit point. This
reduces diffs against the MPSAFE tree.
|
| |
|
| |
|
|
|
|
| |
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org> and nyan
|
| |
|