source: general/sysutils/pciutils.xml@ 5d28679b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 5d28679b was 5d28679b, checked in by Randy McMurchy <randy@…>, 18 years ago

Applied a patch sent in by Chris Staub to suppress some unneeded screen output by the update-pciids command

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

  • Property mode set to 100644
File size: 6.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pciutils-download-http "http://www.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
8 <!ENTITY pciutils-download-ftp "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
9 <!ENTITY pciutils-md5sum "483a08dc864ec42497ad95310bb1a8ee">
10 <!ENTITY pciutils-size "176 KB">
11 <!ENTITY pciutils-buildsize "2.1 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 <keywordset>
22 <keyword role="package">pciutils-&pciutils-version;.tar</keyword>
23 <keyword role="ftpdir">pciutils</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>PCI Utilities-&pciutils-version;</title>
28
29 <indexterm zone="pciutils">
30 <primary sortas="a-PCI-Utilities">PCI Utilities</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to PCI Utilities</title>
35
36 <para>The <application>PCI Utilities</application> package
37 is a set of programs for listing PCI devices, inspecting
38 their status and setting their configuration registers.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&pciutils-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &pciutils-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &pciutils-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &pciutils-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &pciutils-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 </sect2>
63
64 <sect2 role="installation">
65 <title>Installation of PCI Utilities</title>
66
67 <para>Install <application>PCI Utilities</application> by
68 running the following commands:</para>
69
70<screen><userinput>sed -i 's/null ;/null 2>\&amp;1 ;/' update-pciids.sh &amp;&amp;
71make PREFIX=/usr</userinput></screen>
72
73 <para>This package does not come with a test suite.</para>
74
75 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
76
77<screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
78
79 <para>Some packages require the PCI static library. To install the library
80 and headers, issue the following commands as the
81 <systemitem class="username">root</systemitem> user:</para>
82
83<screen role="root"><userinput>install -v -m 755 -d /usr/include/pci &amp;&amp;
84install -v -m 644 lib/libpci.a /usr/lib &amp;&amp;
85install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
86
87 </sect2>
88
89 <sect2 role="commands">
90 <title>Command Explanations</title>
91
92 <para><command>sed -i 's/null ;/null 2>\&amp;1 ;/'
93 update-pciids.sh</command>: This command suppresses some unneeded screen
94 output from the <command>update-pciids</command> command if you don't have
95 either <application>Lynx</application> or <application>Wget</application>
96 installed by redirecting the stderr output of the embedded
97 <command>which</command> command to <filename>/dev/null</filename>.</para>
98
99 </sect2>
100
101 <sect2 role="configuration">
102 <title>Configuring PCI Utilities</title>
103
104 <para>The <filename>pci.ids</filename> data file is constantly being
105 updated. To get a current version of this file, run
106 <command>update-pciids</command> as the <systemitem
107 class="username">root</systemitem> user. This program requires the
108 <xref linkend='which'/> script or program to find <xref linkend='wget'/>
109 or <xref linkend='lynx'/> which are used to fetch the most current file,
110 and then replace the existing file in
111 <filename class='directory'>/usr/share</filename>.</para>
112
113 </sect2>
114
115 <sect2 role="content">
116 <title>Contents</title>
117
118 <segmentedlist>
119 <segtitle>Installed Programs</segtitle>
120 <segtitle>Installed Libraries</segtitle>
121 <segtitle>Installed Directories</segtitle>
122
123 <seglistitem>
124 <seg>lspci, setpci and update-pciids</seg>
125 <seg>libpci.a</seg>
126 <seg>/usr/include/pci</seg>
127 </seglistitem>
128 </segmentedlist>
129
130 <variablelist>
131 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
132 <?dbfo list-presentation="list"?>
133 <?dbhtml list-presentation="table"?>
134
135 <varlistentry id="lspci">
136 <term><command>lspci</command></term>
137 <listitem>
138 <para>is a utility for displaying information about all PCI buses in the
139 system and all devices connected to them.</para>
140 <indexterm zone="pciutils lspci">
141 <primary sortas="b-lspci">lspci</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry id="setpci">
147 <term><command>setpci</command></term>
148 <listitem>
149 <para>is a utility for querying and configuring PCI devices.</para>
150 <indexterm zone="pciutils setpci">
151 <primary sortas="b-setpci">setpci</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="update-pciids">
157 <term><command>update-pciids</command></term>
158 <listitem>
159 <para>fetches the current version of the PCI ID list. Requires
160 <xref linkend="wget"/> or <xref linkend="lynx"/>.</para>
161 <indexterm zone="pciutils update-pciids">
162 <primary sortas="b-update-pciids">update-pciids</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="libpci">
168 <term><filename role='library'>libpci.a</filename></term>
169 <listitem>
170 <para> is the static library that allows applications to access the PCI
171 subsystem.</para>
172 <indexterm zone="pciutils libpci">
173 <primary sortas="c-libpci">libpci.a</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 </variablelist>
179
180 </sect2>
181
182</sect1>
Note: See TracBrowser for help on using the repository browser.