[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">
|
---|
[4b989d2] | 9 | <!ENTITY pciutils-md5sum "6fc06c92aa85d73d6f5281646bdcc578">
|
---|
| 10 | <!ENTITY pciutils-size "173 KB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "1.69 MB">
|
---|
[a9a6837e] | 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 |
|
---|
[2969aa8] | 58 | </sect2>
|
---|
| 59 |
|
---|
[143ed74] | 60 | <sect2 role="installation">
|
---|
| 61 | <title>Installation of PCI Utilities</title>
|
---|
| 62 |
|
---|
[a9a6837e] | 63 | <para>Install <application>PCI Utilities</application> by
|
---|
| 64 | running the following commands:</para>
|
---|
| 65 |
|
---|
| 66 | <screen><userinput>make PREFIX=/usr</userinput></screen>
|
---|
| 67 |
|
---|
| 68 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 69 |
|
---|
| 70 | <screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
|
---|
| 71 |
|
---|
[52c44ebf] | 72 | <para>Some packages require the PCI static library. To install the library
|
---|
| 73 | and headers, issue the following commands as the
|
---|
| 74 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[38ec4bf] | 75 |
|
---|
[878e5ee] | 76 | <screen role="root"><userinput>install -v -m 755 -d /usr/include/pci &&
|
---|
[52c44ebf] | 77 | install -v -m 644 lib/libpci.a /usr/lib &&
|
---|
| 78 | install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
|
---|
[38ec4bf] | 79 |
|
---|
[a9a6837e] | 80 | </sect2>
|
---|
| 81 |
|
---|
[c0913c4] | 82 | <sect2 role="configuration">
|
---|
| 83 | <title>Configuring PCI Utilities</title>
|
---|
| 84 |
|
---|
[4b989d2] | 85 | <para>The <filename>pci.ids</filename> data file is constantly being
|
---|
| 86 | updated. To get a current version of this file, run
|
---|
| 87 | <command>update-pciids</command> as the <systemitem
|
---|
| 88 | class="username">root</systemitem> user. This program requires the
|
---|
[878e5ee] | 89 | <xref linkend='which'/> script or program to find <xref linkend='wget'/>
|
---|
| 90 | or <xref linkend='lynx'/> which are used to fetch the most current file and
|
---|
[08015f27] | 91 | place it in <filename class='directory'>/usr/share</filename>.</para>
|
---|
[c0913c4] | 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
[a9a6837e] | 95 | <sect2 role="content">
|
---|
| 96 | <title>Contents</title>
|
---|
| 97 |
|
---|
| 98 | <segmentedlist>
|
---|
| 99 | <segtitle>Installed Programs</segtitle>
|
---|
| 100 | <segtitle>Installed Libraries</segtitle>
|
---|
| 101 | <segtitle>Installed Directories</segtitle>
|
---|
| 102 |
|
---|
| 103 | <seglistitem>
|
---|
| 104 | <seg>lspci, setpci and update-pciids</seg>
|
---|
[38ec4bf] | 105 | <seg>libpci.a</seg>
|
---|
[52c44ebf] | 106 | <seg>/usr/include/pci</seg>
|
---|
[a9a6837e] | 107 | </seglistitem>
|
---|
| 108 | </segmentedlist>
|
---|
| 109 |
|
---|
| 110 | <variablelist>
|
---|
| 111 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 112 | <?dbfo list-presentation="list"?>
|
---|
| 113 | <?dbhtml list-presentation="table"?>
|
---|
| 114 |
|
---|
| 115 | <varlistentry id="lspci">
|
---|
| 116 | <term><command>lspci</command></term>
|
---|
| 117 | <listitem>
|
---|
[539ace5] | 118 | <para>is a utility for displaying information about all PCI buses in the
|
---|
[a9a6837e] | 119 | system and all devices connected to them.</para>
|
---|
| 120 | <indexterm zone="pciutils lspci">
|
---|
| 121 | <primary sortas="b-lspci">lspci</primary>
|
---|
| 122 | </indexterm>
|
---|
| 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="setpci">
|
---|
| 127 | <term><command>setpci</command></term>
|
---|
| 128 | <listitem>
|
---|
| 129 | <para>is a utility for querying and configuring PCI devices.</para>
|
---|
| 130 | <indexterm zone="pciutils setpci">
|
---|
| 131 | <primary sortas="b-setpci">setpci</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
| 136 | <varlistentry id="update-pciids">
|
---|
| 137 | <term><command>update-pciids</command></term>
|
---|
| 138 | <listitem>
|
---|
[539ace5] | 139 | <para>fetches the current version of the PCI ID list. Requires
|
---|
[a9a6837e] | 140 | <xref linkend="wget"/> or <xref linkend="lynx"/>.</para>
|
---|
| 141 | <indexterm zone="pciutils update-pciids">
|
---|
| 142 | <primary sortas="b-update-pciids">update-pciids</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
[38ec4bf] | 147 | <varlistentry id="libpci">
|
---|
| 148 | <term><filename role='library'>libpci.a</filename></term>
|
---|
| 149 | <listitem>
|
---|
[52c44ebf] | 150 | <para> is the static library that allows applications to access the PCI
|
---|
| 151 | subsystem.</para>
|
---|
[38ec4bf] | 152 | <indexterm zone="pciutils libpci">
|
---|
| 153 | <primary sortas="c-libpci">libpci.a</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
[a9a6837e] | 158 | </variablelist>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
[f45b1953] | 161 |
|
---|
| 162 | </sect1>
|
---|