[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">
|
---|
[4890200] | 9 | <!ENTITY pciutils-md5sum "adb27c2d6ca54405115c532ae4c348e6">
|
---|
| 10 | <!ENTITY pciutils-size "272 KB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "3.7 MB">
|
---|
[564851b] | 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 |
|
---|
[405c8dc] | 38 | &lfs73_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 |
|
---|
[564851b] | 87 | <screen><userinput>make PREFIX=/usr \
|
---|
| 88 | SHAREDIR=/usr/share/misc \
|
---|
| 89 | MANDIR=/usr/share/man \
|
---|
| 90 | SHARED=yes ZLIB=no all</userinput></screen>
|
---|
[a9a6837e] | 91 |
|
---|
[c503fad7] | 92 | <para>
|
---|
| 93 | This package does not come with a test suite.
|
---|
| 94 | </para>
|
---|
[f6f06932] | 95 |
|
---|
[c503fad7] | 96 | <para>
|
---|
| 97 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 98 | </para>
|
---|
[a9a6837e] | 99 |
|
---|
[564851b] | 100 | <screen role="root"><userinput>make PREFIX=/usr \
|
---|
| 101 | SHAREDIR=/usr/share/misc \
|
---|
| 102 | MANDIR=/usr/share/man \
|
---|
| 103 | SHARED=yes ZLIB=no \
|
---|
[4890200] | 104 | install install-lib &&
|
---|
| 105 | chmod -v 755 /usr/lib/libpci.so.&pciutils-version;</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>
|
---|
[564851b] | 118 | <parameter>ZLIB=no</parameter>: This parameter prevents compression of
|
---|
| 119 | the <filename>pci.ids</filename> file.
|
---|
[c503fad7] | 120 | </para>
|
---|
[2a05c87] | 121 |
|
---|
[564851b] | 122 |
|
---|
[0829916] | 123 | </sect2>
|
---|
| 124 |
|
---|
[c0913c4] | 125 | <sect2 role="configuration">
|
---|
[564851b] | 126 | <title>Configuring PCI Utils</title>
|
---|
| 127 |
|
---|
| 128 | <para>
|
---|
| 129 | The <filename>pci.ids</filename> data file is constantly being
|
---|
| 130 | updated. To get a current version of this file, run
|
---|
| 131 | <command>update-pciids</command> as the <systemitem
|
---|
| 132 | class="username">root</systemitem> user. This program requires the
|
---|
| 133 | <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
|
---|
| 134 | <xref linkend="lynx"/> or <xref linkend="wget"/> which are used to
|
---|
| 135 | download the most current file, and then replace the existing file in
|
---|
| 136 | <filename class="directory">/usr/share/misc</filename>.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <para>
|
---|
| 140 | You may wish to add an entry to
|
---|
| 141 | <systemitem class="username">root</systemitem>'s (or any other user who has
|
---|
| 142 | write privilege to <filename class="directory">/usr/share/misc</filename>)
|
---|
| 143 | crontab to automatically update the <filename>pci.ids</filename> file
|
---|
| 144 | periodically.
|
---|
| 145 | </para>
|
---|
[1ed12e2d] | 146 |
|
---|
[c0913c4] | 147 | </sect2>
|
---|
| 148 |
|
---|
[a9a6837e] | 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
[1ed12e2d] | 154 | <segtitle>Installed Library</segtitle>
|
---|
| 155 | <segtitle>Installed Directory</segtitle>
|
---|
[a9a6837e] | 156 |
|
---|
| 157 | <seglistitem>
|
---|
[564851b] | 158 | <seg>
|
---|
| 159 | lspci, setpci and update-pciids
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
| 162 | libpci.so
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | /usr/include/pci
|
---|
| 166 | </seg>
|
---|
[a9a6837e] | 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="lspci">
|
---|
| 176 | <term><command>lspci</command></term>
|
---|
| 177 | <listitem>
|
---|
[564851b] | 178 | <para>
|
---|
| 179 | is an utility for displaying information about all PCI buses
|
---|
| 180 | in the system and all devices connected to them.
|
---|
| 181 | </para>
|
---|
[a9a6837e] | 182 | <indexterm zone="pciutils lspci">
|
---|
| 183 | <primary sortas="b-lspci">lspci</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="setpci">
|
---|
| 189 | <term><command>setpci</command></term>
|
---|
| 190 | <listitem>
|
---|
[564851b] | 191 | <para>
|
---|
| 192 | is an utility for querying and configuring PCI devices.
|
---|
| 193 | </para>
|
---|
[a9a6837e] | 194 | <indexterm zone="pciutils setpci">
|
---|
| 195 | <primary sortas="b-setpci">setpci</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="update-pciids">
|
---|
| 201 | <term><command>update-pciids</command></term>
|
---|
| 202 | <listitem>
|
---|
[564851b] | 203 | <para>
|
---|
| 204 | fetches the current version of the PCI ID list. Requires
|
---|
| 205 | <xref linkend="curl"/>, <xref linkend="lynx"/> or
|
---|
| 206 | <xref linkend="wget"/>.
|
---|
| 207 | </para>
|
---|
[a9a6837e] | 208 | <indexterm zone="pciutils update-pciids">
|
---|
| 209 | <primary sortas="b-update-pciids">update-pciids</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
[38ec4bf] | 214 | <varlistentry id="libpci">
|
---|
[4890200] | 215 | <term><filename class="libraryfile">libpci.so</filename></term>
|
---|
[38ec4bf] | 216 | <listitem>
|
---|
[564851b] | 217 | <para>
|
---|
| 218 | is library that allows applications to access the PCI
|
---|
| 219 | subsystem.
|
---|
| 220 | </para>
|
---|
[38ec4bf] | 221 | <indexterm zone="pciutils libpci">
|
---|
[2a05c87] | 222 | <primary sortas="c-libpci">libpci.so</primary>
|
---|
[38ec4bf] | 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
| 226 |
|
---|
[a9a6837e] | 227 | </variablelist>
|
---|
| 228 |
|
---|
| 229 | </sect2>
|
---|
[f45b1953] | 230 |
|
---|
| 231 | </sect1>
|
---|