[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 |
|
---|
[a9a6837e] | 7 | <!ENTITY pciutils-download-http "http://www.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
|
---|
[f6f06932] | 8 | <!ENTITY pciutils-download-ftp "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
|
---|
[63b8767] | 9 | <!ENTITY pciutils-md5sum "35222edb86b50a6641352c66fe829b2e">
|
---|
| 10 | <!ENTITY pciutils-size "290 KB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "4 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 |
|
---|
[fd91fea] | 36 | &lfs65_checked;
|
---|
| 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>
|
---|
| 42 | </listitem>
|
---|
| 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 |
|
---|
[a9a6837e] | 68 | <para>Install <application>PCI Utilities</application> by
|
---|
| 69 | running the following commands:</para>
|
---|
| 70 |
|
---|
[0829916] | 71 | <screen><userinput>make PREFIX=/usr ZLIB=no</userinput></screen>
|
---|
[a9a6837e] | 72 |
|
---|
[f6f06932] | 73 | <para>This package does not come with a test suite.</para>
|
---|
| 74 |
|
---|
[a9a6837e] | 75 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 76 |
|
---|
| 77 | <screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
|
---|
| 78 |
|
---|
[5dfa33bf] | 79 | <para>Some packages require the PCI static library. To install the library
|
---|
[fd91fea] | 80 | and headers, issue the following command as the
|
---|
[52c44ebf] | 81 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[38ec4bf] | 82 |
|
---|
[fd91fea] | 83 | <screen role="root"><userinput>make PREFIX=/usr install-lib</userinput></screen>
|
---|
| 84 |
|
---|
[a9a6837e] | 85 | </sect2>
|
---|
| 86 |
|
---|
[0829916] | 87 | <sect2 role="commands">
|
---|
| 88 | <title>Command Explanations</title>
|
---|
| 89 |
|
---|
[a41f643] | 90 | <para><parameter>ZLIB=no</parameter>: This parameter prevents compression of
|
---|
| 91 | the <filename>pci.ids</filename> file which is needed by other applications
|
---|
[0829916] | 92 | such as <xref linkend="hal"/>.</para>
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
[c0913c4] | 95 | <sect2 role="configuration">
|
---|
| 96 | <title>Configuring PCI Utilities</title>
|
---|
[bccbdaea] | 97 |
|
---|
[4b989d2] | 98 | <para>The <filename>pci.ids</filename> data file is constantly being
|
---|
| 99 | updated. To get a current version of this file, run
|
---|
| 100 | <command>update-pciids</command> as the <systemitem
|
---|
| 101 | class="username">root</systemitem> user. This program requires the
|
---|
[43b1987f] | 102 | <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
|
---|
| 103 | <xref linkend="wget"/> or <xref linkend="lynx"/> which are used to
|
---|
[1ed12e2d] | 104 | download the most current file, and then replace the existing file in
|
---|
[5d28679b] | 105 | <filename class='directory'>/usr/share</filename>.</para>
|
---|
[c0913c4] | 106 |
|
---|
[1ed12e2d] | 107 | <para>You may wish to add an entry to
|
---|
| 108 | <systemitem class="username">root</systemitem>'s (or any other user who
|
---|
| 109 | has write privilege to <filename class='directory'>/usr/share</filename>)
|
---|
| 110 | crontab to automatically update the <filename>pci.ids</filename> file
|
---|
| 111 | periodically.</para>
|
---|
| 112 |
|
---|
[c0913c4] | 113 | </sect2>
|
---|
| 114 |
|
---|
[a9a6837e] | 115 | <sect2 role="content">
|
---|
| 116 | <title>Contents</title>
|
---|
| 117 |
|
---|
| 118 | <segmentedlist>
|
---|
| 119 | <segtitle>Installed Programs</segtitle>
|
---|
[1ed12e2d] | 120 | <segtitle>Installed Library</segtitle>
|
---|
| 121 | <segtitle>Installed Directory</segtitle>
|
---|
[a9a6837e] | 122 |
|
---|
| 123 | <seglistitem>
|
---|
| 124 | <seg>lspci, setpci and update-pciids</seg>
|
---|
[38ec4bf] | 125 | <seg>libpci.a</seg>
|
---|
[52c44ebf] | 126 | <seg>/usr/include/pci</seg>
|
---|
[a9a6837e] | 127 | </seglistitem>
|
---|
| 128 | </segmentedlist>
|
---|
| 129 |
|
---|
| 130 | <variablelist>
|
---|
| 131 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 132 | <?dbfo list-presentation="list"?>
|
---|
| 133 | <?dbhtml list-presentation="table"?>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="lspci">
|
---|
| 136 | <term><command>lspci</command></term>
|
---|
| 137 | <listitem>
|
---|
[539ace5] | 138 | <para>is a utility for displaying information about all PCI buses in the
|
---|
[a9a6837e] | 139 | system and all devices connected to them.</para>
|
---|
| 140 | <indexterm zone="pciutils lspci">
|
---|
| 141 | <primary sortas="b-lspci">lspci</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="setpci">
|
---|
| 147 | <term><command>setpci</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>is a utility for querying and configuring PCI devices.</para>
|
---|
| 150 | <indexterm zone="pciutils setpci">
|
---|
| 151 | <primary sortas="b-setpci">setpci</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="update-pciids">
|
---|
| 157 | <term><command>update-pciids</command></term>
|
---|
| 158 | <listitem>
|
---|
[539ace5] | 159 | <para>fetches the current version of the PCI ID list. Requires
|
---|
[1ed12e2d] | 160 | <xref linkend="curl"/>, <xref linkend="wget"/> or
|
---|
| 161 | <xref linkend="lynx"/>.</para>
|
---|
[a9a6837e] | 162 | <indexterm zone="pciutils update-pciids">
|
---|
| 163 | <primary sortas="b-update-pciids">update-pciids</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
[38ec4bf] | 168 | <varlistentry id="libpci">
|
---|
| 169 | <term><filename role='library'>libpci.a</filename></term>
|
---|
| 170 | <listitem>
|
---|
[52c44ebf] | 171 | <para> is the static library that allows applications to access the PCI
|
---|
| 172 | subsystem.</para>
|
---|
[38ec4bf] | 173 | <indexterm zone="pciutils libpci">
|
---|
| 174 | <primary sortas="c-libpci">libpci.a</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
[a9a6837e] | 179 | </variablelist>
|
---|
| 180 |
|
---|
| 181 | </sect2>
|
---|
[f45b1953] | 182 |
|
---|
| 183 | </sect1>
|
---|