2006-05-05 15:01:37 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY x7drivers-download-http "http://xorg.freedesktop.org/releases/individual/driver/">
|
2006-06-01 12:49:57 +08:00
|
|
|
<!ENTITY x7drivers-download-ftp " ">
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY x7drivers-md5sum "&sources-anduin-http;/x/files/md5sums">
|
2006-05-25 14:52:00 +08:00
|
|
|
<!ENTITY x7drivers-size "18.7 MB">
|
|
|
|
<!ENTITY x7drivers-buildsize "60.3 MB">
|
|
|
|
<!ENTITY x7drivers-time "6.9 SBU">
|
2006-05-05 15:01:37 +08:00
|
|
|
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="xorg7-driver" xreflabel="Xorg Drivers">
|
|
|
|
<?dbhtml filename="x7driver.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
2007-01-18 20:14:27 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2006-05-05 15:01:37 +08:00
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Xorg Drivers</title>
|
|
|
|
|
|
|
|
<indexterm zone="xorg7-driver">
|
|
|
|
<primary sortas="a-xorg7-driver">Xorg Drivers</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2006-08-15 21:20:49 +08:00
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Xorg Drivers</title>
|
|
|
|
|
|
|
|
<para>The <application>Xorg</application> drivers provide the means
|
|
|
|
for the xserver to take advantage of installed hardware.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&x7drivers-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&x7drivers-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: <ulink url="&x7drivers-md5sum;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &x7drivers-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &x7drivers-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &x7drivers-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Xorg Drivers Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required"><xref linkend="xorg7-server"/></para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional"><xref linkend="mesalib"/></para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url='&blfs-wiki;/Xorg7Drivers'/></para>
|
|
|
|
|
|
|
|
</sect2>
|
2006-05-15 13:51:34 +08:00
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Downloading Xorg Drivers</title>
|
|
|
|
|
|
|
|
<para>To download the needed files using <application>wget</application>,
|
|
|
|
use the following commands:</para>
|
|
|
|
|
2007-01-17 20:57:47 +08:00
|
|
|
<screen><userinput>wget &sources-anduin-ftp;/x/wget/driver-7.1.wget &&
|
2006-05-05 15:01:37 +08:00
|
|
|
mkdir driver &&
|
|
|
|
cd driver &&
|
2007-01-18 00:37:31 +08:00
|
|
|
wget -B http://xorg.freedesktop.org/releases/individual/driver/ \
|
|
|
|
-i ../driver-7.1.wget</userinput></screen>
|
2006-05-05 15:01:37 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Xorg Drivers</title>
|
|
|
|
|
2007-01-18 20:59:10 +08:00
|
|
|
<para>The <application>xf86-input-evdev</application> package installs
|
|
|
|
a man page with character encoding not displayable using the
|
|
|
|
<application>Man-db</application> package. Issue the following command
|
|
|
|
before building the package to change the offending encoding to
|
|
|
|
characters <command>man</command> can properly display.</para>
|
|
|
|
|
|
|
|
<screen><userinput>sed -i "s/\xc3\xb8/\\\\[\/o]/" man/evdev.man</userinput></screen>
|
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
<warning><para>It is very important not to build display drivers that
|
|
|
|
cannot be used with your hardware. For instance, do not build Sun drivers
|
|
|
|
for an x86 PC as the Sun drivers will expect to see SPARC symbols
|
|
|
|
exported from the kernel. Failure to follow this warning will result
|
|
|
|
in a display lockup, which requires a hard reboot, when configuring
|
|
|
|
<application>Xorg</application> for the first time.</para></warning>
|
|
|
|
|
|
|
|
<para>Install the drivers by running the following commands for each
|
|
|
|
package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure $XORG_CONFIG \
|
|
|
|
--with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
2006-05-18 12:10:49 +08:00
|
|
|
<para>These packages do not provide test suites.</para>
|
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
<para>Now as the <systemitem class="username">root</systemitem>
|
|
|
|
user:</para>
|
|
|
|
|
2006-08-15 21:20:49 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2006-05-05 15:01:37 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para><parameter>--with-xorg-module-dir=...</parameter>: This switch
|
|
|
|
ensures that the drivers are installed into the correct directory.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|