[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/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">
|
---|
| 8 | <!ENTITY pciutils-download-ftp "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
|
---|
| 9 | <!ENTITY pciutils-md5sum "2b3b2147b7bc91f362be55cb49fa1c4e">
|
---|
| 10 | <!ENTITY pciutils-size "107 KB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "1.04 MB">
|
---|
| 12 | <!ENTITY pciutils-time "0.01 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 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&pciutils-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &pciutils-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &pciutils-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &pciutils-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &pciutils-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">PCI Utilities Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 61 | <para><xref linkend="which"/></para>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2 role="installation">
|
---|
| 66 | <title>Installation of PCI Utilities</title>
|
---|
| 67 |
|
---|
| 68 | <para>Install <application>PCI Utilities</application> by
|
---|
| 69 | running the following commands:</para>
|
---|
| 70 |
|
---|
| 71 | <screen><userinput>make PREFIX=/usr</userinput></screen>
|
---|
| 72 |
|
---|
| 73 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 74 |
|
---|
| 75 | <screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
|
---|
| 76 |
|
---|
[52c44ebf] | 77 | <para>Some packages require the PCI static library. To install the library
|
---|
| 78 | and headers, issue the following commands as the
|
---|
| 79 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[38ec4bf] | 80 |
|
---|
[52c44ebf] | 81 | <screen role="root"><userinput>install -v -m755 -d /usr/include/pci &&
|
---|
| 82 | install -v -m 644 lib/libpci.a /usr/lib &&
|
---|
| 83 | install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
|
---|
[38ec4bf] | 84 |
|
---|
[a9a6837e] | 85 | </sect2>
|
---|
| 86 |
|
---|
[c0913c4] | 87 | <sect2 role="configuration">
|
---|
| 88 | <title>Configuring PCI Utilities</title>
|
---|
| 89 |
|
---|
| 90 | <para>The current version of <application>PCI Utilities</application> is a
|
---|
| 91 | bit dated (2003). The application works quite well, but the default data
|
---|
| 92 | file, <filename>pci.ids</filename>, is out of date. To get a current
|
---|
[82941804] | 93 | version of this file, run <command>update-pciids</command> as the
|
---|
| 94 | <systemitem class="username">root</systemitem> user. This program uses
|
---|
| 95 | <application>wget</application> or <application>lynx</application> to fetch
|
---|
| 96 | the most current file and place it in <filename
|
---|
[c0913c4] | 97 | class='directory'>/usr/share</filename>.</para>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
[a9a6837e] | 101 | <sect2 role="content">
|
---|
| 102 | <title>Contents</title>
|
---|
| 103 |
|
---|
| 104 | <segmentedlist>
|
---|
| 105 | <segtitle>Installed Programs</segtitle>
|
---|
| 106 | <segtitle>Installed Libraries</segtitle>
|
---|
| 107 | <segtitle>Installed Directories</segtitle>
|
---|
| 108 |
|
---|
| 109 | <seglistitem>
|
---|
| 110 | <seg>lspci, setpci and update-pciids</seg>
|
---|
[38ec4bf] | 111 | <seg>libpci.a</seg>
|
---|
[52c44ebf] | 112 | <seg>/usr/include/pci</seg>
|
---|
[a9a6837e] | 113 | </seglistitem>
|
---|
| 114 | </segmentedlist>
|
---|
| 115 |
|
---|
| 116 | <variablelist>
|
---|
| 117 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 118 | <?dbfo list-presentation="list"?>
|
---|
| 119 | <?dbhtml list-presentation="table"?>
|
---|
| 120 |
|
---|
| 121 | <varlistentry id="lspci">
|
---|
| 122 | <term><command>lspci</command></term>
|
---|
| 123 | <listitem>
|
---|
[539ace5] | 124 | <para>is a utility for displaying information about all PCI buses in the
|
---|
[a9a6837e] | 125 | system and all devices connected to them.</para>
|
---|
| 126 | <indexterm zone="pciutils lspci">
|
---|
| 127 | <primary sortas="b-lspci">lspci</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 |
|
---|
| 132 | <varlistentry id="setpci">
|
---|
| 133 | <term><command>setpci</command></term>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>is a utility for querying and configuring PCI devices.</para>
|
---|
| 136 | <indexterm zone="pciutils setpci">
|
---|
| 137 | <primary sortas="b-setpci">setpci</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="update-pciids">
|
---|
| 143 | <term><command>update-pciids</command></term>
|
---|
| 144 | <listitem>
|
---|
[539ace5] | 145 | <para>fetches the current version of the PCI ID list. Requires
|
---|
[a9a6837e] | 146 | <xref linkend="wget"/> or <xref linkend="lynx"/>.</para>
|
---|
| 147 | <indexterm zone="pciutils update-pciids">
|
---|
| 148 | <primary sortas="b-update-pciids">update-pciids</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
[38ec4bf] | 153 | <varlistentry id="libpci">
|
---|
| 154 | <term><filename role='library'>libpci.a</filename></term>
|
---|
| 155 | <listitem>
|
---|
[52c44ebf] | 156 | <para> is the static library that allows applications to access the PCI
|
---|
| 157 | subsystem.</para>
|
---|
[38ec4bf] | 158 | <indexterm zone="pciutils libpci">
|
---|
| 159 | <primary sortas="c-libpci">libpci.a</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
[a9a6837e] | 164 | </variablelist>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
[f45b1953] | 167 |
|
---|
| 168 | </sect1>
|
---|