source: general/sysutils/pciutils.xml@ c503fad7

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 c503fad7 was c503fad7, checked in by Krejzi <krejzi@…>, 12 years ago

Fix libtirpc build instructions to avoid .la file weirdness. Add new parameter to pciutils make command and recommend librsvg for eog.

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

  • Property mode set to 100644
File size: 6.4 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 "82b649eb00d12b81ab57f83780bc2bc8">
10 <!ENTITY pciutils-size "260 KB">
11 <!ENTITY pciutils-buildsize "3.0 MB">
12 <!ENTITY pciutils-time "less than 0.1 SBU">
13]>
14
15<sect1 id="pciutils" xreflabel="PCI Utilities-&pciutils-version;">
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
32 <para>The <application>PCI Utilities</application> package
33 is a set of programs for listing PCI devices, inspecting
34 their status and setting their configuration registers.</para>
35
36 &lfs70_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&pciutils-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &pciutils-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &pciutils-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &pciutils-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &pciutils-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <para condition="html" role="usernotes">User Notes:
61 <ulink url="&blfs-wiki;/pciutils"/></para>
62
63 </sect2>
64
65 <sect2 role="installation">
66 <title>Installation of PCI Utilities</title>
67
68 <para>
69 Install <application>PCI Utilities</application> by
70 running the following commands:
71 </para>
72
73<screen><userinput>make PREFIX=/usr MANDIR=/usr/share/man \
74 ZLIB=no SHARED=yes PCI_COMPRESSED_IDS=0 all</userinput></screen>
75
76 <para>
77 This package does not come with a test suite.
78 </para>
79
80 <para>
81 Now, as the <systemitem class="username">root</systemitem> user:
82 </para>
83
84<screen role="root"><userinput>make PREFIX=/usr MANDIR=/usr/share/man \
85 ZLIB=no SHARED=yes PCI_COMPRESSED_IDS=0 \
86 install install-lib</userinput></screen>
87
88 </sect2>
89
90 <sect2 role="commands">
91 <title>Command Explanations</title>
92
93 <para>
94 <parameter>ZLIB=no</parameter>: This parameter prevents compression of
95 the <filename>pci.ids</filename> file.
96 </para>
97
98 <para>
99 <parameter>SHARED=yes</parameter>: This parameter enables building of
100 shared library instead of static one.
101 </para>
102
103 <para>
104 <parameter>PCI_COMPRESSED_IDS=0</parameter>: This parameter ensures
105 that compression won't be used when updating <filename>pci.ids</filename>.
106 </para>
107
108 </sect2>
109
110 <sect2 role="configuration">
111 <title>Configuring PCI Utilities</title>
112
113 <para>The <filename>pci.ids</filename> data file is constantly being
114 updated. To get a current version of this file, run
115 <command>update-pciids</command> as the <systemitem
116 class="username">root</systemitem> user. This program requires the
117 <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
118 <xref linkend="wget"/> or <xref linkend="lynx"/> which are used to
119 download the most current file, and then replace the existing file in
120 <filename class='directory'>/usr/share</filename>.</para>
121
122 <para>You may wish to add an entry to
123 <systemitem class="username">root</systemitem>'s (or any other user who
124 has write privilege to <filename class='directory'>/usr/share</filename>)
125 crontab to automatically update the <filename>pci.ids</filename> file
126 periodically.</para>
127
128 </sect2>
129
130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
134 <segtitle>Installed Programs</segtitle>
135 <segtitle>Installed Library</segtitle>
136 <segtitle>Installed Directory</segtitle>
137
138 <seglistitem>
139 <seg>lspci, setpci and update-pciids</seg>
140 <seg>libpci.so</seg>
141 <seg>/usr/include/pci</seg>
142 </seglistitem>
143 </segmentedlist>
144
145 <variablelist>
146 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
147 <?dbfo list-presentation="list"?>
148 <?dbhtml list-presentation="table"?>
149
150 <varlistentry id="lspci">
151 <term><command>lspci</command></term>
152 <listitem>
153 <para>is a utility for displaying information about all PCI buses in the
154 system and all devices connected to them.</para>
155 <indexterm zone="pciutils lspci">
156 <primary sortas="b-lspci">lspci</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="setpci">
162 <term><command>setpci</command></term>
163 <listitem>
164 <para>is a utility for querying and configuring PCI devices.</para>
165 <indexterm zone="pciutils setpci">
166 <primary sortas="b-setpci">setpci</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="update-pciids">
172 <term><command>update-pciids</command></term>
173 <listitem>
174 <para>fetches the current version of the PCI ID list. Requires
175 <xref linkend="curl"/>, <xref linkend="wget"/> or
176 <xref linkend="lynx"/>.</para>
177 <indexterm zone="pciutils update-pciids">
178 <primary sortas="b-update-pciids">update-pciids</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="libpci">
184 <term><filename role='library'>libpci.so</filename></term>
185 <listitem>
186 <para>is library that allows applications to access the PCI
187 subsystem.</para>
188 <indexterm zone="pciutils libpci">
189 <primary sortas="c-libpci">libpci.so</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 </variablelist>
195
196 </sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.