Commit Graph

61 Commits

Author SHA1 Message Date
ru
5b7cf06c1d Markup fixes. 2006-09-18 15:24:20 +00:00
njl
a30f2b103d The acpi module is no different from others. If it is loaded while the kernel
has it compiled in, it will be rejected with "module acpi already present!"
and no strange behavior.

MFC after:	1 day
2006-08-10 06:32:16 +00:00
yar
971f9b29ba Fix things I misadvised to Nate Lawson:
- "Ns No" is redundant, so reduce it to just "Ns";
- use Li to mark up CPU and system power states because here they are
  just strings to be typed literally (add more such mark-up as well);
- the best practice of typesetting tells us to use an en-dash to
  indicate a closed range; fortunately, groff_char(7) provides such a symbol.

In addition, consistently use a comma between independent clauses
coordinated by a conjunction.

Pointed out by:	ru (mark-up part)
MFC after:	3 days
2006-08-07 07:28:47 +00:00
njl
558c576740 Improve quoting of the S1-S5 states. Suggested by yar@.
Add a workaround for conflicts between ACPI Cx CPU idling and LAPIC timer.

MFC after:	1 day
2006-08-04 07:19:01 +00:00
njl
c745eaf315 Document many of the sysctls in acpi. Bump the date on acpi_thermal.4
because I forgot to on the last change.

MFC after:	1 day
2006-07-29 21:47:24 +00:00
njl
00c07c3991 Move the reset beep tunable/sysctl to debug.acpi.resume_beep. This makes
more sense than under hw.acpi.  Also, document this in the man page.
2006-06-10 08:06:16 +00:00
brueffer
9c3fa60f2b Correct the interrupt override information.
PR:		93429
Submitted by:	Michaël Grünewald <michael.grunewald@laposte.net>
MFC after:	3 days
2006-05-01 11:56:18 +00:00
wkoszek
89ae2aab62 Note that ACPI_DEBUG depends on DDB.
Reviewed by:	njl
Approved by:	cognet (mentor)
MFC after:	3 days
2006-03-01 16:31:37 +00:00
hrs
78ae67348b Fix typos and use consistent section names in manual pages:
s/SYSCTLS/SYSCTL VARIABLES/
 s/TUNABLES/LOADER TUNABLES/
 s/CAVEAT/CAVEATS/
 s/DESCIPTION/DESCRIPTION/

Reviewed by:	ru
MFC after:	3 days
2005-07-15 17:35:26 +00:00
ru
10fbbd3d56 Assorted markup fixes and minor wordsmithing.
Approved by:	re
2005-06-15 13:31:23 +00:00
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