rpaulo
416e86f6eb
Fix typo in comment.
2008-08-19 22:28:24 +00:00
des
c2c1c946ae
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
2008-08-09 11:14:05 +00:00
rpaulo
1d2368ceed
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
2008-07-04 23:40:53 +00:00
remko
0488e47726
Style fix (space into tab).
...
Approved by: imp (mentor, implicit)
2008-06-28 08:36:47 +00:00
rpaulo
27f8992cb2
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)
2008-06-27 12:04:36 +00:00
rpaulo
f66a2c3433
style(9).
...
Noticed by: jkim
2008-04-15 22:47:01 +00:00
rpaulo
8a08087c0a
Add support for Asus EeePC backlight control.
...
Submitted by: Akira Funahashi <funa at funa.org>
MFC after: 1 week
2008-04-13 14:40:02 +00:00
jkim
bec403c9c3
- 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
2008-04-10 15:17:41 +00:00
philip
cc8a26996a
Add support for Asus A3N laptops.
...
Submitted by: Holger Jorra <holger_jorra -at- gmx.net>
MFC after: 1 day
2007-06-02 21:10:01 +00:00
jkim
c06098a406
Catch up with ACPI-CA 20070320 import.
2007-03-22 18:16:43 +00:00
philip
9668c15c65
Add support for Asus W5A laptops.
...
Submitted by: Pavel Martynenko <mpv -at- ip.net.ua>
X-MFC after: 3 days (or so)
2006-04-09 15:22:25 +00:00
philip
68d4d88351
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
2006-01-29 23:59:43 +00:00
philip
2a278d3095
Add support for Asus A6VM laptops.
...
Submitted by: Sashi Asokarajan <mail -at- sashi.de>
MFC after: 3 days
2006-01-29 23:54:32 +00:00
obrien
5a7994d2cd
Canonize the include of acpi.h.
2005-09-11 18:39:03 +00:00
philip
7993c4292d
Sync with Linux acpi4asus, adding support for loads of new models.
...
MFC after: 3 days
2005-05-09 12:51:48 +00:00
philip
3c26bd1739
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
2005-05-09 08:43:49 +00:00
philip
eedd5656c1
Use a taskqueue for led-handling to prevent a potential panic.
...
Submitted by: pjd
2005-03-30 15:06:11 +00:00
pjd
127c0209cb
Use device_set_desc_copy() for non-constant strings.
...
Approved by: njl
2005-03-24 21:07:55 +00:00
philip
4772bfd2a4
Make sure status variable is always initialized. Why didn't this show up in
...
my testing? *grmbl*
2005-03-21 18:11:50 +00:00
philip
df09d3a781
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
2005-03-20 23:36:36 +00:00
njl
1af716f4fc
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
2004-12-13 23:31:46 +00:00
philip
faa1fd5f15
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>
2004-11-12 23:21:19 +00:00
philip
da2085deb3
Minor whitespace nitpicking to reduce my diffs of Real Changes[tm]
2004-11-12 23:06:13 +00:00
philip
9c50035691
Add support for gadgets on Asus L4R and M6R notebooks.
2004-11-08 16:54:26 +00:00
philip
a7b4c9ad92
Fix support for the Asus-compatible gadgets in Samsung P30/P35 laptops.
...
PR: 73380
Submitted by: Sebastian Schulze Struchtrup <seb@struchtrup.com>
2004-11-05 07:24:11 +00:00
philip
368170ea60
Add support for Asus M6N laptops
...
Submitted by: Andreas Dieling <snow@quantentunnel.de>
2004-11-02 13:02:22 +00:00
njl
8fcef8f766
MPSAFE locking
...
* Serialize access to the sysctl routines and the notify handler.
2004-08-13 06:22:29 +00:00
philip
b2d488a77d
Unbreak LINT by making sure that method is always defined.
...
Submitted by: roam
Pointy hat to: philip
2004-08-04 14:29:22 +00:00
philip
11953c7462
Further cleanup: merge the three led toggling functions
...
into a single general function to handle all leds.
Approved by: njl
2004-08-03 22:37:09 +00:00
njl
f9477f2ed8
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.
2004-08-03 21:17:36 +00:00
njl
a247fc5f3a
Remove unneeded parens and fix whitespace.
2004-07-24 20:39:25 +00:00
njl
338dc29a06
Update for acpi_id_probe()
2004-06-29 19:05:20 +00:00
phk
dfd1f7fd50
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
njl
6e8eadb40d
Use the new API for acpi_MatchHid(). The difference between ACPI_HANDLE
...
and device_t isn't caught by the compiler.
2004-06-14 03:40:56 +00:00
phk
30a7ac8468
Add missing #include <sys/module.h>
2004-05-30 20:34:58 +00:00
philip
ea8607cc65
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)
2004-04-23 17:41:05 +00:00
philip
46d76e027d
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)
2004-04-22 21:29:02 +00:00