[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">
|
---|
[1b81133c] | 9 | <!ENTITY pciutils-md5sum "86cc20eaa0360587497a8105d33e57fc">
|
---|
| 10 | <!ENTITY pciutils-size "1.1 MB">
|
---|
| 11 | <!ENTITY pciutils-buildsize "3.3 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>
|
---|
[56762b82] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">pciutils-&pciutils-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">pciutils</keyword>
|
---|
[56762b82] | 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 |
|
---|
[1039de3] | 62 | <para condition="html" role="usernotes">User Notes:
|
---|
| 63 | <ulink url="&blfs-wiki;/pciutils"/></para>
|
---|
| 64 |
|
---|
[2969aa8] | 65 | </sect2>
|
---|
| 66 |
|
---|
[143ed74] | 67 | <sect2 role="installation">
|
---|
| 68 | <title>Installation of PCI Utilities</title>
|
---|
| 69 |
|
---|
[a9a6837e] | 70 | <para>Install <application>PCI Utilities</application> by
|
---|
| 71 | running the following commands:</para>
|
---|
| 72 |
|
---|
[5d28679b] | 73 | <screen><userinput>sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh &&
|
---|
| 74 | make PREFIX=/usr</userinput></screen>
|
---|
[a9a6837e] | 75 |
|
---|
[f6f06932] | 76 | <para>This package does not come with a test suite.</para>
|
---|
| 77 |
|
---|
[a9a6837e] | 78 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 79 |
|
---|
| 80 | <screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
|
---|
| 81 |
|
---|
[52c44ebf] | 82 | <para>Some packages require the PCI static library. To install the library
|
---|
| 83 | and headers, issue the following commands as the
|
---|
| 84 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[38ec4bf] | 85 |
|
---|
[878e5ee] | 86 | <screen role="root"><userinput>install -v -m 755 -d /usr/include/pci &&
|
---|
[52c44ebf] | 87 | install -v -m 644 lib/libpci.a /usr/lib &&
|
---|
| 88 | install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
|
---|
[38ec4bf] | 89 |
|
---|
[a9a6837e] | 90 | </sect2>
|
---|
| 91 |
|
---|
[5d28679b] | 92 | <sect2 role="commands">
|
---|
| 93 | <title>Command Explanations</title>
|
---|
| 94 |
|
---|
| 95 | <para><command>sed -i 's/null ;/null 2>\&1 ;/'
|
---|
| 96 | update-pciids.sh</command>: This command suppresses some unneeded screen
|
---|
| 97 | output from the <command>update-pciids</command> command if you don't have
|
---|
| 98 | either <application>Lynx</application> or <application>Wget</application>
|
---|
| 99 | installed by redirecting the stderr output of the embedded
|
---|
| 100 | <command>which</command> command to <filename>/dev/null</filename>.</para>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
[c0913c4] | 104 | <sect2 role="configuration">
|
---|
| 105 | <title>Configuring PCI Utilities</title>
|
---|
[bccbdaea] | 106 |
|
---|
[4b989d2] | 107 | <para>The <filename>pci.ids</filename> data file is constantly being
|
---|
| 108 | updated. To get a current version of this file, run
|
---|
| 109 | <command>update-pciids</command> as the <systemitem
|
---|
| 110 | class="username">root</systemitem> user. This program requires the
|
---|
[878e5ee] | 111 | <xref linkend='which'/> script or program to find <xref linkend='wget'/>
|
---|
[5d28679b] | 112 | or <xref linkend='lynx'/> which are used to fetch the most current file,
|
---|
| 113 | and then replace the existing file in
|
---|
| 114 | <filename class='directory'>/usr/share</filename>.</para>
|
---|
[c0913c4] | 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
[a9a6837e] | 118 | <sect2 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Programs</segtitle>
|
---|
| 123 | <segtitle>Installed Libraries</segtitle>
|
---|
| 124 | <segtitle>Installed Directories</segtitle>
|
---|
| 125 |
|
---|
| 126 | <seglistitem>
|
---|
| 127 | <seg>lspci, setpci and update-pciids</seg>
|
---|
[38ec4bf] | 128 | <seg>libpci.a</seg>
|
---|
[52c44ebf] | 129 | <seg>/usr/include/pci</seg>
|
---|
[a9a6837e] | 130 | </seglistitem>
|
---|
| 131 | </segmentedlist>
|
---|
| 132 |
|
---|
| 133 | <variablelist>
|
---|
| 134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 135 | <?dbfo list-presentation="list"?>
|
---|
| 136 | <?dbhtml list-presentation="table"?>
|
---|
| 137 |
|
---|
| 138 | <varlistentry id="lspci">
|
---|
| 139 | <term><command>lspci</command></term>
|
---|
| 140 | <listitem>
|
---|
[539ace5] | 141 | <para>is a utility for displaying information about all PCI buses in the
|
---|
[a9a6837e] | 142 | system and all devices connected to them.</para>
|
---|
| 143 | <indexterm zone="pciutils lspci">
|
---|
| 144 | <primary sortas="b-lspci">lspci</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="setpci">
|
---|
| 150 | <term><command>setpci</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>is a utility for querying and configuring PCI devices.</para>
|
---|
| 153 | <indexterm zone="pciutils setpci">
|
---|
| 154 | <primary sortas="b-setpci">setpci</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="update-pciids">
|
---|
| 160 | <term><command>update-pciids</command></term>
|
---|
| 161 | <listitem>
|
---|
[539ace5] | 162 | <para>fetches the current version of the PCI ID list. Requires
|
---|
[a9a6837e] | 163 | <xref linkend="wget"/> or <xref linkend="lynx"/>.</para>
|
---|
| 164 | <indexterm zone="pciutils update-pciids">
|
---|
| 165 | <primary sortas="b-update-pciids">update-pciids</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
[38ec4bf] | 170 | <varlistentry id="libpci">
|
---|
| 171 | <term><filename role='library'>libpci.a</filename></term>
|
---|
| 172 | <listitem>
|
---|
[52c44ebf] | 173 | <para> is the static library that allows applications to access the PCI
|
---|
| 174 | subsystem.</para>
|
---|
[38ec4bf] | 175 | <indexterm zone="pciutils libpci">
|
---|
| 176 | <primary sortas="c-libpci">libpci.a</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
[a9a6837e] | 181 | </variablelist>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
[f45b1953] | 184 |
|
---|
| 185 | </sect1>
|
---|