Commit Graph

46 Commits

Author SHA1 Message Date
Kirill Ponomarev
f6832a8239 Remove trailing spaces.
MFC after:	3 days
2005-01-02 18:26:13 +00:00
Nate Lawson
401b484ba2 Add more information about debugging output. 2004-12-14 19:55:54 +00:00
Ruslan Ermilov
2010c542b2 Minor mdoc(7) tweaks, excellent work Nate! 2004-12-14 09:24:48 +00:00
Nate Lawson
edd84e4843 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
Nate Lawson
276cd9216d 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
Mark Santcroos
53ce39bedf 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
Nate Lawson
287460e87c Update the man page with new info about overriding your DSDT.
MFC after:	3 days
2004-10-05 20:42:16 +00:00
Ruslan Ermilov
2410103c1d mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
Mark Santcroos
55c71dc9b0 mdoc changes.
Reviewed by:	ru
Approved by:	njl
2004-06-30 20:49:34 +00:00
Mark Santcroos
07e2d0461f Document BIOS blacklist.
Approved by:	njl
2004-06-30 19:54:29 +00:00
Ruslan Ermilov
bf7f20c2b6 Assorted markup, spelling, and grammar fixes. 2004-06-16 08:33:57 +00:00
Nate Lawson
a2afe45a8a 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
Nate Lawson
ccc09458fa 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
Nate Lawson
18974fe842 Add the "new" acad disabling feature. 2004-04-20 17:45:47 +00:00
Nate Lawson
4e376d58dc 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
Nate Lawson
3184cf5a6b 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
Nate Lawson
e821c36489 Some markup fixes, change some devices to a feature. 2004-02-22 00:50:00 +00:00
Nate Lawson
37c51fd956 Update the debug.acpi.disable section for missing devices and the special
"all" value.
2004-02-22 00:30:43 +00:00
Wes Peters
d865f9ef19 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 Peters
5413d9e096 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
Nate Lawson
d3e1c2411e 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
Nate Lawson
09c84ba407 _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
Nate Lawson
d11a4e603f Update man page for \_OS* changes. 2004-01-09 20:06:04 +00:00
Ruslan Ermilov
673fbcacfb Somebody called mdoc(7) janitor.
A bit of wordsmithing from a native speaker is still necessary.
2003-12-28 12:56:01 +00:00
Takanori Watanabe
d827f9b59f 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
Nate Lawson
3526eac0d8 Document new sysctls for throttling. 2003-12-18 04:39:09 +00:00
Nate Lawson
39330d77d4 Clean up one more sentence that was wrapped unnecessarily.
Approved by:	re (implicitly)
2003-11-19 20:37:15 +00:00
Nate Lawson
1e14834ae3 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
Nate Lawson
c25a3f8a7a 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
Nate Lawson
6b74f9b7f5 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
Mitsuru IWASAKI
fbbdf7c7d2 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
Nate Lawson
297835bcd5 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
Nate Lawson
718a5d6abd Document hw.acpi.os_name. Also update the credits section. 2003-08-07 04:46:53 +00:00
Nate Lawson
a329ebca91 Add and document the hw.acpi.ec.poll_timeout tunable. 2003-07-30 16:22:53 +00:00
Ruslan Ermilov
09f84dd1d3 Assorted mdoc(7) fixes. 2003-06-02 15:02:06 +00:00
Nate Lawson
91113bc86a Fix a typo in rev 1.10 2003-05-23 21:40:07 +00:00
Warner Losh
7c8cd16cb9 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
Warner Losh
4e3148f429 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
Tom Rhodes
ddd74b0048 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
Hiten Pandya
70ce116756 device s/acpica/acpi/
Noticed by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
Approved by: des (mentor)
2003-04-24 09:54:18 +00:00
Robert Watson
f64a0a56d4 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
Ruslan Ermilov
a627f55aa4 mdoc(7) police: nits in rev. 1.4. 2002-08-13 13:44:45 +00:00
Takanori Watanabe
f0da5f560d 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
Mike Smith
d1f717d179 Update to match new debugging subsystem/level codes. Also mention
upcoming load-time module autoloading feature.
2001-08-26 22:51:52 +00:00
Ruslan Ermilov
87b6284a2d mdoc(7) police: formatting fixes. 2001-07-06 08:10:59 +00:00
Mike Smith
b6695bd0e8 Add a manpage for the acpi super-device. This is still fairly brief, and
will need to be fleshed out as the system's design solidifies.
2001-07-03 07:45:04 +00:00