History log of /freebsd-current/sys/dev/acpi_support/acpi_wmi.c
Revision Date Author Comments
# 28977cb9 29-Aug-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

wmistat: don't restrict reading to the pid that opened the fd.

PR: 273405
MFC after: 1 week
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D41621


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 90161e72 06-May-2022 John Baldwin <jhb@FreeBSD.org>

acpi_support: Remove unused devclass arguments to DRIVER_MODULE.


# bde56c99 21-Dec-2020 Vladimir Kondratyev <wulf@FreeBSD.org>

acpi_wmi(4): Allow attachment to ACPI node if EC is not found

Conducted tests showed that Embedded Controller is not mandatory for
WMI extensions to work.

Reported-by: yuripv
Reviewed-by: avg
MFC-after: 2 weeks
Differential-Revision: https://reviews.freebsd.org/D27653


# 58ea3386 31-Oct-2020 Vladimir Kondratyev <wulf@FreeBSD.org>

acpi_wmi(4): Add ACPI_PNP_INFO

MFC after: 2 weeks


# 3149873a 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

acpi_support: clean up empty lines in .c and .h files


# ca78bcd7 06-Sep-2019 Takanori Watanabe <takawata@FreeBSD.org>

Add embedded Managed Object Format blob access to acpi_wmi(4).
This blob is can be converted to human readable form by bmfdec.
(http://github.com/pali/bmfdec)

Differential Revision: https://reviews.freebsd.org/D21529


# 5efca36f 25-Oct-2018 Takanori Watanabe <takawata@FreeBSD.org>

Distinguish _CID match and _HID match and make lower priority probe
when _CID match.

Reviewed by: jhb, imp
Differential Revision:https://reviews.freebsd.org/D16468


# 178f3ce6 14-Oct-2012 Andriy Gapon <avg@FreeBSD.org>

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


# 4b7ec270 22-Nov-2011 Marius Strobl <marius@FreeBSD.org>

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


# 885c97af 22-Nov-2011 Jaakko Heinonen <jh@FreeBSD.org>

Append unit number to the WMI status device name to allow attaching
multiple acpi_wmi(4) instances.

PR: kern/162491
Reviewed by: avg


# d745c852 06-Nov-2011 Ed Schouten <ed@FreeBSD.org>

Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.

This means that their use is restricted to a single C file.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 01b36cb0 16-Sep-2010 Jung-uk Kim <jkim@FreeBSD.org>

Remove an unnecessary hack from ACPICA 20100915 (r212761).


# f5aadc99 11-Sep-2010 Andriy Gapon <avg@FreeBSD.org>

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


# e21bbd17 05-Feb-2010 Andriy Gapon <avg@FreeBSD.org>

MFC r197104,197105,197106,197107,197688,198237,199337,199338,200553,200554,
202771,202773: bring acpica version to 20100121

MFC details:
r197104 | jkim | 2009-09-12 01:48:53 +0300 (Sat, 12 Sep 2009) | 4 lines
MFV: r196804
Import ACPICA 20090903

r197105 | jkim | 2009-09-12 01:49:34 +0300 (Sat, 12 Sep 2009) | 2 lines
Catch up with ACPICA 20090903.

r197106 | jkim | 2009-09-12 01:50:15 +0300 (Sat, 12 Sep 2009) | 2 lines
Catch up with ACPICA 20090903.

r197107 | jkim | 2009-09-12 01:56:08 +0300 (Sat, 12 Sep 2009) | 2 lines
Canonify include paths for newly added files.

r197688 | jkim | 2009-10-01 23:56:15 +0300 (Thu, 01 Oct 2009) | 4 lines
Compile ACPI debugger and disassembler for kernel modules
unconditionally.
These files will generate almost empty object files without
ACPI_DEBUG/DDB
options. As a result, size of acpi.ko will increase slightly.

r198237 | jkim | 2009-10-19 19:12:58 +0300 (Mon, 19 Oct 2009) | 2 lines
Merge ACPICA 20091013.

r199337 | jkim | 2009-11-16 23:47:12 +0200 (Mon, 16 Nov 2009) | 2 lines
Merge ACPICA 20091112.

r199338 | jkim | 2009-11-16 23:53:56 +0200 (Mon, 16 Nov 2009) | 2 lines
Add a forgotten module Makefile change from the previous commit.

r200553 | jkim | 2009-12-15 00:24:04 +0200 (Tue, 15 Dec 2009) | 2 lines
Merge ACPICA 20091214.

r200554 | jkim | 2009-12-15 00:28:32 +0200 (Tue, 15 Dec 2009) | 3 lines
Remove _FDE quirk handling as these quirks are automatically repaired
by ACPICA layer since ACPICA 20091214.

r202771 | jkim | 2010-01-21 23:14:28 +0200 (Thu, 21 Jan 2010) | 2 lines
Merge ACPICA 20100121.

r202773 | jkim | 2010-01-21 23:31:39 +0200 (Thu, 21 Jan 2010) | 2 lines
Fix a new header inclusion.

Discussed with: jkim, jhb
No objections from: acpi@


# 0f73b657 30-Jun-2009 Rui Paulo <rpaulo@FreeBSD.org>

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


# 07bed151 23-Jun-2009 Rui Paulo <rpaulo@FreeBSD.org>

Fix build with ACPI_DEBUG.

MFC after: 2 weeks


# df849145 23-Jun-2009 Rui Paulo <rpaulo@FreeBSD.org>

* 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