Commit Graph

51 Commits

Author SHA1 Message Date
njl
9104e508fe Document the debug.acpi.max_threads tunable. 2005-04-22 23:21:09 +00:00
trhodes
e3d4e765d4 Note that debug.acpi.disabled can also disable the video.
PR:			77693
Tested/submitted by:	John Prather <jprather@axon.cdc.uci.edu>
MFC:			1 day
2005-02-23 07:23:35 +00:00
njl
e256a3604a Bump date. Reminded by: ru 2005-02-13 21:23:23 +00:00
njl
a0d4e0eefd Update documentation of tunables. 2005-02-13 20:26:04 +00:00
njl
044b41bb7e Note changes to throttling sysctls and new power_profile(8) cpufrq support. 2005-02-06 21:31:41 +00:00
krion
aef62f129d Remove trailing spaces.
MFC after:	3 days
2005-01-02 18:26:13 +00:00
njl
55134c7d6f Add more information about debugging output. 2004-12-14 19:55:54 +00:00
ru
2c72e53bd3 Minor mdoc(7) tweaks, excellent work Nate! 2004-12-14 09:24:48 +00:00
njl
d2032ba637 Checkpoint reworking the man page to be more useful to non-developers,
document some debug output variables, etc.  Mdoc assistance welcome.
2004-12-14 01:07:44 +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
marks
4b4b34e8d5 Document ACPI tunable hw.acpi.serialize_methods.
Also reorder tunables.

Approved by:	njl
MFC after:	1 week
2004-12-04 23:26:46 +00:00
njl
e1524c78c8 Update the man page with new info about overriding your DSDT.
MFC after:	3 days
2004-10-05 20:42:16 +00:00
ru
9f45c1d92e mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
marks
be82e61ec0 mdoc changes.
Reviewed by:	ru
Approved by:	njl
2004-06-30 20:49:34 +00:00
marks
dd540d8a36 Document BIOS blacklist.
Approved by:	njl
2004-06-30 19:54:29 +00:00
ru
aa52a5a900 Assorted markup, spelling, and grammar fixes. 2004-06-16 08:33:57 +00:00
njl
ed0911a65e Rework acpi_cpu_idle() to select the next idle state before sleeping, not
after.  Unify the paths for all Cx states.  Remove cpu_idle_busy and
instead do the little profiling we need before re-enabling interrupts.
Use 1 quantum as estimate for C1 sleep duration since the timer interrupt
is the main reason we wake.

While here, change the cx_history sysctl to cx_usage and report statistics
for which idle states were used in terms of percent.  This seems more
intuitive than counters.  Remove the cx_stats structure since it's no
longer used.  Update the man page.

Change various types which do not need explicit size.
2004-06-05 07:02:18 +00:00
njl
055815ed7e Change hw.acpi.cpu.cx_lowest to accept values in the form of C1,
C2, ...  Update power_profile to use the new format.  Update the
man page to reflect this and give more info on Cx states.
2004-05-07 05:22:38 +00:00
njl
988efdb11f Add the "new" acad disabling feature. 2004-04-20 17:45:47 +00:00
njl
2b5556f4cf Add a "quirks" value to disable quirks handling for a given boot.
Also, disable quirks if booting with a custom DSDT.  Add a quirk
to disable loading ACPI so known bad systems can be completely
blacklisted.
2004-03-04 04:42:59 +00:00
njl
3baf2d6bee 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.
2004-03-03 03:02:17 +00:00
njl
93bc079347 Some markup fixes, change some devices to a feature. 2004-02-22 00:50:00 +00:00
njl
4e763f534d Update the debug.acpi.disable section for missing devices and the special
"all" value.
2004-02-22 00:30:43 +00:00
wes
d7e44aa622 Mention that kernel environment variables may be configured in
/boot/loader.conf.  Make the description flow a bit better.

Complaints by:	Nate Lawson <nate@root.org>
2004-02-18 05:20:31 +00:00
wes
507e47381e Make the distinction between sysctl kernel environment variables and
device.hints kernel environment variables when disabling ACPI.

Some users are getting confused when they see hint.acpi.0.disabled.
They are confusing it with a sysctl MIB.

Finally, add a reference for device.hints(5) and kenv(1)
in the "SEE ALSO" section of the man page.

PR:		docs/62974
Submitted by:	Christian S.J. Peron <maneo@bsdpro.com>
2004-02-17 20:38:49 +00:00
njl
67995bef83 Fix hw.acpi.os_name by renaming it to hw.acpi.osname. The "_name" suffix
is reserved by the loader, and thus any tunable name with that suffix will
be silently discarded.

Document this in the header and man page so that other developers do not
develop so many bumps on the head after banging it against the wall.

