source: general/sysutils/pciutils.xml@ 138858f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 138858f was 138858f, checked in by Thomas Trepl <thomas@…>, 6 years ago

Update pciutils-3.6.1

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

  • Property mode set to 100644
File size: 7.5 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
[8dfc5c3]7 <!ENTITY pciutils-download-http "&kernel-dl;/software/utils/pciutils/pciutils-&pciutils-version;.tar.xz">
[303d9be]8 <!ENTITY pciutils-download-ftp " ">
[138858f]9 <!ENTITY pciutils-md5sum "1adbcc258030ea92609100703f29c92c">
[9dac80b]10 <!ENTITY pciutils-size "324 KB">
11 <!ENTITY pciutils-buildsize "3.0 MB">
[049ffc5]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
[0a43695]38 &lfs82_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
[94f93146]87<screen><userinput>make PREFIX=/usr \
88 SHAREDIR=/usr/share/hwdata \
[857e2fb]89 SHARED=yes</userinput></screen>
[a9a6837e]90
[c503fad7]91 <para>
92 This package does not come with a test suite.
93 </para>
[f6f06932]94
[c503fad7]95 <para>
96 Now, as the <systemitem class="username">root</systemitem> user:
97 </para>
[a9a6837e]98
[7089c646]99<screen role="root"><userinput>make PREFIX=/usr \
[94f93146]100 SHAREDIR=/usr/share/hwdata \
101 SHARED=yes \
102 install install-lib &amp;&amp;
[5f26d66f]103
[857e2fb]104chmod -v 755 /usr/lib/libpci.so</userinput></screen>
[fd91fea]105
[a9a6837e]106 </sect2>
107
[0829916]108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
[c503fad7]111 <para>
112 <parameter>SHARED=yes</parameter>: This parameter enables building of
[d900e405]113 the shared library instead of the static one.
[c503fad7]114 </para>
[2a05c87]115
[c503fad7]116 <para>
[857e2fb]117 <option>ZLIB=no</option>: This option prevents compression of
[564851b]118 the <filename>pci.ids</filename> file.
[c503fad7]119 </para>
[2a05c87]120
[0829916]121 </sect2>
122
[c0913c4]123 <sect2 role="configuration">
[564851b]124 <title>Configuring PCI Utils</title>
125
126 <para>
127 The <filename>pci.ids</filename> data file is constantly being
128 updated. To get a current version of this file, run
129 <command>update-pciids</command> as the <systemitem
130 class="username">root</systemitem> user. This program requires the
131 <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
132 <xref linkend="lynx"/> or <xref linkend="wget"/> which are used to
133 download the most current file, and then replace the existing file in
[7b6d7cd]134 <filename class="directory">/usr/share/hwdata</filename>.
[564851b]135 </para>
136
[ac8c7d4]137 <para revision="sysv">
[564851b]138 You may wish to add an entry to
139 <systemitem class="username">root</systemitem>'s (or any other user who has
[7b6d7cd]140 write privilege to <filename class="directory">/usr/share/hwdata</filename>)
[564851b]141 crontab to automatically update the <filename>pci.ids</filename> file
142 periodically.
143 </para>
[1ed12e2d]144
[ac8c7d4]145 <para revision="systemd">
146 You should update the <filename>/usr/share/hwdata/pci.ids</filename> file
147 periodically. Execute the following commands, as the
148 <systemitem class="username">root</systemitem> user, to create a systemd
[df9499b]149 timer to update it weekly on Sundays at 2:30 A.M. (local time):
[ac8c7d4]150 </para>
151
152<screen role="root" revision="systemd"><userinput>cat &gt; /lib/systemd/system/update-pciids.service &lt;&lt; "EOF" &amp;&amp;
153<literal>[Unit]
154Description=Update pci.ids file
155Documentation=man:update-pciids(8)
156DefaultDependencies=no
157After=local-fs.target
158Before=shutdown.target
159
160[Service]
161Type=oneshot
162RemainAfterExit=yes
163ExecStart=/usr/sbin/update-pciids</literal>
164EOF
165cat &gt; /lib/systemd/system/update-pciids.timer &lt;&lt; "EOF" &amp;&amp;
166<literal>[Unit]
167Description=Update pci.ids file weekly
168
169[Timer]
170OnCalendar=Sun 02:30:00
171Persistent=true
172
173[Install]
174WantedBy=timers.target</literal>
175EOF
[df9499b]176systemctl enable update-pciids.timer</userinput></screen>
[ac8c7d4]177
178
[c0913c4]179 </sect2>
180
[a9a6837e]181 <sect2 role="content">
182 <title>Contents</title>
183
184 <segmentedlist>
185 <segtitle>Installed Programs</segtitle>
[1ed12e2d]186 <segtitle>Installed Library</segtitle>
187 <segtitle>Installed Directory</segtitle>
[a9a6837e]188
189 <seglistitem>
[564851b]190 <seg>
[29efd929]191 lspci, setpci, and update-pciids
[564851b]192 </seg>
193 <seg>
194 libpci.so
195 </seg>
196 <seg>
[29efd929]197 /usr/include/pci and /usr/share/hwdata
[564851b]198 </seg>
[a9a6837e]199 </seglistitem>
200 </segmentedlist>
201
202 <variablelist>
203 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
204 <?dbfo list-presentation="list"?>
205 <?dbhtml list-presentation="table"?>
206
207 <varlistentry id="lspci">
208 <term><command>lspci</command></term>
209 <listitem>
[564851b]210 <para>
[73fe507]211 is a utility for displaying information about all PCI buses
[564851b]212 in the system and all devices connected to them.
213 </para>
[a9a6837e]214 <indexterm zone="pciutils lspci">
215 <primary sortas="b-lspci">lspci</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="setpci">
221 <term><command>setpci</command></term>
222 <listitem>
[564851b]223 <para>
[73fe507]224 is a utility for querying and configuring PCI devices.
[564851b]225 </para>
[a9a6837e]226 <indexterm zone="pciutils setpci">
227 <primary sortas="b-setpci">setpci</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="update-pciids">
233 <term><command>update-pciids</command></term>
234 <listitem>
[564851b]235 <para>
236 fetches the current version of the PCI ID list. Requires
237 <xref linkend="curl"/>, <xref linkend="lynx"/> or
238 <xref linkend="wget"/>.
239 </para>
[a9a6837e]240 <indexterm zone="pciutils update-pciids">
241 <primary sortas="b-update-pciids">update-pciids</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
[38ec4bf]246 <varlistentry id="libpci">
[4890200]247 <term><filename class="libraryfile">libpci.so</filename></term>
[38ec4bf]248 <listitem>
[564851b]249 <para>
250 is library that allows applications to access the PCI
251 subsystem.
252 </para>
[38ec4bf]253 <indexterm zone="pciutils libpci">
[2a05c87]254 <primary sortas="c-libpci">libpci.so</primary>
[38ec4bf]255 </indexterm>
256 </listitem>
257 </varlistentry>
258
[a9a6837e]259 </variablelist>
260
261 </sect2>
[f45b1953]262
263</sect1>
Note: See TracBrowser for help on using the repository browser.