1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY x7drivers-download-http "http://xorg.freedesktop.org/releases/individual/driver/">
|
---|
8 | <!ENTITY x7drivers-download-ftp "ftp://ftp.x.org/pub/individual/driver/">
|
---|
9 | <!ENTITY x7drivers-wget "&files-anduin;/xorg/driver-&xorg7-release;.wget">
|
---|
10 | <!ENTITY x7drivers-md5sum "&files-anduin;/xorg/driver-&xorg7-release;.md5">
|
---|
11 | <!ENTITY x7drivers-size "18.1 MB">
|
---|
12 | <!ENTITY x7drivers-buildsize "71.6 MB">
|
---|
13 | <!ENTITY x7drivers-time "3.9 SBU">
|
---|
14 |
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="xorg7-driver" xreflabel="Xorg Drivers">
|
---|
18 | <?dbhtml filename="x7driver.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>Xorg Drivers</title>
|
---|
26 |
|
---|
27 | <indexterm zone="xorg7-driver">
|
---|
28 | <primary sortas="a-xorg7-driver">Xorg Drivers</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to Xorg Drivers</title>
|
---|
33 |
|
---|
34 | <para>The <application>Xorg</application> drivers provide the means
|
---|
35 | for the xserver to take advantage of installed hardware.</para>
|
---|
36 |
|
---|
37 | &lfs70_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&x7drivers-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&x7drivers-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: <ulink url="&x7drivers-md5sum;"/></para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &x7drivers-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &x7drivers-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &x7drivers-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
62 | <itemizedlist spacing="compact">
|
---|
63 | <listitem>
|
---|
64 | <para>Required download list: <ulink url="&x7drivers-wget;"/></para>
|
---|
65 | </listitem>
|
---|
66 | </itemizedlist>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect3">Xorg Drivers Dependencies</bridgehead>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
71 | <para role="required"><xref linkend="xorg7-server"/></para>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
74 | <para role="optional"><xref linkend="mesalib"/></para>
|
---|
75 |
|
---|
76 | <para condition="html" role="usernotes">User Notes:
|
---|
77 | <ulink url='&blfs-wiki;/Xorg7Drivers'/></para>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2>
|
---|
82 | <title>Downloading Xorg Drivers</title>
|
---|
83 |
|
---|
84 | <para>To download the needed files using <application>wget</application>,
|
---|
85 | use the following commands:</para>
|
---|
86 |
|
---|
87 | <screen><userinput>mkdir driver &&
|
---|
88 | cd driver &&
|
---|
89 | grep -v '^#' ../driver-&xorg7-release;.wget | wget -i- -c \
|
---|
90 | -B http://xorg.freedesktop.org/releases/individual/driver/ &&
|
---|
91 | md5sum -c ../driver-&xorg7-release;.md5</userinput></screen>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of Xorg Drivers</title>
|
---|
97 |
|
---|
98 | <warning><para>It is very important not to build display drivers that
|
---|
99 | cannot be used with your hardware. For instance, do not build Sun drivers
|
---|
100 | for an x86 PC as the Sun drivers will expect to see SPARC symbols
|
---|
101 | exported from the kernel. Failure to follow this warning will result
|
---|
102 | in a display lockup, which requires a hard reboot, when configuring
|
---|
103 | <application>Xorg</application> for the first time. For this reason,
|
---|
104 | these drivers have been commented out in the wget file.</para></warning>
|
---|
105 |
|
---|
106 | <para>Install the drivers by running the following commands for each
|
---|
107 | package:</para>
|
---|
108 |
|
---|
109 | <screen><userinput>case $(basename "$PWD") in
|
---|
110 | xf86-input-evdev-[0-9]* | xf86-video-ati-[0-9]* | \
|
---|
111 | xf86-video-fbdev-[0-9]* | xf86-video-glint-[0-9]* | \
|
---|
112 | xf86-video-newport-[0-9]* )
|
---|
113 | sed -i -e "s/\xc3\xb8/\\\\[\/o]/" \
|
---|
114 | -e "s/\xc3\xa4/\\\\[:a]/" \
|
---|
115 | -e "s/\xc3\x9c/\\\\[:U]/" man/*.man
|
---|
116 | ;;
|
---|
117 | esac &&
|
---|
118 |
|
---|
119 | case $(basename "$PWD") in
|
---|
120 | xf86-video-s3-[0-9]* | xf86-video-xgi-[0-9]* )
|
---|
121 | for file in `grep -Rl "xf86Version.h" *`
|
---|
122 | do
|
---|
123 | sed 's@xf86Version.h@xorgVersion.h@g' -i "$file"
|
---|
124 | done
|
---|
125 | ;;
|
---|
126 | esac &&
|
---|
127 |
|
---|
128 | ./configure $XORG_CONFIG \
|
---|
129 | --with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules &&
|
---|
130 | make</userinput></screen>
|
---|
131 |
|
---|
132 | <para>These packages do not provide test suites.</para>
|
---|
133 |
|
---|
134 | <para>Now as the <systemitem class="username">root</systemitem>
|
---|
135 | user:</para>
|
---|
136 |
|
---|
137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | <sect2 role="commands">
|
---|
142 | <title>Command Explanations</title>
|
---|
143 |
|
---|
144 | <para><command>sed -i ... man/*.man</command>: A few packages install
|
---|
145 | man pages in UTF-8 encoding, and they will not display correctly
|
---|
146 | using <application>Man-DB</application>. This command converts the
|
---|
147 | offending characters to ones that <command>man</command> can properly
|
---|
148 | display.</para>
|
---|
149 |
|
---|
150 | <para><parameter>--with-xorg-module-dir=...</parameter>: This switch
|
---|
151 | ensures that the drivers are installed into the correct directory.</para>
|
---|
152 |
|
---|
153 | </sect2>
|
---|
154 |
|
---|
155 | <sect2 role="content">
|
---|
156 | <title>Contents</title>
|
---|
157 |
|
---|
158 | <segmentedlist>
|
---|
159 | <segtitle>Installed Programs</segtitle>
|
---|
160 | <segtitle>Installed Libraries</segtitle>
|
---|
161 | <segtitle>Installed Directories</segtitle>
|
---|
162 |
|
---|
163 | <seglistitem>
|
---|
164 | <seg>None</seg>
|
---|
165 | <seg>None</seg>
|
---|
166 | <seg><envar>$XORG_PREFIX</envar>/lib/X11/modules/{drivers,input}</seg>
|
---|
167 | </seglistitem>
|
---|
168 | </segmentedlist>
|
---|
169 |
|
---|
170 | </sect2>
|
---|
171 |
|
---|
172 | </sect1>
|
---|