Detective work by:	Mark Santcroos, grehan
2004-02-14 03:17:30 +00:00
njl
ed853de359 _OS and _OS_ are the same object (due to _ padding for spaces).
Pointed out by:	Ducrot Bruno (Linux)
2004-01-16 18:10:42 +00:00
njl
e47c05aaad Update man page for \_OS* changes. 2004-01-09 20:06:04 +00:00
ru
3eace67a0c Somebody called mdoc(7) janitor.
A bit of wordsmithing from a native speaker is still necessary.
2003-12-28 12:56:01 +00:00
takawata
62980ecc8b Add acpi_thermal manual page,
because I asked about the unit of thermal
zone-related value too freqently.
Come on, mdoc police.
2003-12-27 16:25:11 +00:00
njl
1c08e0c3ab Document new sysctls for throttling. 2003-12-18 04:39:09 +00:00
njl
13274cd798 Clean up one more sentence that was wrapped unnecessarily.
Approved by:	re (implicitly)
2003-11-19 20:37:15 +00:00
njl
fefd7b2994 Update the man page for hw.acpi.reset_video and a few mdoc(7) cleanups.
Submitted by:	Andreas Kohn <andreas.kohn@gmx.net>
Approved by:	re (implicitly)
2003-11-19 20:30:18 +00:00
njl
66237b7d67 Improve the section on Cx states, documenting the removal of -1 as a
valid value for cx_lowest.  To disable sleeping, use machdep.cpu_idle_hlt
instead.  Update the version of the ACPI spec we implement.

Approved by:	re (implicitly)
2003-11-19 20:28:56 +00:00
njl
36b03f2409 Implement Cx CPU idle states and updated throttling support.
* Use the cpu_idle_hook() to do idling for C1-C3.
* Use both _CST and the FADT to detect Cx states.
* Use both _PTC and P_CNT for controlling throttling.
* Add a notify handler to detect changes in _CST and _PSS
* Call the _INI function for each processor if present.  This will be
  done by ACPI-CA in the future.
* Fix a bug on SMP systems where CPUs will attach multiple times if the
  bus is rescan.
* Document new sysctls for controlling idling.
2003-11-15 19:26:06 +00:00
iwasaki
d959b1ec08 Add sysctl MIB and loader tunable `hw.acpi.no_reset_video' as
the same effect as ACPI_NO_RESET_VIDEO kernel option.
2003-10-30 16:14:55 +00:00
njl
1e9a7a2d2d Sort debugging levels and update the man page to match reality. Also
update man page to reflect iasl(8) import.
2003-09-26 04:32:40 +00:00
njl
ba78afdcb6 Document hw.acpi.os_name. Also update the credits section. 2003-08-07 04:46:53 +00:00
njl
bcbbd9ea9e Add and document the hw.acpi.ec.poll_timeout tunable. 2003-07-30 16:22:53 +00:00
ru
29f9643911 Assorted mdoc(7) fixes. 2003-06-02 15:02:06 +00:00
njl
e994ea9fef Fix a typo in rev 1.10 2003-05-23 21:40:07 +00:00
imp
637791eaf8 o Document the tunables that acpi allows. (mdoc gurus please comment
on and fix if neceeary).
o Note that acpi is available on i386-ia32, ia64 and amd64, not just 'intel'
  platforms.  Intel has had nothing to do with amd64.

Approved by: re (scottl@)
2003-05-22 23:58:50 +00:00
imp
97dd05ab1e Tell how to completely disable ACPI. Add warnings about how bad
kharma it will be to disable some or all of acpi on ia64 or amd64 (are
there other non-i386 platforms that FreeBSD supports with ACPI?).

Submitted by: Ryan Losh
Approved by: re@ (rwatson)
2003-05-18 04:21:38 +00:00
trhodes
b36f595442 debug.acpi.disable="processor" is incorrect. Use debug.acpi.disable="cpu" as
found on line 126 of sys/dev/acpica/acpi_cpu.c.

PR:	51523
2003-04-29 14:50:34 +00:00
hmp
0ca929541c device s/acpica/acpi/
Noticed by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
Approved by: des (mentor)
2003-04-24 09:54:18 +00:00
rwatson
ee9cea37f2 Minor tweaks to the acpi.4 man page: xref acpiconf.8, and one of the
bugs (device naming) isn't present [anymore].

Submitted by:	Hiten Pandya <hiten@angelica.unixdaemons.com>
2002-10-24 01:44:50 +00:00
ru
156f0bccf3 mdoc(7) police: nits in rev. 1.4. 2002-08-13 13:44:45 +00:00
takawata
4174d50d4d Document BIOS bytecode overriding.
Pointed out by: Alex Zepeda <zipzippy@sonic.net>
Reviewed by:	David Wolfskill <david@catwhisker.org>
2002-07-05 15:36:03 +00:00
msmith
bdc326b1fd Update to match new debugging subsystem/level codes. Also mention
upcoming load-time module autoloading feature.
2001-08-26 22:51:52 +00:00
ru
5ccfe3c88c mdoc(7) police: formatting fixes. 2001-07-06 08:10:59 +00:00