[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">
|
---|
| 9 | <!ENTITY pciutils-md5sum "82b649eb00d12b81ab57f83780bc2bc8">
|
---|
| 10 | <!ENTITY pciutils-size "260 KB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "3.0 MB">
|
---|
[f6f06932] | 12 | <!ENTITY pciutils-time "less than 0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[5c5cdbc] | 15 | <sect1 id="pciutils" xreflabel="PCI Utilities-&pciutils-version;">
|
---|
[a9a6837e] | 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 |
|
---|
[539ace5] | 32 | <para>The <application>PCI Utilities</application> package
|
---|
| 33 | is a set of programs for listing PCI devices, inspecting
|
---|
[a9a6837e] | 34 | their status and setting their configuration registers.</para>
|
---|
| 35 |
|
---|
[55b07cb] | 36 | &lfs71_checked;
|
---|
[fd91fea] | 37 |
|
---|
[a9a6837e] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para>
|
---|
[2a05c87] | 42 | </listitem>
|
---|
[a9a6837e] | 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 |
|
---|
[1039de3] | 60 | <para condition="html" role="usernotes">User Notes:
|
---|
| 61 | <ulink url="&blfs-wiki;/pciutils"/></para>
|
---|
| 62 |
|
---|
[2969aa8] | 63 | </sect2>
|
---|
| 64 |
|
---|
[143ed74] | 65 | <sect2 role="installation">
|
---|
| 66 | <title>Installation of PCI Utilities</title>
|
---|
| 67 |
|
---|
[c503fad7] | 68 | <para>
|
---|
| 69 | Install <application>PCI Utilities</application> by
|
---|
| 70 | running the following commands:
|
---|
| 71 | </para>
|
---|
[a9a6837e] | 72 |
|
---|
[2a05c87] | 73 | <screen><userinput>make PREFIX=/usr MANDIR=/usr/share/man \
|
---|
[c503fad7] | 74 | ZLIB=no SHARED=yes PCI_COMPRESSED_IDS=0 all</userinput></screen>
|
---|
[a9a6837e] | 75 |
|
---|
[c503fad7] | 76 | <para>
|
---|
| 77 | This package does not come with a test suite.
|
---|
| 78 | </para>
|
---|
[f6f06932] | 79 |
|
---|
[c503fad7] | 80 | <para>
|
---|
| 81 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 82 | </para>
|
---|
[a9a6837e] | 83 |
|
---|
[c503fad7] | 84 | <screen role="root"><userinput>make PREFIX=/usr MANDIR=/usr/share/man \
|
---|
| 85 | ZLIB=no SHARED=yes PCI_COMPRESSED_IDS=0 \
|
---|
[2a05c87] | 86 | install install-lib</userinput></screen>
|
---|
[fd91fea] | 87 |
|
---|
[a9a6837e] | 88 | </sect2>
|
---|
| 89 |
|
---|
[0829916] | 90 | <sect2 role="commands">
|
---|
| 91 | <title>Command Explanations</title>
|
---|
| 92 |
|
---|
[c503fad7] | 93 | <para>
|
---|
| 94 | <parameter>ZLIB=no</parameter>: This parameter prevents compression of
|
---|
| 95 | the <filename>pci.ids</filename> file.
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | <parameter>SHARED=yes</parameter>: This parameter enables building of
|
---|
| 100 | shared library instead of static one.
|
---|
| 101 | </para>
|
---|
[2a05c87] | 102 |
|
---|
[c503fad7] | 103 | <para>
|
---|
| 104 | <parameter>PCI_COMPRESSED_IDS=0</parameter>: This parameter ensures
|
---|
| 105 | that compression won't be used when updating <filename>pci.ids</filename>.
|
---|
| 106 | </para>
|
---|
[2a05c87] | 107 |
|
---|
[0829916] | 108 | </sect2>
|
---|
| 109 |
|
---|
[c0913c4] | 110 | <sect2 role="configuration">
|
---|
| 111 | <title>Configuring PCI Utilities</title>
|
---|
[bccbdaea] | 112 |
|
---|
[4b989d2] | 113 | <para>The <filename>pci.ids</filename> data file is constantly being
|
---|
| 114 | updated. To get a current version of this file, run
|
---|
| 115 | <command>update-pciids</command> as the <systemitem
|
---|
| 116 | class="username">root</systemitem> user. This program requires the
|
---|
[43b1987f] | 117 | <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
|
---|
| 118 | <xref linkend="wget"/> or <xref linkend="lynx"/> which are used to
|
---|
[1ed12e2d] | 119 | download the most current file, and then replace the existing file in
|
---|
[5d28679b] | 120 | <filename class='directory'>/usr/share</filename>.</para>
|
---|
[c0913c4] | 121 |
|
---|
[1ed12e2d] | 122 | <para>You may wish to add an entry to
|
---|
| 123 | <systemitem class="username">root</systemitem>'s (or any other user who
|
---|
| 124 | has write privilege to <filename class='directory'>/usr/share</filename>)
|
---|
| 125 | crontab to automatically update the <filename>pci.ids</filename> file
|
---|
| 126 | periodically.</para>
|
---|
| 127 |
|
---|
[c0913c4] | 128 | </sect2>
|
---|
| 129 |
|
---|
[a9a6837e] | 130 | <sect2 role="content">
|
---|
| 131 | <title>Contents</title>
|
---|
| 132 |
|
---|
| 133 | <segmentedlist>
|
---|
| 134 | <segtitle>Installed Programs</segtitle>
|
---|
[1ed12e2d] | 135 | <segtitle>Installed Library</segtitle>
|
---|
| 136 | <segtitle>Installed Directory</segtitle>
|
---|
[a9a6837e] | 137 |
|
---|
| 138 | <seglistitem>
|
---|
| 139 | <seg>lspci, setpci and update-pciids</seg>
|
---|
[2a05c87] | 140 | <seg>libpci.so</seg>
|
---|
[52c44ebf] | 141 | <seg>/usr/include/pci</seg>
|
---|
[a9a6837e] | 142 | </seglistitem>
|
---|
| 143 | </segmentedlist>
|
---|
| 144 |
|
---|
| 145 | <variablelist>
|
---|
| 146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 147 | <?dbfo list-presentation="list"?>
|
---|
| 148 | <?dbhtml list-presentation="table"?>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="lspci">
|
---|
| 151 | <term><command>lspci</command></term>
|
---|
| 152 | <listitem>
|
---|
[539ace5] | 153 | <para>is a utility for displaying information about all PCI buses in the
|
---|
[a9a6837e] | 154 | system and all devices connected to them.</para>
|
---|
| 155 | <indexterm zone="pciutils lspci">
|
---|
| 156 | <primary sortas="b-lspci">lspci</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="setpci">
|
---|
| 162 | <term><command>setpci</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>is a utility for querying and configuring PCI devices.</para>
|
---|
| 165 | <indexterm zone="pciutils setpci">
|
---|
| 166 | <primary sortas="b-setpci">setpci</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="update-pciids">
|
---|
| 172 | <term><command>update-pciids</command></term>
|
---|
| 173 | <listitem>
|
---|
[539ace5] | 174 | <para>fetches the current version of the PCI ID list. Requires
|
---|
[1ed12e2d] | 175 | <xref linkend="curl"/>, <xref linkend="wget"/> or
|
---|
| 176 | <xref linkend="lynx"/>.</para>
|
---|
[a9a6837e] | 177 | <indexterm zone="pciutils update-pciids">
|
---|
| 178 | <primary sortas="b-update-pciids">update-pciids</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
[38ec4bf] | 183 | <varlistentry id="libpci">
|
---|
[2a05c87] | 184 | <term><filename role='library'>libpci.so</filename></term>
|
---|
[38ec4bf] | 185 | <listitem>
|
---|
[2a05c87] | 186 | <para>is library that allows applications to access the PCI
|
---|
[52c44ebf] | 187 | subsystem.</para>
|
---|
[38ec4bf] | 188 | <indexterm zone="pciutils libpci">
|
---|
[2a05c87] | 189 | <primary sortas="c-libpci">libpci.so</primary>
|
---|
[38ec4bf] | 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
[a9a6837e] | 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
[f45b1953] | 197 |
|
---|
| 198 | </sect1>
|
---|