source: general/sysutils/pciutils.xml@ ab0209e

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

freetype 2.4.9, fontconfig 2.9.0, libtasn1 1.12, p11-kit 0.12, gnutls 3.0.17, desktop-file-utils 0.20, pciutils 3.1.9

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

  • Property mode set to 100644
File size: 6.4 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">
9 <!ENTITY pciutils-md5sum "82b649eb00d12b81ab57f83780bc2bc8">
10 <!ENTITY pciutils-size "260 KB">
11 <!ENTITY pciutils-buildsize "3.0 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>
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
[539ace5]32 <para>The <application>PCI Utilities</application> package
33 is a set of programs for listing PCI devices, inspecting
[a9a6837e]34 their status and setting their configuration registers.</para>
35
[b636e399]36 &lfs70_checked;
[fd91fea]37
[a9a6837e]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para>
[2a05c87]42 </listitem>
[a9a6837e]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
[1039de3]60 <para condition="html" role="usernotes">User Notes:
61 <ulink url="&blfs-wiki;/pciutils"/></para>
62
[2969aa8]63 </sect2>
64
[143ed74]65 <sect2 role="installation">
66 <title>Installation of PCI Utilities</title>
67
[ab989b88]68 <para>First, fix a minor script error. If you want to compress the PCI
69 data, use 1 instead of 0 in the instruction below. The uncompressed data
70 is currently about 710KB.</para>
71
72<screen><userinput>sed -i -e 's/^PCI_COMPRESSED_IDS=/&amp;0/' update-pciids.sh </userinput></screen>
73
[a9a6837e]74 <para>Install <application>PCI Utilities</application> by
75 running the following commands:</para>
76
[2a05c87]77<screen><userinput>make PREFIX=/usr MANDIR=/usr/share/man \
78 ZLIB=no SHARED=yes all</userinput></screen>
[a9a6837e]79
[f6f06932]80 <para>This package does not come with a test suite.</para>
81
[a9a6837e]82 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
83
[2a05c87]84<screen role="root"><userinput>make PREFIX=/usr MANDIR=/usr/share/man \
85 install install-lib</userinput></screen>
[fd91fea]86
[a9a6837e]87 </sect2>
88
[0829916]89 <sect2 role="commands">
90 <title>Command Explanations</title>
91
[a41f643]92 <para><parameter>ZLIB=no</parameter>: This parameter prevents compression of
[6b54763]93 the <filename>pci.ids</filename> file.</para>
[2a05c87]94
95 <para><parameter>SHARED=yes</parameter>: This parameter enables building of
96 shared library instead of static one.</para>
97
[0829916]98 </sect2>
99
[c0913c4]100 <sect2 role="configuration">
101 <title>Configuring PCI Utilities</title>
[bccbdaea]102
[4b989d2]103 <para>The <filename>pci.ids</filename> data file is constantly being
104 updated. To get a current version of this file, run
105 <command>update-pciids</command> as the <systemitem
106 class="username">root</systemitem> user. This program requires the
[43b1987f]107 <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
108 <xref linkend="wget"/> or <xref linkend="lynx"/> which are used to
[1ed12e2d]109 download the most current file, and then replace the existing file in
[5d28679b]110 <filename class='directory'>/usr/share</filename>.</para>
[c0913c4]111
[1ed12e2d]112 <para>You may wish to add an entry to
113 <systemitem class="username">root</systemitem>'s (or any other user who
114 has write privilege to <filename class='directory'>/usr/share</filename>)
115 crontab to automatically update the <filename>pci.ids</filename> file
116 periodically.</para>
117
[c0913c4]118 </sect2>
119
[a9a6837e]120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Programs</segtitle>
[1ed12e2d]125 <segtitle>Installed Library</segtitle>
126 <segtitle>Installed Directory</segtitle>
[a9a6837e]127
128 <seglistitem>
129 <seg>lspci, setpci and update-pciids</seg>
[2a05c87]130 <seg>libpci.so</seg>
[52c44ebf]131 <seg>/usr/include/pci</seg>
[a9a6837e]132 </seglistitem>
133 </segmentedlist>
134
135 <variablelist>
136 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
137 <?dbfo list-presentation="list"?>
138 <?dbhtml list-presentation="table"?>
139
140 <varlistentry id="lspci">
141 <term><command>lspci</command></term>
142 <listitem>
[539ace5]143 <para>is a utility for displaying information about all PCI buses in the
[a9a6837e]144 system and all devices connected to them.</para>
145 <indexterm zone="pciutils lspci">
146 <primary sortas="b-lspci">lspci</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="setpci">
152 <term><command>setpci</command></term>
153 <listitem>
154 <para>is a utility for querying and configuring PCI devices.</para>
155 <indexterm zone="pciutils setpci">
156 <primary sortas="b-setpci">setpci</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="update-pciids">
162 <term><command>update-pciids</command></term>
163 <listitem>
[539ace5]164 <para>fetches the current version of the PCI ID list. Requires
[1ed12e2d]165 <xref linkend="curl"/>, <xref linkend="wget"/> or
166 <xref linkend="lynx"/>.</para>
[a9a6837e]167 <indexterm zone="pciutils update-pciids">
168 <primary sortas="b-update-pciids">update-pciids</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
[38ec4bf]173 <varlistentry id="libpci">
[2a05c87]174 <term><filename role='library'>libpci.so</filename></term>
[38ec4bf]175 <listitem>
[2a05c87]176 <para>is library that allows applications to access the PCI
[52c44ebf]177 subsystem.</para>
[38ec4bf]178 <indexterm zone="pciutils libpci">
[2a05c87]179 <primary sortas="c-libpci">libpci.so</primary>
[38ec4bf]180 </indexterm>
181 </listitem>
182 </varlistentry>
183
[a9a6837e]184 </variablelist>
185
186 </sect2>
[f45b1953]187
188</sect1>
Note: See TracBrowser for help on using the repository browser.