source: general/sysutils/pciutils.xml@ 3fa020b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3fa020b was 5f26d66f, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

LFS-7.4 tags after building Xorg

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11652 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.8 KB
RevLine 
[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
[2a05c87]7 <!ENTITY pciutils-download-http "http://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.xz">
8 <!ENTITY pciutils-download-ftp "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.xz">
[4890200]9 <!ENTITY pciutils-md5sum "adb27c2d6ca54405115c532ae4c348e6">
10 <!ENTITY pciutils-size "272 KB">
11 <!ENTITY pciutils-buildsize "3.7 MB">
[5f26d66f]12 <!ENTITY pciutils-time "less than 0.1 SBU">
[52d29f7]13]>
14
[4890200]15<sect1 id="pciutils" xreflabel="pciutils-&pciutils-version;">
[a9a6837e]16 <?dbhtml filename="pciutils.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[4890200]23 <title>pciutils-&pciutils-version;</title>
[a9a6837e]24
25 <indexterm zone="pciutils">
[4890200]26 <primary sortas="a-pciutils">pciutils</primary>
[a9a6837e]27 </indexterm>
28
29 <sect2 role="package">
[564851b]30 <title>Introduction to PCI Utils</title>
[a9a6837e]31
[564851b]32 <para>
33 The <application>PCI Utils</application> package contains
34 a set of programs for listing PCI devices, inspecting
35 their status and setting their configuration registers.
36 </para>
[a9a6837e]37
[5f26d66f]38 &lfs74_checked;
[fd91fea]39
[a9a6837e]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[564851b]43 <para>
44 Download (HTTP): <ulink url="&pciutils-download-http;"/>
45 </para>
[2a05c87]46 </listitem>
[a9a6837e]47 <listitem>
[564851b]48 <para>
49 Download (FTP): <ulink url="&pciutils-download-ftp;"/>
50 </para>
[a9a6837e]51 </listitem>
52 <listitem>
[564851b]53 <para>
54 Download MD5 sum: &pciutils-md5sum;
55 </para>
[a9a6837e]56 </listitem>
57 <listitem>
[564851b]58 <para>
59 Download size: &pciutils-size;
60 </para>
[a9a6837e]61 </listitem>
62 <listitem>
[564851b]63 <para>
64 Estimated disk space required: &pciutils-buildsize;
65 </para>
[a9a6837e]66 </listitem>
67 <listitem>
[564851b]68 <para>
69 Estimated build time: &pciutils-time;
70 </para>
[a9a6837e]71 </listitem>
72 </itemizedlist>
73
[1039de3]74 <para condition="html" role="usernotes">User Notes:
[564851b]75 <ulink url="&blfs-wiki;/pciutils"/>
76 </para>
[2969aa8]77 </sect2>
78
[143ed74]79 <sect2 role="installation">
[564851b]80 <title>Installation of PCI Utils</title>
[143ed74]81
[c503fad7]82 <para>
[564851b]83 Install <application>PCI Utils</application> by
[c503fad7]84 running the following commands:
85 </para>
[a9a6837e]86
[5f26d66f]87<screen><userinput>make PREFIX=/usr \
[564851b]88 SHAREDIR=/usr/share/misc \
[5f26d66f]89 MANDIR=/usr/share/man \
90 SHARED=yes \
91 ZLIB=no \
92 all</userinput></screen>
[a9a6837e]93
[c503fad7]94 <para>
95 This package does not come with a test suite.
96 </para>
[f6f06932]97
[c503fad7]98 <para>
99 Now, as the <systemitem class="username">root</systemitem> user:
100 </para>
[a9a6837e]101
[5f26d66f]102<screen role="root"><userinput>
103make PREFIX=/usr \
[564851b]104 SHAREDIR=/usr/share/misc \
[5f26d66f]105 MANDIR=/usr/share/man \
106 SHARED=yes \
107 ZLIB=no \
108 install install-lib &amp;&amp;
109
[4890200]110chmod -v 755 /usr/lib/libpci.so.&pciutils-version;</userinput></screen>
[fd91fea]111
[a9a6837e]112 </sect2>
113
[0829916]114 <sect2 role="commands">
115 <title>Command Explanations</title>
116
[c503fad7]117 <para>
118 <parameter>SHARED=yes</parameter>: This parameter enables building of
119 shared library instead of static one.
120 </para>
[2a05c87]121
[c503fad7]122 <para>
[564851b]123 <parameter>ZLIB=no</parameter>: This parameter prevents compression of
124 the <filename>pci.ids</filename> file.
[c503fad7]125 </para>
[2a05c87]126
[564851b]127
[0829916]128 </sect2>
129
[c0913c4]130 <sect2 role="configuration">
[564851b]131 <title>Configuring PCI Utils</title>
132
133 <para>
134 The <filename>pci.ids</filename> data file is constantly being
135 updated. To get a current version of this file, run
136 <command>update-pciids</command> as the <systemitem
137 class="username">root</systemitem> user. This program requires the
138 <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
139 <xref linkend="lynx"/> or <xref linkend="wget"/> which are used to
140 download the most current file, and then replace the existing file in
141 <filename class="directory">/usr/share/misc</filename>.
142 </para>
143
144 <para>
145 You may wish to add an entry to
146 <systemitem class="username">root</systemitem>'s (or any other user who has
147 write privilege to <filename class="directory">/usr/share/misc</filename>)
148 crontab to automatically update the <filename>pci.ids</filename> file
149 periodically.
150 </para>
[1ed12e2d]151
[c0913c4]152 </sect2>
153
[a9a6837e]154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
[1ed12e2d]159 <segtitle>Installed Library</segtitle>
160 <segtitle>Installed Directory</segtitle>
[a9a6837e]161
162 <seglistitem>
[564851b]163 <seg>
164 lspci, setpci and update-pciids
165 </seg>
166 <seg>
167 libpci.so
168 </seg>
169 <seg>
170 /usr/include/pci
171 </seg>
[a9a6837e]172 </seglistitem>
173 </segmentedlist>
174
175 <variablelist>
176 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <?dbfo list-presentation="list"?>
178 <?dbhtml list-presentation="table"?>
179
180 <varlistentry id="lspci">
181 <term><command>lspci</command></term>
182 <listitem>
[564851b]183 <para>
184 is an utility for displaying information about all PCI buses
185 in the system and all devices connected to them.
186 </para>
[a9a6837e]187 <indexterm zone="pciutils lspci">
188 <primary sortas="b-lspci">lspci</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="setpci">
194 <term><command>setpci</command></term>
195 <listitem>
[564851b]196 <para>
197 is an utility for querying and configuring PCI devices.
198 </para>
[a9a6837e]199 <indexterm zone="pciutils setpci">
200 <primary sortas="b-setpci">setpci</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="update-pciids">
206 <term><command>update-pciids</command></term>
207 <listitem>
[564851b]208 <para>
209 fetches the current version of the PCI ID list. Requires
210 <xref linkend="curl"/>, <xref linkend="lynx"/> or
211 <xref linkend="wget"/>.
212 </para>
[a9a6837e]213 <indexterm zone="pciutils update-pciids">
214 <primary sortas="b-update-pciids">update-pciids</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
[38ec4bf]219 <varlistentry id="libpci">
[4890200]220 <term><filename class="libraryfile">libpci.so</filename></term>
[38ec4bf]221 <listitem>
[564851b]222 <para>
223 is library that allows applications to access the PCI
224 subsystem.
225 </para>
[38ec4bf]226 <indexterm zone="pciutils libpci">
[2a05c87]227 <primary sortas="c-libpci">libpci.so</primary>
[38ec4bf]228 </indexterm>
229 </listitem>
230 </varlistentry>
231
[a9a6837e]232 </variablelist>
233
234 </sect2>
[f45b1953]235
236</sect1>
Note: See TracBrowser for help on using the repository browser.