[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">
|
---|
[564851b] | 9 | <!ENTITY pciutils-md5sum "72ebc3624ccb43ae2ddf872b5dfdb3c9">
|
---|
| 10 | <!ENTITY pciutils-size "264 KB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "3.5 MB">
|
---|
| 12 | <!ENTITY pciutils-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[564851b] | 15 | <sect1 id="pciutils" xreflabel="PCI Utils-&pciutils-version;">
|
---|
[a9a6837e] | 16 | <?dbhtml filename="pciutils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[564851b] | 23 | <title>PCI Utils-&pciutils-version;</title>
|
---|
[a9a6837e] | 24 |
|
---|
| 25 | <indexterm zone="pciutils">
|
---|
[564851b] | 26 | <primary sortas="a-PCI-Utils">PCI Utils</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 \
|
---|
[2a05c87] | 104 | install install-lib</userinput></screen>
|
---|
[fd91fea] | 105 |
|
---|
[a9a6837e] | 106 | </sect2>
|
---|
| 107 |
|
---|
[0829916] | 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
[c503fad7] | 111 | <para>
|
---|
| 112 | <parameter>SHARED=yes</parameter>: This parameter enables building of
|
---|
| 113 | shared library instead of static one.
|
---|
| 114 | </para>
|
---|
[2a05c87] | 115 |
|
---|
[c503fad7] | 116 | <para>
|
---|
[564851b] | 117 | <parameter>ZLIB=no</parameter>: This parameter prevents compression of
|
---|
| 118 | the <filename>pci.ids</filename> file.
|
---|
[c503fad7] | 119 | </para>
|
---|
[2a05c87] | 120 |
|
---|
[564851b] | 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">
|
---|
[2a05c87] | 214 | <term><filename role='library'>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>
|
---|