History log of /freebsd-11-stable/sys/dev/acpi_support/acpi_asus.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 302408 07-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

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


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
# 273377 21-Oct-2014 hselasky

Fix multiple incorrect SYSCTL arguments in the kernel:

- Wrong integer type was specified.

- Wrong or missing "access" specifier. The "access" specifier
sometimes included the SYSCTL type, which it should not, except for
procedural SYSCTL nodes.

- Logical OR where binary OR was expected.

- Properly assert the "access" argument passed to all SYSCTL macros,
using the CTASSERT macro. This applies to both static- and dynamically
created SYSCTLs.

- Properly assert the the data type for both static and dynamic
SYSCTLs. In the case of static SYSCTLs we only assert that the data
pointed to by the SYSCTL data pointer has the correct size, hence
there is no easy way to assert types in the C language outside a
C-function.

- Rewrote some code which doesn't pass a constant "access" specifier
when creating dynamic SYSCTL nodes, which is now a requirement.

- Updated "EXAMPLES" section in SYSCTL manual page.

MFC after: 3 days
Sponsored by: Mellanox Technologies


# 209066 11-Jun-2010 jkim

Fix one more case where a string is passed via format argument instead.

Found by: clang


# 203811 13-Feb-2010 jkim

Prefer correct and simpler backlight control methods for ASUS G2K laptop.


# 193530 05-Jun-2009 jkim

Import ACPICA 20090521.


# 190695 04-Apr-2009 attilio

- Add the support for the Asus A3F and A3E device
- 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


# 186529 27-Dec-2008 stas

- Fix incorrect array declaration that was causing the stack overflow
on some (most?) Asus laptops.

Discussed with: rpaulo
Approved by: kib (mentor)
MFC after: 2 weeks


# 184625 04-Nov-2008 rpaulo

Add support for Asus A8Sr notebooks.

PR: 128553
Submitted by: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
Reviewed by: philip
MFC after: 2 months


# 181885 19-Aug-2008 rpaulo

Fix typo in comment.


# 181463 09-Aug-2008 des

Add sbuf_new_auto as a shortcut for the very common case of creating a
completely dynamic sbuf.

Obtained from: Varnish
MFC after: 2 weeks


# 180268 04-Jul-2008 rpaulo

Fix my previous commit. We actually should pass evaluation args in
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


# 180075 28-Jun-2008 remko

Style fix (space into tab).

Approved by: imp (mentor, implicit)


# 180062 27-Jun-2008 rpaulo

Add the missing support for Asus Eee PC in acpi_asus(4).
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)


# 178231 15-Apr-2008 rpaulo

style(9).

Noticed by: jkim


# 178178 13-Apr-2008 rpaulo

Add support for Asus EeePC backlight control.

Submitted by: Akira Funahashi <funa at funa.org>
MFC after: 1 week


# 178069 10-Apr-2008 jkim

- Add ASUS G2K laptop support.
- 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


# 170216 02-Jun-2007 philip

Add support for Asus A3N laptops.

Submitted by: Holger Jorra <holger_jorra -at- gmx.net>
MFC after: 1 day


# 167814 22-Mar-2007 jkim

Catch up with ACPI-CA 20070320 import.


# 157605 09-Apr-2006 philip

Add support for Asus W5A laptops.

Submitted by: Pavel Martynenko <mpv -at- ip.net.ua>
X-MFC after: 3 days (or so)


# 155022 29-Jan-2006 philip

Add support for Asus A4D laptops. Currently without display switching
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


# 155021 29-Jan-2006 philip

Add support for Asus A6VM laptops.

Submitted by: Sashi Asokarajan <mail -at- sashi.de>
MFC after: 3 days


# 150003 11-Sep-2005 obrien

Canonize the include of acpi.h.


# 146024 09-May-2005 philip

Sync with Linux acpi4asus, adding support for loads of new models.

MFC after: 3 days


# 146022 09-May-2005 philip

Add support for Asus V6V[1] and W1N notebooks.

Submitted by: Jean-Sébastien Pédron <jspedron@club-internet.fr> [1]
MFC after: 3 days


# 144339 30-Mar-2005 philip

Use a taskqueue for led-handling to prevent a potential panic.

Submitted by: pjd


# 144076 24-Mar-2005 pjd

Use device_set_desc_copy() for non-constant strings.

Approved by: njl


# 143937 21-Mar-2005 philip

Make sure status variable is always initialized. Why didn't this show up in
my testing? *grmbl*


# 143894 20-Mar-2005 philip

Simplify sysctl handling by consolidating various get/set functions into
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


# 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


# 137715 15-Nov-2004 imp

After discussions with Nate, repo copy the acpi assist drivers from
i386 to dev/acpi_support. In theory, these devices could be found
other than in i386 machines only as amd64 becomes more popular. These
drivers don't appear to do anything i386 specific, so move them to
dev/acpi_support. Move config lines to files so that those
architectures that don't support kernel modules can build them into
the kernel. At the same time, rename acpi_snc to acpi_sony to follow
the lead of all the other specialty devices.


# 137632 12-Nov-2004 philip

o Change the strcmp() to a strncmp() to allow us to attach to 'E'
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>


# 137631 12-Nov-2004 philip

Minor whitespace nitpicking to reduce my diffs of Real Changes[tm]


# 137388 08-Nov-2004 philip

Add support for gadgets on Asus L4R and M6R notebooks.


# 137245 05-Nov-2004 philip

Fix support for the Asus-compatible gadgets in Samsung P30/P35 laptops.

PR: 73380
Submitted by: Sebastian Schulze Struchtrup <seb@struchtrup.com>


# 137127 02-Nov-2004 philip

Add support for Asus M6N laptops

Submitted by: Andreas Dieling <snow@quantentunnel.de>


# 133628 13-Aug-2004 njl

MPSAFE locking

* Serialize access to the sysctl routines and the notify handler.


# 133118 04-Aug-2004 philip

Unbreak LINT by making sure that method is always defined.

Submitted by: roam
Pointy hat to: philip


# 133095 03-Aug-2004 philip

Further cleanup: merge the three led toggling functions
into a single general function to handle all leds.

Approved by: njl


# 133092 03-Aug-2004 njl

Use the acpi_{Get,Set}Integer functions instead of rolling custom ones.
Clean up return path of each function to have a single exit point. This
reduces diffs against the MPSAFE tree.


# 132610 24-Jul-2004 njl

Remove unneeded parens and fix whitespace.


# 131284 29-Jun-2004 njl

Update for acpi_id_probe()


# 130585 16-Jun-2004 phk

Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.


# 130447 14-Jun-2004 njl

Use the new API for acpi_MatchHid(). The difference between ACPI_HANDLE
and device_t isn't caught by the compiler.


# 129882 30-May-2004 phk

Add missing #include <sys/module.h>


# 128587 23-Apr-2004 philip

Enable the led-toggling magic. Compiling files which are in the kernel into
modules is a very nice way to produce hard-to-find panics. Who would look for
a bug in a Makefile anyway?

Has anyone seen the pointy hat? :-o

Approved by: njl (mentor)


# 128561 22-Apr-2004 philip

Add the ACPI Asus extras driver. Provides support for cool ACPI-controled
gadgets (hotkeys, lcd, ...) on Asus laptops. I aim to closely track the
acpi4asus project which implements these features in the Linux kernel.

If this breaks your laptop, please let me know how it does it :-)

Approved by: njl (mentor)