source: general/sysutils/pciutils.xml@ adf6dd9a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 adf6dd9a 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
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">
9 <!ENTITY pciutils-md5sum "adb27c2d6ca54405115c532ae4c348e6">
10 <!ENTITY pciutils-size "272 KB">
11 <!ENTITY pciutils-buildsize "3.7 MB">
12 <!ENTITY pciutils-time "less than 0.1 SBU">
13]>
14
15<sect1 id="pciutils" xreflabel="pciutils-&pciutils-version;">
16 <?dbhtml filename="pciutils.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>pciutils-&pciutils-version;</title>
24
25 <indexterm zone="pciutils">
26 <primary sortas="a-pciutils">pciutils</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to PCI Utils</title>
31
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>
37
38 &lfs74_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&pciutils-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&pciutils-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &pciutils-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &pciutils-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &pciutils-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &pciutils-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/pciutils"/>
76 </para>
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of PCI Utils</title>
81
82 <para>
83 Install <application>PCI Utils</application> by
84 running the following commands:
85 </para>
86
87<screen><userinput>make PREFIX=/usr \
88 SHAREDIR=/usr/share/misc \
89 MANDIR=/usr/share/man \
90 SHARED=yes \
91 ZLIB=no \
92 all</userinput></screen>
93
94 <para>
95 This package does not come with a test suite.
96 </para>
97
98 <para>
99 Now, as the <systemitem class="username">root</systemitem> user:
100 </para>
101
102<screen role="root"><userinput>
103make PREFIX=/usr \
104 SHAREDIR=/usr/share/misc \
105 MANDIR=/usr/share/man \
106 SHARED=yes \
107 ZLIB=no \
108 install install-lib &amp;&amp;
109
110chmod -v 755 /usr/lib/libpci.so.&pciutils-version;</userinput></screen>
111
112 </sect2>
113
114 <sect2 role="commands">
115 <title>Command Explanations</title>
116
117 <para>
118 <parameter>SHARED=yes</parameter>: This parameter enables building of
119 shared library instead of static one.
120 </para>
121
122 <para>
123 <parameter>ZLIB=no</parameter>: This parameter prevents compression of
124 the <filename>pci.ids</filename> file.
125 </para>
126
127
128 </sect2>
129
130 <sect2 role="configuration">
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>
151
152 </sect2>
153
154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159 <segtitle>Installed Library</segtitle>
160 <segtitle>Installed Directory</segtitle>
161
162 <seglistitem>
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>
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>
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>
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>
196 <para>
197 is an utility for querying and configuring PCI devices.
198 </para>
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>
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>
213 <indexterm zone="pciutils update-pciids">
214 <primary sortas="b-update-pciids">update-pciids</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="libpci">
220 <term><filename class="libraryfile">libpci.so</filename></term>
221 <listitem>
222 <para>
223 is library that allows applications to access the PCI
224 subsystem.
225 </para>
226 <indexterm zone="pciutils libpci">
227 <primary sortas="c-libpci">libpci.so</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 </variablelist>
233
234 </sect2>
235
236</sect1>
Note: See TracBrowser for help on using the repository browser.