History log of /freebsd-10.0-release/sys/dev/acpi_support/acpi_ibm.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 246128 30-Jan-2013 sbz

Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays

Reviewed by: cognet
Approved by: cognet


# 242305 29-Oct-2012 bapt

add support for newer Lenovo ThinkPads to acpi_ibm

PR: kern/164538
Submitted by: Pierre Imai <pierre@imai.at>
MFC after: 2 weeks


# 237493 23-Jun-2012 iwasaki

Add in-driver event handler.

MFC after: 3 days


# 217566 18-Jan-2011 mdf

Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.


# 217323 12-Jan-2011 mdf

sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.

Commit the rest of the devices.


# 209064 11-Jun-2010 jkim

Remove unused assignment.

Found by: clang static analyzer
Found by: Coverity Prevent[tm] (CID 4537, 4538, 4539)


# 202771 21-Jan-2010 jkim

Merge ACPICA 20100121.


# 201605 05-Jan-2010 iwasaki

Update acpi_ibm syctl nodes on resume.

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


# 197460 24-Sep-2009 jhb

Remove unnecessary locking from attach(). This fixes a LOR between the
acpi_ibm lock and the sysctl lock.

MFC after: 3 days


# 197350 20-Sep-2009 jhb

Re-remove the IBM0057 ID used for PS/2 mouse controllers. The asl for the
61p includes the hotkey device as IBM0068 and the mouse as IBM0057 similar
to other systems.

Submitted by: marius
MFC after: 3 days


# 193530 05-Jun-2009 jkim

Import ACPICA 20090521.


# 192030 12-May-2009 brueffer

Remove unused variables.

Found with: Coverity Prevent(tm)
CID: 544, 545


# 179155 20-May-2008 pjd

Add ID for T61p, which is not IBM really, but well.


# 178193 14-Apr-2008 phk

Convert amd64 and i386 to share the atrtc device driver.


# 172980 25-Oct-2007 jhb

Don't attach to the "IBM0057" ID. This ID is used by IBM machines for
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


# 169031 24-Apr-2007 markus

Utilize led_create_state in order to preserve the status of the ThinkLight
on driver attach.

PR: kern/112044
Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
Approved by: emax (mentor) (earlier version)


# 167814 22-Mar-2007 jkim

Catch up with ACPI-CA 20070320 import.


# 161289 14-Aug-2006 takawata

Improve exception string format.
PR:100671
MFC after: 3 days


# 161288 14-Aug-2006 takawata

Remove debug messages on notify handler.

PR:100671


# 154326 13-Jan-2006 markus

- Add support for setting the fan control mode to manual or automatic
- 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


# 150003 11-Sep-2005 obrien

Canonize the include of acpi.h.


# 148710 04-Aug-2005 markus

Don't lock when holding led_mtx, instead use AcpiOsQueueForExecution to defer
the locking.

Idea taken from: acpi_asus(4)

Approved by: philip
Reported by: avatar
Gordon Bergling <gbergling@0xfce3.net>
MFC after: 1 week


# 147468 17-Jun-2005 cracauer

Add the ID of my Thinkpad R40. Makes the module detect and with the
exception of fans everything seems to work fine. No ill effects
observed.
Reviewed by: Nate Lawson (on acpi list)
Approved by: re (Ken Smith)


# 147246 10-Jun-2005 markus

- Only create the led(4) interface, if setting the thinklight is possible
- 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


# 147196 09-Jun-2005 markus

Import a mostly rewritten and extended version of acpi_ibm:

- 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@


# 143002 02-Mar-2005 obrien

Fix SCM ID's.


# 138825 13-Dec-2004 njl

Unify ACPI_DEBUG support for all OEM drivers under ACPI_OEM. Since more than
one will never be supported on the same platform, this does not hurt
debugging.

MFC after: 3 days


# 138774 13-Dec-2004 scottl

Allow the acpi_ibm module to be built with ACPI_DEBUG.


# 138627 09-Dec-2004 takawata

Add IBM Laptop extra device driver.
This depends on ACPI and RTC registers.

Reviewed by: njl