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