[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2a05c87] | 7 | <!ENTITY pciutils-download-http "http://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.xz">
|
---|
| 8 | <!ENTITY pciutils-download-ftp "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.xz">
|
---|
[857e2fb] | 9 | <!ENTITY pciutils-md5sum "fe7806d075994db0e28894e42668a02a">
|
---|
| 10 | <!ENTITY pciutils-size "276 KB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "3.0 MB">
|
---|
| 12 | <!ENTITY pciutils-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[4890200] | 15 | <sect1 id="pciutils" xreflabel="pciutils-&pciutils-version;">
|
---|
[a9a6837e] | 16 | <?dbhtml filename="pciutils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[4890200] | 23 | <title>pciutils-&pciutils-version;</title>
|
---|
[a9a6837e] | 24 |
|
---|
| 25 | <indexterm zone="pciutils">
|
---|
[4890200] | 26 | <primary sortas="a-pciutils">pciutils</primary>
|
---|
[a9a6837e] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[564851b] | 30 | <title>Introduction to PCI Utils</title>
|
---|
[a9a6837e] | 31 |
|
---|
[564851b] | 32 | <para>
|
---|
| 33 | The <application>PCI Utils</application> package contains
|
---|
| 34 | a set of programs for listing PCI devices, inspecting
|
---|
| 35 | their status and setting their configuration registers.
|
---|
| 36 | </para>
|
---|
[a9a6837e] | 37 |
|
---|
[5f26d66f] | 38 | &lfs74_checked;
|
---|
[fd91fea] | 39 |
|
---|
[a9a6837e] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[564851b] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&pciutils-download-http;"/>
|
---|
| 45 | </para>
|
---|
[2a05c87] | 46 | </listitem>
|
---|
[a9a6837e] | 47 | <listitem>
|
---|
[564851b] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&pciutils-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[a9a6837e] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[564851b] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &pciutils-md5sum;
|
---|
| 55 | </para>
|
---|
[a9a6837e] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[564851b] | 58 | <para>
|
---|
| 59 | Download size: &pciutils-size;
|
---|
| 60 | </para>
|
---|
[a9a6837e] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[564851b] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &pciutils-buildsize;
|
---|
| 65 | </para>
|
---|
[a9a6837e] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[564851b] | 68 | <para>
|
---|
| 69 | Estimated build time: &pciutils-time;
|
---|
| 70 | </para>
|
---|
[a9a6837e] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[1039de3] | 74 | <para condition="html" role="usernotes">User Notes:
|
---|
[564851b] | 75 | <ulink url="&blfs-wiki;/pciutils"/>
|
---|
| 76 | </para>
|
---|
[2969aa8] | 77 | </sect2>
|
---|
| 78 |
|
---|
[143ed74] | 79 | <sect2 role="installation">
|
---|
[564851b] | 80 | <title>Installation of PCI Utils</title>
|
---|
[143ed74] | 81 |
|
---|
[c503fad7] | 82 | <para>
|
---|
[564851b] | 83 | Install <application>PCI Utils</application> by
|
---|
[c503fad7] | 84 | running the following commands:
|
---|
| 85 | </para>
|
---|
[a9a6837e] | 86 |
|
---|
[5f26d66f] | 87 | <screen><userinput>make PREFIX=/usr \
|
---|
[564851b] | 88 | SHAREDIR=/usr/share/misc \
|
---|
[857e2fb] | 89 | SHARED=yes</userinput></screen>
|
---|
[a9a6837e] | 90 |
|
---|
[c503fad7] | 91 | <para>
|
---|
| 92 | This package does not come with a test suite.
|
---|
| 93 | </para>
|
---|
[f6f06932] | 94 |
|
---|
[c503fad7] | 95 | <para>
|
---|
| 96 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 97 | </para>
|
---|
[a9a6837e] | 98 |
|
---|
[5f26d66f] | 99 | <screen role="root"><userinput>
|
---|
| 100 | make PREFIX=/usr \
|
---|
[564851b] | 101 | SHAREDIR=/usr/share/misc \
|
---|
[5f26d66f] | 102 | SHARED=yes \
|
---|
| 103 | install install-lib &&
|
---|
| 104 |
|
---|
[857e2fb] | 105 | chmod -v 755 /usr/lib/libpci.so</userinput></screen>
|
---|
[fd91fea] | 106 |
|
---|
[a9a6837e] | 107 | </sect2>
|
---|
| 108 |
|
---|
[0829916] | 109 | <sect2 role="commands">
|
---|
| 110 | <title>Command Explanations</title>
|
---|
| 111 |
|
---|
[c503fad7] | 112 | <para>
|
---|
| 113 | <parameter>SHARED=yes</parameter>: This parameter enables building of
|
---|
| 114 | shared library instead of static one.
|
---|
| 115 | </para>
|
---|
[2a05c87] | 116 |
|
---|
[c503fad7] | 117 | <para>
|
---|
[857e2fb] | 118 | <option>ZLIB=no</option>: This option prevents compression of
|
---|
[564851b] | 119 | the <filename>pci.ids</filename> file.
|
---|
[c503fad7] | 120 | </para>
|
---|
[2a05c87] | 121 |
|
---|
[0829916] | 122 | </sect2>
|
---|
| 123 |
|
---|
[c0913c4] | 124 | <sect2 role="configuration">
|
---|
[564851b] | 125 | <title>Configuring PCI Utils</title>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | The <filename>pci.ids</filename> data file is constantly being
|
---|
| 129 | updated. To get a current version of this file, run
|
---|
| 130 | <command>update-pciids</command> as the <systemitem
|
---|
| 131 | class="username">root</systemitem> user. This program requires the
|
---|
| 132 | <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
|
---|
| 133 | <xref linkend="lynx"/> or <xref linkend="wget"/> which are used to
|
---|
| 134 | download the most current file, and then replace the existing file in
|
---|
| 135 | <filename class="directory">/usr/share/misc</filename>.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
| 139 | You may wish to add an entry to
|
---|
| 140 | <systemitem class="username">root</systemitem>'s (or any other user who has
|
---|
| 141 | write privilege to <filename class="directory">/usr/share/misc</filename>)
|
---|
| 142 | crontab to automatically update the <filename>pci.ids</filename> file
|
---|
| 143 | periodically.
|
---|
| 144 | </para>
|
---|
[1ed12e2d] | 145 |
|
---|
[c0913c4] | 146 | </sect2>
|
---|
| 147 |
|
---|
[a9a6837e] | 148 | <sect2 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
[1ed12e2d] | 153 | <segtitle>Installed Library</segtitle>
|
---|
| 154 | <segtitle>Installed Directory</segtitle>
|
---|
[a9a6837e] | 155 |
|
---|
| 156 | <seglistitem>
|
---|
[564851b] | 157 | <seg>
|
---|
| 158 | lspci, setpci and update-pciids
|
---|
| 159 | </seg>
|
---|
| 160 | <seg>
|
---|
| 161 | libpci.so
|
---|
| 162 | </seg>
|
---|
| 163 | <seg>
|
---|
| 164 | /usr/include/pci
|
---|
| 165 | </seg>
|
---|
[a9a6837e] | 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="lspci">
|
---|
| 175 | <term><command>lspci</command></term>
|
---|
| 176 | <listitem>
|
---|
[564851b] | 177 | <para>
|
---|
| 178 | is an utility for displaying information about all PCI buses
|
---|
| 179 | in the system and all devices connected to them.
|
---|
| 180 | </para>
|
---|
[a9a6837e] | 181 | <indexterm zone="pciutils lspci">
|
---|
| 182 | <primary sortas="b-lspci">lspci</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="setpci">
|
---|
| 188 | <term><command>setpci</command></term>
|
---|
| 189 | <listitem>
|
---|
[564851b] | 190 | <para>
|
---|
| 191 | is an utility for querying and configuring PCI devices.
|
---|
| 192 | </para>
|
---|
[a9a6837e] | 193 | <indexterm zone="pciutils setpci">
|
---|
| 194 | <primary sortas="b-setpci">setpci</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="update-pciids">
|
---|
| 200 | <term><command>update-pciids</command></term>
|
---|
| 201 | <listitem>
|
---|
[564851b] | 202 | <para>
|
---|
| 203 | fetches the current version of the PCI ID list. Requires
|
---|
| 204 | <xref linkend="curl"/>, <xref linkend="lynx"/> or
|
---|
| 205 | <xref linkend="wget"/>.
|
---|
| 206 | </para>
|
---|
[a9a6837e] | 207 | <indexterm zone="pciutils update-pciids">
|
---|
| 208 | <primary sortas="b-update-pciids">update-pciids</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
[38ec4bf] | 213 | <varlistentry id="libpci">
|
---|
[4890200] | 214 | <term><filename class="libraryfile">libpci.so</filename></term>
|
---|
[38ec4bf] | 215 | <listitem>
|
---|
[564851b] | 216 | <para>
|
---|
| 217 | is library that allows applications to access the PCI
|
---|
| 218 | subsystem.
|
---|
| 219 | </para>
|
---|
[38ec4bf] | 220 | <indexterm zone="pciutils libpci">
|
---|
[2a05c87] | 221 | <primary sortas="c-libpci">libpci.so</primary>
|
---|
[38ec4bf] | 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
[a9a6837e] | 226 | </variablelist>
|
---|
| 227 |
|
---|
| 228 | </sect2>
|
---|
[f45b1953] | 229 |
|
---|
| 230 | </sect1>
|
---|