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 pciutils-download-http "http://www.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
|
---|
8 | <!ENTITY pciutils-download-ftp "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
|
---|
9 | <!ENTITY pciutils-md5sum "b38142c61c52f42d19540a0fcb11050a">
|
---|
10 | <!ENTITY pciutils-size "271 KB">
|
---|
11 | <!ENTITY pciutils-buildsize "3 MB">
|
---|
12 | <!ENTITY pciutils-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="pciutils" xreflabel="PCI Utilities-&pciutils-version;">
|
---|
16 | <?dbhtml filename="pciutils.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>PCI Utilities-&pciutils-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="pciutils">
|
---|
26 | <primary sortas="a-PCI-Utilities">PCI Utilities</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to PCI Utilities</title>
|
---|
31 |
|
---|
32 | <para>The <application>PCI Utilities</application> package
|
---|
33 | is a set of programs for listing PCI devices, inspecting
|
---|
34 | their status and setting their configuration registers.</para>
|
---|
35 |
|
---|
36 | &lfs65_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&pciutils-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &pciutils-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &pciutils-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &pciutils-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &pciutils-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <para condition="html" role="usernotes">User Notes:
|
---|
61 | <ulink url="&blfs-wiki;/pciutils"/></para>
|
---|
62 |
|
---|
63 | </sect2>
|
---|
64 |
|
---|
65 | <sect2 role="installation">
|
---|
66 | <title>Installation of PCI Utilities</title>
|
---|
67 |
|
---|
68 | <para>Install <application>PCI Utilities</application> by
|
---|
69 | running the following commands:</para>
|
---|
70 |
|
---|
71 | <screen><userinput>make PREFIX=/usr ZLIB=no</userinput></screen>
|
---|
72 |
|
---|
73 | <para>This package does not come with a test suite.</para>
|
---|
74 |
|
---|
75 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
76 |
|
---|
77 | <screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
|
---|
78 |
|
---|
79 | <para>Some packages require the PCI static library. To install the library
|
---|
80 | and headers, issue the following command as the
|
---|
81 | <systemitem class="username">root</systemitem> user:</para>
|
---|
82 |
|
---|
83 | <screen role="root"><userinput>make PREFIX=/usr install-lib</userinput></screen>
|
---|
84 |
|
---|
85 | <!-- <screen role="root"><userinput>install -v -m 755 -d /usr/include/pci &&
|
---|
86 | install -v -m 644 lib/libpci.a /usr/lib &&
|
---|
87 | install -v -m 644 lib/*.h /usr/include/pci</userinput></screen> -->
|
---|
88 |
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2 role="commands">
|
---|
92 | <title>Command Explanations</title>
|
---|
93 |
|
---|
94 | <para><parameter>ZLIB=no</parameter>: This parameter prevents compression of
|
---|
95 | the <filename>pci.ids</filename> file which is needed by other applications
|
---|
96 | such as <xref linkend="hal"/>.</para>
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="configuration">
|
---|
100 | <title>Configuring PCI Utilities</title>
|
---|
101 |
|
---|
102 | <para>The <filename>pci.ids</filename> data file is constantly being
|
---|
103 | updated. To get a current version of this file, run
|
---|
104 | <command>update-pciids</command> as the <systemitem
|
---|
105 | class="username">root</systemitem> user. This program requires the
|
---|
106 | <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
|
---|
107 | <xref linkend="wget"/> or <xref linkend="lynx"/> which are used to
|
---|
108 | download the most current file, and then replace the existing file in
|
---|
109 | <filename class='directory'>/usr/share</filename>.</para>
|
---|
110 |
|
---|
111 | <para>You may wish to add an entry to
|
---|
112 | <systemitem class="username">root</systemitem>'s (or any other user who
|
---|
113 | has write privilege to <filename class='directory'>/usr/share</filename>)
|
---|
114 | crontab to automatically update the <filename>pci.ids</filename> file
|
---|
115 | periodically.</para>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="content">
|
---|
120 | <title>Contents</title>
|
---|
121 |
|
---|
122 | <segmentedlist>
|
---|
123 | <segtitle>Installed Programs</segtitle>
|
---|
124 | <segtitle>Installed Library</segtitle>
|
---|
125 | <segtitle>Installed Directory</segtitle>
|
---|
126 |
|
---|
127 | <seglistitem>
|
---|
128 | <seg>lspci, setpci and update-pciids</seg>
|
---|
129 | <seg>libpci.a</seg>
|
---|
130 | <seg>/usr/include/pci</seg>
|
---|
131 | </seglistitem>
|
---|
132 | </segmentedlist>
|
---|
133 |
|
---|
134 | <variablelist>
|
---|
135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
136 | <?dbfo list-presentation="list"?>
|
---|
137 | <?dbhtml list-presentation="table"?>
|
---|
138 |
|
---|
139 | <varlistentry id="lspci">
|
---|
140 | <term><command>lspci</command></term>
|
---|
141 | <listitem>
|
---|
142 | <para>is a utility for displaying information about all PCI buses in the
|
---|
143 | system and all devices connected to them.</para>
|
---|
144 | <indexterm zone="pciutils lspci">
|
---|
145 | <primary sortas="b-lspci">lspci</primary>
|
---|
146 | </indexterm>
|
---|
147 | </listitem>
|
---|
148 | </varlistentry>
|
---|
149 |
|
---|
150 | <varlistentry id="setpci">
|
---|
151 | <term><command>setpci</command></term>
|
---|
152 | <listitem>
|
---|
153 | <para>is a utility for querying and configuring PCI devices.</para>
|
---|
154 | <indexterm zone="pciutils setpci">
|
---|
155 | <primary sortas="b-setpci">setpci</primary>
|
---|
156 | </indexterm>
|
---|
157 | </listitem>
|
---|
158 | </varlistentry>
|
---|
159 |
|
---|
160 | <varlistentry id="update-pciids">
|
---|
161 | <term><command>update-pciids</command></term>
|
---|
162 | <listitem>
|
---|
163 | <para>fetches the current version of the PCI ID list. Requires
|
---|
164 | <xref linkend="curl"/>, <xref linkend="wget"/> or
|
---|
165 | <xref linkend="lynx"/>.</para>
|
---|
166 | <indexterm zone="pciutils update-pciids">
|
---|
167 | <primary sortas="b-update-pciids">update-pciids</primary>
|
---|
168 | </indexterm>
|
---|
169 | </listitem>
|
---|
170 | </varlistentry>
|
---|
171 |
|
---|
172 | <varlistentry id="libpci">
|
---|
173 | <term><filename role='library'>libpci.a</filename></term>
|
---|
174 | <listitem>
|
---|
175 | <para> is the static library that allows applications to access the PCI
|
---|
176 | subsystem.</para>
|
---|
177 | <indexterm zone="pciutils libpci">
|
---|
178 | <primary sortas="c-libpci">libpci.a</primary>
|
---|
179 | </indexterm>
|
---|
180 | </listitem>
|
---|
181 | </varlistentry>
|
---|
182 |
|
---|
183 | </variablelist>
|
---|
184 |
|
---|
185 | </sect2>
|
---|
186 |
|
---|
187 | </sect1>
|
---|