diff --git a/ru_RU.KOI8-R/books/handbook/config/Makefile b/ru_RU.KOI8-R/books/handbook/config/Makefile new file mode 100644 index 0000000000..875d046ee7 --- /dev/null +++ b/ru_RU.KOI8-R/books/handbook/config/Makefile @@ -0,0 +1,17 @@ +# +# Build the Handbook with just the content from this chapter. +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/books/handbook/config/Makefile,v 1.1 2001/10/23 11:38:52 phantom Exp $ +# Original revision: 1.1 +# + +CHAPTERS= config/chapter.sgml + +VPATH= .. + +MASTERDOC= ${.CURDIR}/../${DOC}.${DOCBOOKSUFFIX} + +DOC_PREFIX?= ${.CURDIR}/../../../.. + +.include "../Makefile" diff --git a/ru_RU.KOI8-R/books/handbook/config/chapter.sgml b/ru_RU.KOI8-R/books/handbook/config/chapter.sgml index 7f517d193d..fd89b7e6e2 100644 --- a/ru_RU.KOI8-R/books/handbook/config/chapter.sgml +++ b/ru_RU.KOI8-R/books/handbook/config/chapter.sgml @@ -2,9 +2,9 @@ The FreeBSD Documentation Project $FreeBSD$ - $FreeBSDru: frdp/doc/ru_RU.KOI8-R/books/handbook/config/chapter.sgml,v 1.12 2004/01/19 12:08:24 den Exp $ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/books/handbook/config/chapter.sgml,v 1.16 2004/04/02 10:52:45 den Exp $ - Original revision: 1.132 + Original revision: 1.142 --> <chapter id="config-tuning"> @@ -274,7 +274,7 @@ </sect1> <sect1 id="configtuning-appconfig"> - <title>��������� ����������</title> + <title>��������� ����������</title> <para>������, ������������� ���������� ����� ���� ���������������� �����, �� ����� ����������� �����������. ����� ������� ��� ����� �������� �� @@ -504,7 +504,7 @@ HOME=/var/log ��������������� ������� <command>atrun</command> ���������� ��� ������������� <username>root</username> ������ ���� ����� ���������� �� ��� ��� ������. �� �������������� ����������� �� - <command>atrun</command> ����������� � �������� ����������� + ������� <command>atrun</command> ����������� � �������� ����������� &man.atrun.8;.</para> <para>������� ����� ��������� ����� ���������� ����������; ������ @@ -610,7 +610,7 @@ HOME=/var/log $sshd_enable=YES</screen> <note> - <para>������ ������ (<literal># sshd</literal>) ��� ����� ������� + <para>������ ������ (<literal># sshd</literal>) ��� ����� ������� <command>sshd</command>, � �� ������� <username>root</username>.</para> </note> @@ -654,17 +654,17 @@ sshd is running as pid 433.</screen> <itemizedlist> <listitem> - <para>PROVIDE: ������ ��� �������, ���������������� ���� ������.</para> + <para><literal>PROVIDE</literal>: ������ ��� �������, ���������������� ���� ������.</para> </listitem> <listitem> - <para>REQUIRE: ������ ��������, ����������� ����� �������. ���� + <para><literal>REQUIRE</literal>: ������ ��������, ����������� ����� �������. ���� ���� ����� ������� <emphasis>�����</emphasis> ��������� ��������.</para> </listitem> <listitem> - <para>BEFORE: ������ ��������, ��������� �� ����� �������. ���� + <para><literal>BEFORE</literal>: ������ ��������, ��������� �� ����� �������. ���� ���� ����� ������� <emphasis>��</emphasis> ��������� ��������.</para> </listitem> @@ -1463,7 +1463,7 @@ device_probe_and_attach: cbb0 attach returned 12</screen> <para>��������, ������� �� ���, ������� ��������� ��������� �������� &man.sysctl.8;, ����������� ������� ���������. ��� ���������� ���� �������� ������������ ����� ��������� &man.sysctl.8; <quote>OID</quote> - � ���� <filename>/boot/loader.conf.local</filename>. �������� �� + � ���� <filename>/boot/loader.conf</filename>. �������� �� ��������� �������� � ����� <filename>/boot/defaults/loader.conf</filename>.</para> @@ -2267,33 +2267,538 @@ device_probe_and_attach: cbb0 attach returned 12</screen> <para>�������� � ������ ���������. ���������� � �������� ����������� &man.acpiconf.8; �� �������������� �����������.</para> </sect2> + </sect1> - <sect2 id="acpi-debug"> - <title>������� � ���������� <acronym>ACPI</acronym></title> + <sect1 id="ACPI-debug"> + <sect1info> + <authorgroup> + <author> + <firstname>Nate</firstname> + <surname>Lawson</surname> + <contrib>������� </contrib> + </author> + </authorgroup> + <authorgroup> + <author> + <firstname>Peter</firstname> + <surname>Schultz</surname> + <contrib>��� ������ </contrib> + </author> + </authorgroup> + <authorgroup> + <author> + <firstname>Tom</firstname> + <surname>Rhodes</surname> + <contrib>� </contrib> + </author> + </authorgroup> + </sect1info> - <para>����� ��� � <acronym>ACPI</acronym> ���������, ���� �� ���������� - ��������. ��� ������ ���������, ����� ������������ ������, ��� - ���-�� �������� �����������. ������� &man.acpi.4; ������������ - ����� ���������� �������, ����� ���� ��������� ��������� ��������� - ����� ������� <acronym>ACPI</acronym>. �� ����� ��������� ����������� - � ��������� ������� ���������� � �������� ����������� - &man.acpi.4;.</para> + <title>������������� � ������� &os; <acronym>ACPI</acronym></title> - <para>������ �� ��������� �������� ���������� ��������� ������ - <filename>acpi.ko</filename>. ��� ����� ������� ������ �� - ����� �������� ����� &man.loader.8;. �� ������ �������� - <command>unset acpi_load</command> � ����������� - &man.loader.8; ��� ������ ������ �������, ��� �������� - ������������ �������� &man.acpi.4;, ������� � - <filename>/boot/loader.conf</filename> ��������� ������:</para> + <para><acronym>ACPI</acronym> ��� �������������� ����� ������ + ����������� ���������, ���������� ������������������ � �������������� + �������������������� ������� � ���������� ������������, ����� + ����� �������������� <acronym>BIOS</acronym>. ��� ��������� + ������������ �������� � �������������� <acronym>ACPI</acronym> + � ������ �� ����� ���������, �� ��� ��� ����������� ������ + � �������� <acronym>AML</acronym> ��������� ����������� ����, + ������������� ������� ���� � ����������� ���� &os; � ������ � + �������������� <acronym>ACPI-CA</acronym>.</para> - <programlisting>exec="unset acpi_load"</programlisting> + <para>���� ������ ������������ ��� ����, ����� ��������� ���� + ���������� ������������� &os; <acronym>ACPI</acronym> � + ����������� ������ ����������� ���� �������, ���������� ������� + � ��������� �������. ������� �� ������ � ��������, ��� �� ������ + ������ � ������� ������� ����� �������.</para> - <para>&os; 5.1-RELEASE � ����� ����� ������������ � ����, - ����������� ��������� &os;. ���� �� ��������������� ����������, - ��� ���������� <acronym>ACPI</acronym>. ��� ���������� - <acronym>ACPI</acronym> ������ �������� � ���� - <guimenuitem>2. Boot &os; with ACPI disabled</guimenuitem>.</para> + <sect2 id="ACPI-submitdebug"> + <title>�������� ���������� ����������</title> + + <para>�� �� ���, ��� ������ ��������� ��������� � �������� ����� + ������, ����� ��������������� ������� + <ulink url="mailto:acpi-jp@jp.freebsd.org"> + acpi-jp@jp.freebsd.org</ulink>, �������� �� ���� ��������� + ����������:</para> + + <itemizedlist> + <listitem> + <para>�������� ������������� ���������, ������� ��� �������, ������ + � ���, ��� �������� � ��������� ������. ����� ����, �������� + ��������� �����, ��������� ��������, ����� ��������� ������, + ���� ����� �� �� �� ������.</para> + </listitem> + + <listitem> + <para>����� dmesg ����� <quote>boot + <option>-v</option></quote>, ������� ��� ���������, ����������� + ��� �������� ������.</para> + </listitem> + + <listitem> + <para>����� dmesg ����� <quote>boot + <option>-v</option></quote> � ����������� <acronym>ACPI</acronym>, + ���� ��� ���������� �������� ������ ��������.</para> + </listitem> + + <listitem> + <para>����� <quote>sysctl hw.acpi</quote>. ��� ����� ������� + ������ ��������� ������ ������������ �������.</para> + </listitem> + + <listitem> + <para><acronym>URL</acronym> ��� ����� ����� ��� + <acronym>ASL</acronym>. <emphasis>��</emphasis> ����������� + <acronym>ASL</acronym> ��������������� � ������ ��������, + ��������� �� ����� ���� ����� �������. ����� + <acronym>ASL</acronym> ����� ���� ������� ��������:</para> + + <screen>&prompt.root; <userinput>acpidump -t -d > $NAME-$SYSTEM.asl</userinput></screen> + + <para>(�������� ����� ������� + <filename>$NAME</filename> � ��������������/������� + <filename>$SYSTEM</filename>. ������: + <filename>njl-FooCo6000.asl</filename>)</para> + </listitem> + </itemizedlist> + + <para>����������� ������������� ������ ������ �������� freebsd-current, + �� ��� �����������, ��� �������� ������, ��������� �� � + acpi-jp. ������ ���������, ��� �� ������ ������ ������� ���� ���-�� + ���. ���� ���� ��������� �� �������� �����, �� �������� + �������� ��� ��������� <acronym>PR</acronym> (��������� � ��������) + ����� &man.send-pr.1;. ��� ����� <acronym>PR</acronym>, + ��������� �� �� ����������, ��� ��������� ����. ��� ������� + ��� ��������� �������� � ������ ��. �� ����������� + <acronym>PR</acronym> ��� ��������������� �������� ������ � + acpi-jp, ��������� �� ���������� <acronym>PR</acronym> � �������� + ����������� � ������������ ���������, � �� ��� �������� ��������� + �� �������. ��������, � ����� �������� ���-�� ��� ������� + �����.</para> + </sect2> + + <sect2 id="ACPI-background"> + <title>����� ��������</title> + + <para><acronym>ACPI</acronym> ����������� �� ���� ����������� + �����������, ��������������� ������������ ia32 (x86), + ia64 (Itanium) � amd64 (AMD). ������ �������� �������� ��������� + ������������, � ��� ����� ���������� ������������������� + <acronym>CPU</acronym>, ������� �������, ������������, + ���������� ��������� �������������, ����������� ������������� + � ������� ����. � ����������� ������ �������� ���������� �� + ���������. ��������, ���������� ������� ������ ��������� ������ + ����� ����, � ����������� ���������� ����� ���� ����� ������������ + ���������� ����������� � ������������������. ��� ����� ������������ + ������������ � ����������� ������ ������� ���������� ������ + ���������.</para> + + <para><acronym>ACPI</acronym>-����������� ������� ������� �� + ��������� �����������. ������������� <acronym>BIOS</acronym> + � �������� ������������� ��������� ������ �������� �������, + (��������, <acronym>FADT</acronym>), ������� ���������� + ������� ����� ����� <acronym>APIC</acronym> (������������ ��� + <acronym>SMP</acronym>), �������� ��������� � ������� + �������� ����������. ����� ����, ��������������� ������� + �������� (<acronym>DSDT</acronym>), ������������ ������������� + ������������ ���� ��������� � �������.</para> + + <para>������� <acronym>ACPI</acronym> ������ �������� �������� + �������, ����������� ������������� ��� ��������, �������������� + �������� ��������� � ���� ��� ������ ���������� �� ���������� + <acronym>ACPI</acronym>. ��� &os;, Intel ������������ + ������������� (<acronym>ACPI-CA</acronym>), ��� �� ��� ��� + Linux � NetBSD. �������� ��� <acronym>ACPI-CA</acronym> + ��������� � �������� + <filename role="directory">src/sys/contrib/dev/acpica</filename>. + ��� ��� �������������� <acronym>ACPI-CA</acronym> � ������ � + &os;, ��������� � <filename>src/sys/dev/acpica/Osd</filename>. + �������, ��������, ����������� ��������� <acronym>ACPI</acronym> + ����������, ��������� � + <filename role="directory">src/sys/dev/acpica</filename>.</para> + </sect2> + + <sect2 id="ACPI-comprob"> + <title>����� ������������� ��������</title> + + <para>��� ���������� ������ <acronym>ACPI</acronym> ��� �� ����� ������ + �������� ���������. ��� ��������� ����� ������������� ��������, � ������� + ������� ���������, � ��������� �������� ���� ��� �����������.</para> + + <sect3> + <title>������������/������������� ������</title> + + <para><acronym>ACPI</acronym> ������������ ��� ��������� ������������ � + <acronym>RAM</acronym> (<acronym>STR</acronym>), + <literal>S1</literal>-<literal>S3</literal>, � ���� ��������� + ������������ �� ���� (<literal>STD</literal>), ���������� + <literal>S4</literal>. <literal>S5</literal> ��� + <quote>������ ����������</quote> � ��� ���������� ��������� �������, + ����� ��� ���������� � ����, �� �� ��������. <literal>S4</literal> + ����� ���� ���������� ����� ���������� ������. + <literal>S4</literal><acronym>BIOS</acronym> ��� + <acronym>BIOS</acronym>-�������������� ������������ �� ����. + <literal>S4</literal><acronym>OS</acronym> ����������� ��������� + ������������ ��������.</para> + + <para>������� � �������� ���������� <command>sysctl</command> + <option>hw.acpi</option>, ����������� � ������������ (suspend). + ��� ��������� ��� ����� Thinkpad:</para> + + <screen>hw.acpi.supported_sleep_state: S3 S4 S5</screen> + <screen>hw.acpi.s4bios: 0</screen> + + <para>��� ��������, ��� � ���� ������������ <quote>acpiconf + <option>-s</option></quote> ��� ������������ <literal>S3</literal>, + <literal>S4</literal><acronym>OS</acronym>, � + <literal>S5</literal>. ���� <option>s4bios</option> ��� �������� + (1), ��� �������� ��������� + <literal>S4</literal><acronym>BIOS</acronym> ������ + <literal>S4</literal><acronym>OS</acronym>.</para> + + <para>��� ������������ ������������/������������� ������, ������� + � <literal>S1</literal>, ���� ���� ����� ��������������. + ��� ��������� ������ ����� ��������������, ��������� �� ������� + ������� ��������� ��������� �� ������� ��������. ����� �� + ���������� <literal>S2</literal>, ������� ����� �� + <literal>S1</literal>. ��������� ����� ��� ������������ ��� + <literal>S3</literal>. ��� �������� �������� <acronym>STR</acronym> + ���������, ��� ������� ������������ ��������� �� ������� + ��������, ����� ��������� ������������������ ������������. + ���� � ��� �������� �������� ��� ������ �� ����� ���������, + ��������� ������ � �������� acpi-jp, �� �� �����, ��� + �������� ����� ����������� ������, ��������� ���������� + ��������� ���������/������������, ����������� � ���������� + ������������ � ����������.</para> + + <para>��� �������� �������� ������� �� ���� ������� ���������, + ������� ��������. ���� ��� ��������, �� ������ ��������, + ����� ������� �������� �������� ����� �������� ��������� + �� ��� ���, ���� ����� �� ���������� ����. ������ �������� + ��������, ����� ��� <filename>nvidia.ko</filename>, + �������� ������� <application>X11</application> � + <acronym>USB</acronym> �������� ����������� �������, � �������� + Ethernet ����������� ��� ������� �������� �������. ���� �� + ������ ��������� ���������/��������� ��������, ��������������� + ���� �������, �������� ��������������� ������� � + <filename>/etc/rc.suspend</filename> � + <filename>/etc/rc.resume</filename>. ��� ������������������ + ������� �������� � �������� ���������. ���������� + ���������� �������� <option>hw.acpi.reset_video</option> + � ���� (0), ���� ��� ������� �� ���������� ����� ������������� + ������. ���������� ���������� ������� ��� ������� �������� + ��� <option>hw.acpi.sleep_delay</option>, ����� ���������, + ������� �� ���.</para> + + <para>������ ������, ������� ����� �����������, ��� ������ + ���������� ������������ Linux � ���������� + <acronym>ACPI</acronym> � �������������� ��������� + ���������/������������� ������ �� ��� �� ������������. + ���� ��� �������� �� Linux, �������� ������ ����� � + ��������� &os; � ����� ��������, ����������� ��������, + ������� ��������� ��������. ������ �����, ��� ������������ + <acronym>ACPI</acronym> ������ �� ������������ ������ + �������� (����, <acronym>ATA</acronym>, � �.�.), ��� ��� + ��� ���������� ������ �� ������ �������� �������� ���������� + ��������� � ������ �������� freebsd-current � ��������, + ��������������� �������. ���� �� �������� �������� + ��������, ��������� ��������������� ��� (&man.printf.3;) + � ���������� �������� ������� ��� ����������� �����, ��� + ����������� ������� ��������������.</para> + + <para>�������, ���������� ��������� <acronym>ACPI</acronym> � + �������� <acronym>APM</acronym>. ���� ������������/������������� + �������� � <acronym>APM</acronym>, ��� �������� ����� �������� + <acronym>APM</acronym>, �������� �� ������ ������������ (�� + 2000). ��������� ���������� ��������� <acronym>ACPI</acronym> + ������������ ������������ ������� ������� � �������� � ������ + ������������ ��������� <acronym>ACPI</acronym> � + <acronym>BIOS</acronym> ���� �����������.</para> + </sect3> + + <sect3> + <title>������� ��������������� (�������� ��� ���������)</title> + + <para>����������� ������ ��������������� � ���������� ������ + ���������� ��� <quote>������</quote> ����������. � �������� + ���������� ����� �������, ��������� � ���, ��� + <acronym>BIOS</acronym> ����������� ���������� ����� ���������, + ������������� ������� <acronym>APIC</acronym> + (<acronym>MADT</acronym>), � ������������� + <acronym>SCI</acronym>.</para> + + <para><quote>�����</quote> ���������� ����� ���� ��������� �� + ���������� ����������� ����� �������� ������ ������ � + <quote>acpi0</quote> ������� <command>vmstat</command> + <option>-i</option>. ���� ������� ������������� �����, ��� + ��������� ��� � �������, ��� <quote>�����</quote> ����������. + ���� ������� ���������������, ���������� ����� � + <acronym>DDB</acronym> + (<keycombo action="simul"><keycap>CTRL</keycap> + <keycap>ALT</keycap><keycap>ESC</keycap></keycombo> �� + �������) � ������ <option>show interrupts</option>.</para> + + <para>�������� �������� ������ ���������� �� �������� � ������������, + ��� ���������� ��������� <acronym>APIC</acronym> � ������� + ��������� <filename>loader.conf</filename> + <option>hint.apic.0.disabled=</option><quote>1</quote>.</para> + </sect3> + + <sect3> + <title>������</title> + + <para>������, ��������� � <acronym>ACPI</acronym>, ��������� �������� + ����� � ����� ���������� ��������� �����������. ������ ��� + ��� �������� ��������, ���������� � ������ (���� ��� ��������) + � ��������� �������. �������� ���������� �� ��������� + <option>options DDB</option> � ��������� ���������������� ������� + ��� ��������� ������� &man.dump.8;. �� ������ �������� ���������� + ���������� <acronym>DDB</acronym> � ������� <option>tr</option>. + ���� �� ����������� ������� �������, ���������, ��� ���������� + ��� ������� ���� (5) ����� ����� � ���� (5) ����� ������.</para> + + <para>����� ���������� ����������� ��������, ������������ � + ����������� <acronym>ACPI</acronym>. ���� ��� ��������, �� ������ + ����������� ���������� <acronym>ACPI</acronym>, ��������� + ��������� ��������� <option>debug.acpi.disable</option>. + ���������� � �������� ����������� &man.acpi.4; �� ���������.</para> + </sect3> + + <sect3> + <title>������� ���������� ����� ������������ ��� ���������� + ������</title> + + <para>��-������, ���������� ���������� � &man.loader.conf.5; �������� + <option>hw.acpi.disable_on_poweroff=</option><quote>0</quote>. + ��� ������������� ���������� ��������� ������� � + <acronym>ACPI</acronym> �� ����� ���������� ������. + � ��������� �������� ���� �������� ���������� ���������� + � <quote>1</quote> (�� ���������) �� ��� �� ��������. ������ ��� + ������ ��������, ���� ������� ���������� ���������� ����� + ������������ ��� ���������� �������.</para> + </sect3> + + <sect3> + <title>������ ��������</title> + + <para>���� �� ���������� ������ �������� � <acronym>ACPI</acronym> + (������ � ������� �������������, �������� � ������������ ���������, + � �.�.), ��������� �������� �������� � ������ ��������; + ������, ��������� �� ���� ������� ����� ���������� � ������������� + ������ ���������� <acronym>ACPI</acronym>, ������� ����� + ������������� ����� �� �� ����������. ������ ���������, � + ������������� � ������������ �����������, ������� �� ����� ��� + �������.</para> + </sect3> + </sect2> + + <sect2 id="ACPI-aslanddump"> + <title><acronym>ASL</acronym>, <command>acpidump</command>, � + <acronym>IASL</acronym></title> + + <para>�������� ����� ����������� ��������, ��������� � ��������������� + ������������ <acronym>BIOS</acronym> ������������� (��� ��������� + ����������!) ��������. ��� ������ ����������� ���������� + ���������� ��������� ����, �������� �����:</para> + + <screen>ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.FIGD._STA] (Node 0xc3f6d160), AE_NOT_FOUND</screen> + + <para>�������� �� ������ ��������� ��� �������� ����� ���������� + <acronym>BIOS</acronym> �� ��������� �������. ����������� ���������� + ��������� ���������, �� ���� ���������� ������ ��������, ����� ��� + �� ���������� ������ �������, �������� ���������� �������� � + <acronym>AML</acronym>. �������, ��������� ��� + <acronym>AML</acronym>, ������������� �� ��������� ������ �� + ����� <acronym>ASL</acronym>. <acronym>AML</acronym> ��������� + � �������, ��������� ��� <acronym>DSDT</acronym>. ��� ��������� + ����� <acronym>ASL</acronym>, ����������� &man.acpidump.8;. + �� ������ ������������ ��� ��������� <option>-t</option> + (���������� ���������� ���������� ������) � <option>-d</option> + (����������������� <acronym>AML</acronym> � <acronym>ASL</acronym>). + ���������� � ������� <link linkend="ACPI-submitdebug">�������� + ���������� ����������</link> �� �������� ����������.</para> + + <para>���������� ������ ��������, ������� �� ������ ��������, + ��� �������������� <acronym>ASL</acronym> ��� ������ ������. + �������������� ������ ����� ���� ���������������, �� ������ + ������ �� ��������� <acronym>ACPI</acronym> �������� ���������. + ��� �������������� <acronym>ASL</acronym>, ��������� ��������� + �������:</para> + + <screen>&prompt.root; <userinput>iasl your.asl</userinput></screen> + </sect2> + + <sect2 id="ACPI-fixasl"> + <title>����������� <acronym>ASL</acronym></title> + + <para>� ������� �����������, ���� ������ ������� � ���, ����� + ���������� ��������� <acronym>ACPI</acronym> ����������� ��� + ������ ������� ��� ������������� ������������. ������, �� ������ + ������ �� ��� ��� ������������� �������� ���� ��� ������, + ������� ����� ������ ���������� <acronym>BIOS</acronym>. + ������������� Microsoft (<filename>acpi.sys</filename> � + <filename>acpiec.sys</filename>) �� ���������� ��������� + �������� ���������� ����������, ������� ������ ���������� + <acronym>BIOS</acronym>, ����������� <acronym>ACPI</acronym> + ������ ��� Windows, ������� �� ���������� <acronym>ASL</acronym>. + �� �������� ���������� ����������� � ������������ ������������� + ���������, ����������� ��������������� Microsoft, � �������������� + ��, ����� &os; ����� �������� ��� ������������� ����������� + <acronym>ASL</acronym> ��������������. � �������� ��������� ���� + ��� ����������� ������������� ���������, �� ������ ��������� + <acronym>ASL</acronym> �������. ���� ����������� ����� ��������, + ���������� ��������� &man.diff.1; ����� ������ � ����� + <acronym>ASL</acronym>, ����� �� ����� ����������� �������� + ���� ��� ������������� ��������� <acronym>ACPI-CA</acronym>, + ����� ����������� ������� ������ �� �����������.</para> + + <para>��� ������ �������� ����� ������������� �������, �� ������ � + ������� �����������:</para> + + <sect3> + <title>OS �����������</title> + + <para>��������� <acronym>AML</acronym> ������������, ��� ��� ������� + �� ��������� ������ Windows. �� ������ ��������� &os;, ����� + ��� �������� ����� ������ ��� <acronym>OS</acronym> � ����������, + �������� �� ��� ��������� ��������. ������� ������ �������� + ������� ����� ������� ��� ��������� ���������� + <filename>/boot/loader.conf</filename> + <option>hw.acpi.osname</option>=<quote>Windows 2001</quote> + ��� � ������ �������� ��������, ��������� � + <acronym>ASL</acronym>.</para> + + <sect3> + <title>���������� �������� ��������</title> + + <para>��������� ������ �� ���������� �������� ����, ��� ���� + ������� ��������. ���� <acronym>ACPI-CA</acronym> �� ������������ + ��� ��������, � &os; ���������� �������� ����, ����������� �� + ���� ���������� ��������. �� ������ ����� �������� ����� ��������� + Return (�������) ���, ��� ���������, ���� ������, ��� �������� + ������ ���� ����������. ��� ��������������� �������������� + <acronym>ASL</acronym> �������� <command>iasl</command>, ����������� + ���� <option>-f</option>.</para> + </sect3> + + <sect3> + <title>���������� <acronym>AML</acronym> �� ���������</title> + + <para>����� ��������� <filename>your.asl</filename> ��� + ���������� ���������:</para> + + <screen>&prompt.root; <userinput>iasl your.asl</userinput></screen> + + <para>�� ������ �������� ���� <option>-f</option> ��� �������� + <acronym>AML</acronym> ���� ��� ������� ������ ����������. + �������, ��� ��������� ������ (��������, ������������� ��������� + Return), ������������� ��������� ���������������.</para> + + <para>���� <filename>DSDT.aml</filename> ������������ + <command>iasl</command> �� ���������. �� ������ ��������� ��� + ������ ��������� ����� <acronym>BIOS</acronym> (������� + �������� � ���������� ������) ����� �������������� + <filename role="directory">/boot/loader.conf</filename>:</para> + + <programlisting>acpi_dsdt_load="YES" +acpi_dsdt_name="/boot/DSDT.aml"</programlisting> + + <para>���������, ��� ����������� <filename>DSDT.aml</filename> � + ������� <filename role="directory">/boot</filename>.</para> + </sect3> + + <sect2 id="ACPI-debugoutput"> + <title>��������� ���������� ���������� + <acronym>ACPI</acronym></title> + + <para>����������� ������� �������� <acronym>ACPI</acronym> ����� + ������. ��� ��������� ��� ��������� ����� ���������, � ����� + ������� �������. ����������, ������� �� ������ ����������, + ����������� ��� <quote>����</quote>, � �������������� �� + ���������� <acronym>ACPI-CA</acronym> (ACPI_ALL_COMPONENTS) + � ��������� ������������ <acronym>ACPI</acronym> (ACPI_ALL_DRIVERS). + ������� ������� ����������� �� ACPI_LV_ERROR (������ �������� �� + �������) �� ACPI_LV_VERBOSE (��� ���������). ������� ������� + ������������ ����� ������� �����, ������� �������� ������������� + ��������� ���������� ����������, ����������� ���������. + �� ��������, ��� ������������� ��� ��������� ���������� ���������� + ���������������� �������, ������� ������� ���������� ���������� + ����� ����������� ����� �������. ������ ������ ��������� ����� + � ������� ����� ����� �� �������� ����������� &man.acpi.4;.</para> + + <para>����� ���������� ���������� �� ��������� �� �������. + ��� ��� ��������� �������� �������� <option>options + ACPI_DEBUG</option> � ����� ��������� ����, ���� + <acronym>ACPI</acronym> ������� � ����. �� ������ �������� �������� + <option>ACPI_DEBUG=1</option> � ���� + <filename>/etc/make.conf</filename> ��� ����������� ��������� + ����� ���������. ���� �� ����������� ������ + <filename>acpi.ko</filename> , ��� ����� ����������� + �������������:</para> + + <screen>&prompt.root; <userinput>cd /sys/modules/acpi/acpi + && make clean && make + ACPI_DEBUG=1</userinput></screen> + + <para>���������� <filename>acpi.ko</filename> � + <filename role="directory">/boot/kernel</filename> � �������� + �������������� ������� � ���� � <filename>loader.conf</filename>. + ���� ������ �������� ���������� ��������� ��� ���� ����������� + <acronym>ACPI-CA</acronym> � ���� ��������� ������������ + <acronym>ACPI</acronym> (<acronym>CPU</acronym>, + <acronym>LID</acronym> � �.�.). ����� ���������� ������ ��������� + �� �������, ���������� ������� �������.</para> + + <programlisting>debug.acpi.layer="ACPI_ALL_COMPONENTS ACPI_ALL_DRIVERS" +debug.acpi.level="ACPI_LV_ERROR"</programlisting> + + <para>���� ��������� ���������� ���������� � ���������� ������������� + ������� (������, ������������ � ��������������), �� ������ + �� �������� <filename>loader.conf</filename> � ������������ + ��� �������� ���� � ������ <command>sysctl</command> + ����� �������� � ���������� ������� � ������������� �������. + ����� ���������� <command>sysctl</command> �� ��, ��� � ����� + ���������� ��������� � <filename>loader.conf</filename>.</para> + </sect2> + + <sect2 id="ACPI-References"> + <title>������</title> + + <para>���������� ���������� � <acronym>ACPI</acronym> ����� ����� + �� ��������� �������:</para> + + <itemizedlist> + <listitem> + <para>������ �������� <acronym>ACPI</acronym> + <ulink url="mailto:acpi-jp@jp.freebsd.org"> + acpi-jp@jp.freebsd.org</ulink></para> + </listitem> + + <listitem> + <para>������ ������� �������� <acronym>ACPI</acronym> + <ulink url="http://home.jp.freebsd.org/mail-list/acpi-jp/"> + http://home.jp.freebsd.org/mail-list/acpi-jp/</ulink></para> + </listitem> + + <listitem> + <para>������������ <acronym>ACPI</acronym> 2.0 + <ulink url="http://acpi.info/spec.htm"> + http://acpi.info/spec.htm/</ulink></para> + </listitem> + + <listitem> + <para>�������� ����������� &os;: &man.acpi.4;, + &man.acpi.thermal.4;, &man.acpidump.8;, &man.iasl.8;, + &man.acpidb.8;</para> + </listitem> + + <listitem> + <para><ulink + url="http://www.cpqlinux.com/acpi-howto.html#fix_broken_dsdt"> + ������ �� ������� <acronym>DSDT</acronym></ulink>. + (���������� � �������� ������� Compaq, �� ������ �������.)</para> + </listitem> + </itemizedlist> </sect2> </sect1> </chapter>