diff options
author | Xin LI <delphij@FreeBSD.org> | 2006-10-08 16:28:06 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2006-10-08 16:28:06 +0000 |
commit | dbc4960a53d107d5e4a70fe468f1e4bce766331a (patch) | |
tree | f2d2747234c691b1f15e525ccc32a885146dba2b | |
parent | b5a5adebc3a026131ac07842e01bc033b840693e (diff) |
Notes
-rw-r--r-- | zh_CN.GB2312/books/handbook/x11/chapter.sgml | 76 |
1 files changed, 74 insertions, 2 deletions
diff --git a/zh_CN.GB2312/books/handbook/x11/chapter.sgml b/zh_CN.GB2312/books/handbook/x11/chapter.sgml index 317bace96e..d2bc3ae454 100644 --- a/zh_CN.GB2312/books/handbook/x11/chapter.sgml +++ b/zh_CN.GB2312/books/handbook/x11/chapter.sgml @@ -2,7 +2,7 @@ The FreeBSD Documentation Project The FreeBSD Simplified Chinese Project - Original Revision: 1.173 + Original Revision: 1.175 $FreeBSD$ --> @@ -593,6 +593,78 @@ EndSection</programlisting> <literal>Driver "i810"</literal> 一行后面加入下面这行:</para> <programlisting>Option "NoDDC"</programlisting> </sect3> + + <sect3> + <title>添加宽屏平板显示器</title> + + <indexterm><primary>widescreen flatpanel configuration</primary></indexterm> + + <para>这一节假定您了解一些关于高级配置的知识。 + 如果使用前面的标准配置工具不能产生可用的配置, + 则在日志文件中提供的信息应该足以修正配置使其正确工作。 + 如果需要的话, 您应使用一个文本编辑器来完成这项工作。</para> + + <para>目前的宽屏 (WSXGA、 WSXGA+、 WUXGA、 WXGA、 WXGA+, 等等) + 支持 16:10 和 10:9 或一些支持可能有问题的显示比例。 常见的一些 + 16:10 比例的分辨率包括:</para> + + <itemizedlist> + <listitem><para>2560x1600</para></listitem> + <listitem><para>1920x1200</para></listitem> + <listitem><para>1680x1050</para></listitem> + <listitem><para>1440x900</para></listitem> + <listitem><para>1280x800</para></listitem> + </itemizedlist> + + <para>未来, 将可以很容易地把这些分辨率作为 <literal>Section + "Screen"</literal> 中的 <literal>Mode</literal>, + 类似下面这样:</para> + + <programlisting>Section "Screen" +Identifier "Screen0" +Device "Card0" +Monitor "Monitor0" +DefaultDepth 24 +SubSection "Display" + Viewport 0 0 + Depth 24 + Modes "1680x1050" +EndSubSection +EndSection</programlisting> + + <para><application>&xorg;</application> 能够自动地通过 I2C/DDC 信息来自动获取宽屏显示器的分辨率信息, + 并处理显示器支持的频率和分辨率。</para> + + <para>如果驱动程序没有对应的 <literal>ModeLines</literal>, + 就需要给 <application>&xorg;</application> 一些提示了。 + 使用 <filename>/var/log/Xorg.0.log</filename> 能够提取足够的信息, + 就可以写一个可用的 <literal>ModeLine</literal> 了。 + 这类信息如下所示:</para> + + <programlisting>(II) MGA(0): Supported additional Video Mode: +(II) MGA(0): clock: 146.2 MHz Image Size: 433 x 271 mm +(II) MGA(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0 +(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>这些信息称做 EDID 信息。 从中建立 + <literal>ModeLine</literal> 只是把这些数据重新排列顺序而已:</para> + + <programlisting>ModeLine <name> <clock> <4 horiz. timings> <4 vert. timings></programlisting> + + <para>如此, 本例中的 <literal>Section "Monitor"</literal> 中的 <literal>ModeLine</literal> + 应类似下面的形式:</para> + + <programlisting>Section "Monitor" +Identifier "Monitor1" +VendorName "Bigname" +ModelName "BestModel" +ModeLine "1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089 +Option "DPMS" +EndSection</programlisting> + + <para>经过简单的编辑步骤之后, X 就可以在您的宽屏显示器上启动了。</para> + </sect3> </sect2> </sect1> @@ -602,7 +674,7 @@ EndSection</programlisting> <author> <firstname>Murray</firstname> <surname>Stokely</surname> - <contrib>Contributed by </contrib> + <contrib>供稿</contrib> </author> </authorgroup> </sect1info> |