[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">
|
---|
[f6f06932] | 8 | <!ENTITY pciutils-download-ftp "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
|
---|
| 9 | <!ENTITY pciutils-md5sum "483a08dc864ec42497ad95310bb1a8ee">
|
---|
| 10 | <!ENTITY pciutils-size "176 KB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "2.1 MB">
|
---|
| 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>
|
---|
[56762b82] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">pciutils-&pciutils-version;.tar</keyword>
|
---|
| 23 | <keyword role="ftptdir">pciutils</keyword>
|
---|
| 24 | </keywordset>
|
---|
[a9a6837e] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>PCI Utilities-&pciutils-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="pciutils">
|
---|
| 30 | <primary sortas="a-PCI-Utilities">PCI Utilities</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to PCI Utilities</title>
|
---|
| 35 |
|
---|
[539ace5] | 36 | <para>The <application>PCI Utilities</application> package
|
---|
| 37 | is a set of programs for listing PCI devices, inspecting
|
---|
[a9a6837e] | 38 | their status and setting their configuration registers.</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&pciutils-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &pciutils-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &pciutils-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &pciutils-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &pciutils-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
[2969aa8] | 62 | </sect2>
|
---|
| 63 |
|
---|
[143ed74] | 64 | <sect2 role="installation">
|
---|
| 65 | <title>Installation of PCI Utilities</title>
|
---|
| 66 |
|
---|
[a9a6837e] | 67 | <para>Install <application>PCI Utilities</application> by
|
---|
| 68 | running the following commands:</para>
|
---|
| 69 |
|
---|
| 70 | <screen><userinput>make PREFIX=/usr</userinput></screen>
|
---|
| 71 |
|
---|
[f6f06932] | 72 | <para>This package does not come with a test suite.</para>
|
---|
| 73 |
|
---|
[a9a6837e] | 74 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 75 |
|
---|
| 76 | <screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
|
---|
| 77 |
|
---|
[52c44ebf] | 78 | <para>Some packages require the PCI static library. To install the library
|
---|
| 79 | and headers, issue the following commands as the
|
---|
| 80 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[38ec4bf] | 81 |
|
---|
[878e5ee] | 82 | <screen role="root"><userinput>install -v -m 755 -d /usr/include/pci &&
|
---|
[52c44ebf] | 83 | install -v -m 644 lib/libpci.a /usr/lib &&
|
---|
| 84 | install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
|
---|
[38ec4bf] | 85 |
|
---|
[a9a6837e] | 86 | </sect2>
|
---|
| 87 |
|
---|
[c0913c4] | 88 | <sect2 role="configuration">
|
---|
| 89 | <title>Configuring PCI Utilities</title>
|
---|
[bccbdaea] | 90 |
|
---|
[4b989d2] | 91 | <para>The <filename>pci.ids</filename> data file is constantly being
|
---|
| 92 | updated. To get a current version of this file, run
|
---|
| 93 | <command>update-pciids</command> as the <systemitem
|
---|
| 94 | class="username">root</systemitem> user. This program requires the
|
---|
[878e5ee] | 95 | <xref linkend='which'/> script or program to find <xref linkend='wget'/>
|
---|
[f6f06932] | 96 | or <xref linkend='lynx'/> which are used to fetch the most current file, and
|
---|
| 97 | then places it in <filename class='directory'>/usr/share</filename>.</para>
|
---|
[c0913c4] | 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>
|
---|