347636 |
16-May-2019 |
gonzo |
MFC r346647:
[acpi_ibm] Add support for newer Thinkpad models
Add support for newer Thinkpad models with id LEN0268. Was tested on Thinkpad T480 and ThinkPad X1 Yoga 2nd gen.
PR: 229120 Submitted by: Ali Abdallah <aliovx@gmail.com> |
335471 |
21-Jun-2018 |
dim |
MFC r335296:
Fix build of aibs with base gcc on i386
Add a few intermediate casts to intptr_t to suppress "cast to pointer from integer of different size" warnings from gcc. In this case, the 'arg2' part of SYSCTL_HANDLER_ARGS is used to pass in a pointer, via an intermediate intmax_t, so no information is lost.
Reviewed by: avg Differential Revision: https://reviews.freebsd.org/D15725 |
331173 |
19-Mar-2018 |
eadler |
MFC r312887:
Hide unneeded message under bootverbose. |
308368 |
06-Nov-2016 |
avg |
MFC r307348: aibs / atk0110: add support for querying sensors via GGRP and GITM |
302408 |
08-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 |
300421 |
22-May-2016 |
loos |
Fix the deciKelvin to Celsius conversion in kernel.
After r285994, sysctl(8) was fixed to use 273.15 instead of 273.20 as 0C reference and as result, the temperature read in sysctl(8) now exibits a +0.1C difference.
This commit fix the kernel references to match the reference value used in sysctl(8) after r285994.
Sponsored by: Rubicon Communications (Netgate)
|
299052 |
04-May-2016 |
adrian |
s/struct device */device_t/g
Submitted by: kmacy
|
298955 |
03-May-2016 |
pfg |
sys/dev: minor spelling fixes.
Most affect comments, very few have user-visible effects.
|
298848 |
30-Apr-2016 |
pfg |
sys: Make use of our rounddown() macro when sys/param.h is available.
No functional change.
|
284358 |
13-Jun-2015 |
ngie |
Fix previous commit (r284357)
I forgot to convert the && to a ||
Pointyhat to: ngie X-MFC with: r283678, r284336, r284357
|
284357 |
13-Jun-2015 |
ngie |
Fix inverted check by skipping over the model-specific checks if the maker or product is NULL, not if they are both not NULL
Reported by: araujo, kib X-MFC with: r283678, r284336 Pointyhat to: allanjude
|
284336 |
13-Jun-2015 |
allanjude |
acpi_ibm.ko panics if SMBIOS information is not available
Add a check for NULL before strcmp on smbios information incase it is not populated
Differential Revision: https://reviews.freebsd.org/D2750 Reviewed by: ngie, jhb Approved by: rpaulo Sponsored by: ScaleEngine Inc.
|
283678 |
29-May-2015 |
rpaulo |
acpi_ibm: add per-model default events mask.
Add support for the hotkeys on a Lenovo X1 3rd gen. This also enables event reporting by default.
|
283360 |
24-May-2015 |
ganbold |
This implements default-state support as described in:
https://www.kernel.org/doc/Documentation/devicetree/bindings/leds/leds-gpio.txt
Without this booting the VSATV102 causes the blue "working" led to turn off when the kernel starts up. With this the led (which is turned on by the firmware) stays on since that's the default state specified in the FDT.
Expanded the meaning of the led_create_state state parameter in order to implement support for "keep". The original values were:
== 0 Off != 0 On
The new values are:
== -1 don't change / keep current setting == 0 Off != -1 && != 0 On
This should have no effect on acpi_asus_attach which only calls led_create_state with state set to 1. Updated acpi_ibm_attach in order to avoid surprises.
Differential Revision: https://reviews.freebsd.org/D2615 Submitted by: John Wehle Reviewed by: gonzo, loos
|
283012 |
16-May-2015 |
rpaulo |
acpi_ibm: whitespace.
|
273773 |
28-Oct-2014 |
hselasky |
The SYSCTL data pointers can come from userspace and must not be directly accessed. Although this will work on some platforms, it can throw an exception if the pointer is invalid and then panic the kernel.
Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure.
MFC after: 3 days Sponsored by: Mellanox Technologies
|
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
|
252276 |
27-Jun-2013 |
jkim |
Consistently cast ACPICA 64-bit integer types when we print them.
|
250363 |
08-May-2013 |
takawata |
A driver for Intel Rapid Start Technology ACPI device. Note that it is just for 'Advanced' configuration for Rapid start technology.
|
250053 |
29-Apr-2013 |
jhb |
Only cleanup CMI-related state on detach if the system supports CMI.
PR: kern/163268 MFC after: 1 week
|
249816 |
23-Apr-2013 |
jkim |
Fix white spaces.
|
249797 |
23-Apr-2013 |
eadler |
Remove tautological compare.
PR: kern/176712 Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> Approved by: cperciva (mentor)
|
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
|
241537 |
14-Oct-2012 |
avg |
acpi_wmi: move wmi_info_list into sc
different instances of acpi_wmi couldn't properly share it and, in fact, there was no reason to do that
MFC after: 10 days
|
237981 |
02-Jul-2012 |
mav |
Add acpi_asus_wmi(4) -- driver for random extras found on WMI-compatible Asus laptops. It is alike to acpi_asus(4), but uses WMI interface instead of separate ACPI device.
On Asus EeePC T101MT netbook it allows to handle hotkeys and on/off WLAN, Bluetooth, LCD backlight, camera, cardreader and touchpad.
On Asus UX31A ultrabook it allows to handle hotkeys, on/off WLAN, Bluetooth, Wireless LED, control keyboard backlight brightness, monitor temperature and fan speed. LCD brightness control doesn't work now for unknown reason, possibly requiring some video card initialization.
Sponsored by: iXsystems, Inc.
|
237493 |
23-Jun-2012 |
iwasaki |
Add in-driver event handler.
MFC after: 3 days
|
232256 |
28-Feb-2012 |
kevlo |
Add missing MODULE_DEPEND() so that acpi.ko and aibs.ko can be loaded dynamically.
|
227843 |
22-Nov-2011 |
marius |
- There's no need to overwrite the default device method with the default one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9) since r52045) but even recently added device drivers do this unnecessarily. Discussed with: jhb, marcel - While at it, use DEVMETHOD_END. Discussed with: jhb - Also while at it, use __FBSDID.
|
227823 |
22-Nov-2011 |
jh |
Append unit number to the WMI status device name to allow attaching multiple acpi_wmi(4) instances.
PR: kern/162491 Reviewed by: avg
|
227293 |
07-Nov-2011 |
ed |
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.
This means that their use is restricted to a single C file.
|
217566 |
19-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.
|
216376 |
11-Dec-2010 |
avg |
acpi_fujitsu: update for P8010
PR: kern/121102 Submitted by: Anish Mistry <amistry@am-productions.biz> MFC after: 3 weeks
|
212762 |
16-Sep-2010 |
jkim |
Remove an unnecessary hack from ACPICA 20100915 (r212761).
|
212457 |
11-Sep-2010 |
avg |
make acpi_hp device a child of acpi_wmi
to properly reflect dependency between the devices/drivers
PR: kern/147858 Suggested by: jhb Tested by: Maciej Suszko <maciej@suszko.eu> MFC after: 1 week
|
212251 |
06-Sep-2010 |
avg |
acpi_hp: fix bus attachment code
- add identify method to create driver's own device_t - successfully probe only driver's own device_t instead of any device_t - (ab)use device order to hopefully be probed/attached after acpi_wmi
PR: kern/147858 Tested by: Maciej Suszko <maciej@suszko.eu> MFC after: 1 week
|
210477 |
25-Jul-2010 |
rpaulo |
Remove the acpi_aiboost driver. It has been replaced by aibs(4).
|
209523 |
25-Jun-2010 |
rpaulo |
Import the acpi_aibs(4) driver written by Constantine A. Murenin. It has more features than acpi_aiboost(4) and it will eventually replace acpi_aiboost(4).
Submitted by: Constantine A. Murenin <cnst at FreeBSD.org> Reviewed by: freebsd-acpi, imp MFC after: 1 month
|
209066 |
11-Jun-2010 |
jkim |
Fix one more case where a string is passed via format argument instead.
Found by: clang
|
209064 |
11-Jun-2010 |
jkim |
Remove unused assignment.
Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 4537, 4538, 4539)
|
209055 |
11-Jun-2010 |
jkim |
Fix a possible dereference of null pointer.
Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 3423)
|
203811 |
13-Feb-2010 |
jkim |
Prefer correct and simpler backlight control methods for ASUS G2K laptop.
|
203622 |
07-Feb-2010 |
gavin |
Add support for a few more Sony-specific ACPI features (default display brightness, wired LAN power and bass gain), and update the description of one previously unknown feature (display contrast). While here, expand on a comment and remove two defines left over from an old version of the code.
Also update man page to document the above changes, and correct grammar.
PR: kern/127581
|
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
|
198622 |
29-Oct-2009 |
jhb |
- Numerous whitespace and style fixes. - More descriptive error messages when failing to parse components during attach.
|
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
|
197415 |
22-Sep-2009 |
jhb |
The elements in the component arrays may be direct Package objects rather than references to objects. In that case, simply use the Package directly.
I think a recent change to ACPI-CA is causing the interpreter to automatically expand these references.
Reported by: Olivier Smedts olivier gid0 org 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
|
195325 |
03-Jul-2009 |
rpaulo |
acpi_hp.c: - sysctl dev.acpi_hp.0.verbose to toggle debug output - A modification so this can deal with different array lengths when reading the CMI BIOS - now it works ok on HP Compaq nx7300 as well. - Change behaviour to query only max_instance-1 CMI BIOS instances, because all HPs seen so far are broken in that respect (or there is a fundamental misunderstanding on my side, possible as well). This way a disturbing ACPI Error Field exceeds Buffer message is avoided. - New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to also query the highest guid instance of CMI bios
acpi_hp.4: - Document dev.acpi_hp.0.verbose sysctl in man page - Document new bit for dev.acpi_hp.0.cmi_detail - Add a section to manpage about hardware that has been reported to work ok
Submitted by: Michael Gmelin <freebsdusb at bindone.de> Approved by: re (kib) MFC after: 2 weeks
|
195185 |
30-Jun-2009 |
rpaulo |
acpi_wmi_if: - Document different semantics for ACPI_WMI_PROVIDES_GUID_STRING_METHOD
acpi_wmi.c: - Modify acpi_wmi_provides_guid_string_method to return absolut number of instances known for the given GUID.
acpi_hp.c: - sysctl dev.acpi_hp.0.verbose to toggle debug output - A modification so this can deal with different array lengths when reading the CMI BIOS - now it works ok on HP Compaq nx7300 as well. - Change behaviour to query only max_instance-1 CMI BIOS instances, because all HPs seen so far are broken in that respect (or there is a fundamental misunderstanding on my side, possible as well). This way a disturbing ACPI Error Field exceeds Buffer message is avoided. - New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to also query the highest guid instance of CMI bios
acpi_hp.4: - Document dev.acpi_hp.0.verbose sysctl in man page - Document new bit for dev.acpi_hp.0.cmi_detail - Add a section to manpage about hardware that has been reported to work ok
Submitted by: Michael Gmelin, freebsdusb at bindone.de Approved by: re (kib) MFC after: 2 weeks
|
194716 |
23-Jun-2009 |
rpaulo |
Fix build with ACPI_DEBUG.
MFC after: 2 weeks
|
194701 |
23-Jun-2009 |
rpaulo |
* Driver for ACPI WMI (Windows Management Instrumentation) * Driver for ACPI HP extra functionations, which required ACPI WMI driver.
Submitted by: Michael <freebsdusb at bindone.de> Approved by: re MFC after: 2 weeks
|
193530 |
05-Jun-2009 |
jkim |
Import ACPICA 20090521.
|
192030 |
12-May-2009 |
brueffer |
Remove unused variables.
Found with: Coverity Prevent(tm) CID: 544, 545
|
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
|
188162 |
05-Feb-2009 |
imp |
device_shutdown returns int.
|
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
|
182864 |
08-Sep-2008 |
ed |
Fix a typo in a comment in the ACPI Fujitsu driver.
The word "hotkys" should read "hotkeys".
Submitted by: Jille Timmermans <jille quis cx>
|
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)
|
179155 |
20-May-2008 |
pjd |
Add ID for T61p, which is not IBM really, but well.
|
179137 |
20-May-2008 |
kevlo |
Add support for controlling the audio power
Tested on: VGN-SZ79TN
|
178231 |
15-Apr-2008 |
rpaulo |
style(9).
Noticed by: jkim
|
178193 |
14-Apr-2008 |
phk |
Convert amd64 and i386 to share the atrtc device driver.
|
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
|
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
|
170871 |
17-Jun-2007 |
mjacob |
Initialize key to zero.
|
170216 |
02-Jun-2007 |
philip |
Add support for Asus A3N laptops.
Submitted by: Holger Jorra <holger_jorra -at- gmx.net> MFC after: 1 day
|
170213 |
02-Jun-2007 |
njl |
Mute the main audio during reboot/shutdown. This prevents a burst of static on the speakers of my Panasonic Y4. It might make sense to do this in the mixer rc.d script as well.
|
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.
|
164030 |
06-Nov-2006 |
takawata |
Prevent freeing wild pointer when bailing out.
|
163856 |
01-Nov-2006 |
kevlo |
Document the cdp for controlling CD power.
Approved by: cognet
|
163825 |
31-Oct-2006 |
jhb |
Remove unused softc pointer variable from the probe routine.
CID: 1560 Found by: Coverity Prevent (tm)
|
163778 |
30-Oct-2006 |
takawata |
Driver for some ASUS desktop motherboard extras. 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.
|
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
|
159347 |
06-Jun-2006 |
nyan |
Use the acpi_event_sleep_button_sleep() function instead of the acpi_SetSleepState().
Submitted by: njl
|
159253 |
05-Jun-2006 |
nyan |
Add Fn+F7 hotkey (suspend) support.
Tested by: nork
|
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
|
155020 |
29-Jan-2006 |
philip |
Allow non-P laptops to make use of this module.
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
|
154326 |
14-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@
|
146216 |
14-May-2005 |
nyan |
Fix my copyright.
|
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
|
144623 |
04-Apr-2005 |
philip |
Fix a small locking error.
Submitted by: Anish Mistry <mistry.7@osu.edu>
|
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
|
144074 |
24-Mar-2005 |
jhb |
Add another HID for the Toshiba SPA40 laptop.
Submitted by: Chris Reece car at crank dot org dot uk MFC after: 1 week
|
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
|
143794 |
18-Mar-2005 |
philip |
Add acpi_fujitsu for handling acpi-controlled buttons on Fujitsu laptops.
Submitted by: Anish Mistry <mistry.7 -at- osu.edu> Reviewed by: njl X-MFC after: 5.4-RELEASE
|
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
|
138197 |
29-Nov-2004 |
imp |
Attach the device at acpi_sony instead of acpi_snc. Rename some internal variables as well to reflect the change.
|
137745 |
15-Nov-2004 |
imp |
Remove more debugging
|
137714 |
15-Nov-2004 |
imp |
Merge 1.3 from acpi_snc.c: don't use return_VALUE() macro Improve style(9) compliance.
|
137681 |
13-Nov-2004 |
imp |
Kill ACPI_FUNCTION_TRACE. It is killing the tinderbox build, and it 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.
|
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]
|
137593 |
11-Nov-2004 |
imp |
Commit takawata-san's Sony Notebook Controller driver, integrated into 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
|
137388 |
08-Nov-2004 |
philip |
Add support for gadgets on Asus L4R and M6R notebooks.
|
137365 |
07-Nov-2004 |
njl |
Add power profile support so that the LCD changes brightness levels based on the AC line state.
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org> MFC after: 1 week
|
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>
|
134258 |
24-Aug-2004 |
njl |
Be sure to always unlock the sx lock when exiting the sysctl function.
MFC after: 3 days
|
133630 |
13-Aug-2004 |
njl |
MPSAFE locking
* 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.
|
133629 |
13-Aug-2004 |
njl |
MPSAFE locking
* Serialize access to the sysctl routines and the notify handler * Assert that the sx lock is held in any functions they call.
|
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.
|
132611 |
24-Jul-2004 |
njl |
Whitespace cleanup and move static variables together.
|
132610 |
24-Jul-2004 |
njl |
Remove unneeded parens and fix whitespace.
|
132501 |
21-Jul-2004 |
nyan |
Add the ACPI Panasonic extras driver.
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org> and nyan
|
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.
|
130534 |
15-Jun-2004 |
njl |
s/device_get_handle/acpi_get_handle
Submitted by: Hiroyuki Aizu
|
130511 |
15-Jun-2004 |
njl |
Catch one more use of acpi_MatchHid and update for new API.
|
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)
|
128223 |
14-Apr-2004 |
njl |
Use METHOD_VIDEO instead of the method string itself.
Pointed out by: Andrew Thompson
|
128207 |
14-Apr-2004 |
njl |
Add support for video output switching. It appears no systems use HCI to change the video output but use a separate device with a DSSX method and a HID of "TOS6201" instead. We use a pseudo-driver to get the handle for this object and pass it to the acpi_toshiba driver.
This is untested but seems to match the Linux Toshiba driver.
|
128036 |
08-Apr-2004 |
njl |
Unify on version 1 to be similar to the rest of the tree. After 5-stable branches, increment version on any API change visible to other modules.
|
126517 |
03-Mar-2004 |
njl |
Add support for quirks for acpi tables. Key off OEM vendor and revision. Sort acpi debug values. Change "disable" to "disabled" to match rest of the kernel. Remove debugging from acpi_toshiba since it was only used for probe/attach.
|
124442 |
12-Jan-2004 |
njl |
Only remove the handler if we installed it.
|
124415 |
12-Jan-2004 |
njl |
Clean up the probe message and sort the function table according to the function order in the file.
|
124386 |
11-Jan-2004 |
njl |
Add the ACPI Toshiba extras driver (hotkeys, LCD backlight, video output, forced fan control, and CPU throttling).
PR: Submitted by: Hiroyuki Aizu <aizu@navi.org> Reviewed by: Approved by: Obtained from: MFC after:
|