Fix some style issues in previous commit.

Pointed out by:	blackend
Pointy hat to:	delphij
This commit is contained in:
Xin LI 2006-09-30 03:27:38 +00:00
parent 9b9067acbe
commit bc75b1aa04
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28734

View file

@ -685,15 +685,15 @@ EndSection</programlisting>
<indexterm><primary>widescreen flatpanel configuration</primary></indexterm>
<para>This section assumes a bit of advanced configuration knowledge.
<para>This section assumes a bit of advanced configuration knowledge.
If attempts to use the standard configuration tools above have not
resulted in a working configuration, there is information enough
in the log files to be of use in getting the setup working.
Use of a text editor will be necessary.</para>
in the log files to be of use in getting the setup working.
Use of a text editor will be necessary.</para>
<para>Current Widescreen (WSXGA, WSXGA+, WUXGA, WXGA, WXGA+, et.al.)
formats support 16:10 and 10:9 formats or aspect ratios that can
be problematic. Examples of some common screen resolutions for
<para>Current widescreen (WSXGA, WSXGA+, WUXGA, WXGA, WXGA+, et.al.)
formats support 16:10 and 10:9 formats or aspect ratios that can
be problematic. Examples of some common screen resolutions for
16:10 aspect ratios are:</para>
<itemizedlist>
@ -704,8 +704,9 @@ EndSection</programlisting>
<listitem><para>1280x800</para></listitem>
</itemizedlist>
<para>At some point, it will be as easy as adding one of these
resolutions as a possible Mode in the Section "Screen" as such:</para>
<para>At some point, it will be as easy as adding one of these
resolutions as a possible <literal>Mode</literal> in the <literal>Section
"Screen"</literal> as such:</para>
<programlisting>Section "Screen"
Identifier "Screen0"
@ -719,16 +720,16 @@ SubSection "Display"
EndSubSection
EndSection</programlisting>
<para><application>&xorg;</application> is smart enough to pull the
<para><application>&xorg;</application> is smart enough to pull the
resolution information from the widescreen via I2C/DDC information
so it knows what the monitor can handle as far as frequencies
and resolutions.</para>
<para>If those ModeLines do not exist in the drivers,
<para>If those <literal>ModeLines</literal> do not exist in the drivers,
one might need to give <application>&xorg;</application> a little hint.
Using <filename>/var/log/Xorg.0.log</filename> one can extract
enough information to manually create a ModeLine that will work.
Simply look for information resembling this:</para>
Using <filename>/var/log/Xorg.0.log</filename> one can extract
enough information to manually create a <literal>ModeLine</literal> that
will work. Simply look for information resembling this:</para>
<programlisting>(II) MGA(0): Supported additional Video Mode:
(II) MGA(0): clock: 146.2 MHz Image Size: 433 x 271 mm
@ -736,25 +737,25 @@ EndSection</programlisting>
(II) MGA(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0
(II) MGA(0): Ranges: V min: 48 V max: 85 Hz, H min: 30 H max: 94 kHz, PixClock max 170 MHz</programlisting>
<para>This information is called EDID information. Creating a
ModeLine from this is just a matter of putting the numbers in the
correct order:</para>
<para>This information is called EDID information. Creating a
<literal>ModeLine</literal> from this is just a matter of putting the
numbers in the correct order:</para>
<programlisting> ModeLine &lt;name&gt; &lt;clock&gt; &lt;4 horiz. timings&gt; &lt;4 vert. timings&gt;</programlisting>
<programlisting>ModeLine &lt;name&gt; &lt;clock&gt; &lt;4 horiz. timings&gt; &lt;4 vert. timings&gt;</programlisting>
<para>So that the ModeLine in Section "Monitor" for this example
would look like this:</para>
<para>So that the <literal>ModeLine</literal> in <literal>Section "Monitor"</literal>
for this example would look like this:</para>
<programlisting>Section "Monitor"
Identifier "Monitor1"
VendorName "Bigname"
ModelName "BestModel"
ModeLine "1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089
ModelName "BestModel"
ModeLine "1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089
Option "DPMS"
EndSection</programlisting>
<para>Now having completed these simple editing steps, X should start
on your new widescreen monitor.
on your new widescreen monitor.</para>
</sect3>
</sect2>
</sect1>