source: general/sysutils/pciutils.xml@ fb6e773

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 fb6e773 was ab989b88, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Move 2011 change log to a text file.
Update an error in the update-pciids script.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9167 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 " ">
8 <!ENTITY pciutils-download-ftp "ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci//pciutils-&pciutils-version;.tar.gz">
9 <!ENTITY pciutils-md5sum "79312f138311d29291c7d44d624cd37e">
10 <!ENTITY pciutils-size "372 KB">
11 <!ENTITY pciutils-buildsize "3.5 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 <!--
41 <listitem>
42 <para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para>
43 </listitem> -->
44 <listitem>
45 <para>Download (FTP): <ulink url="&pciutils-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &pciutils-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &pciutils-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &pciutils-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &pciutils-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <para condition="html" role="usernotes">User Notes:
62 <ulink url="&blfs-wiki;/pciutils"/></para>
63
64 </sect2>
65
66 <sect2 role="installation">
67 <title>Installation of PCI Utilities</title>
68
69 <para>First, fix a minor script error. If you want to compress the PCI
70 data, use 1 instead of 0 in the instruction below. The uncompressed data
71 is currently about 710KB.</para>
72
73<screen><userinput>sed -i -e 's/^PCI_COMPRESSED_IDS=/&amp;0/' update-pciids.sh </userinput></screen>
74
75 <para>Install <application>PCI Utilities</application> by
76 running the following commands:</para>
77
78<screen><userinput>make PREFIX=/usr ZLIB=no</userinput></screen>
79
80 <para>This package does not come with a test suite.</para>
81
82 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
83
84<screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
85
86 <para>Some packages require the PCI static library. To install the library
87 and headers, issue the following command as the
88 <systemitem class="username">root</systemitem> user:</para>
89
90<screen role="root"><userinput>make PREFIX=/usr install-lib</userinput></screen>
91
92 </sect2>
93
94 <sect2 role="commands">
95 <title>Command Explanations</title>
96
97 <para><parameter>ZLIB=no</parameter>: This parameter prevents compression of
98 the <filename>pci.ids</filename> file which is needed by other applications
99 such as <xref linkend="hal"/>.</para>
100 </sect2>
101
102 <sect2 role="configuration">
103 <title>Configuring PCI Utilities</title>
104
105 <para>The <filename>pci.ids</filename> data file is constantly being
106 updated. To get a current version of this file, run
107 <command>update-pciids</command> as the <systemitem
108 class="username">root</systemitem> user. This program requires the
109 <xref linkend="which"/> script or program to find <xref linkend="curl"/>,
110 <xref linkend="wget"/> or <xref linkend="lynx"/> which are used to
111 download the most current file, and then replace the existing file in
112 <filename class='directory'>/usr/share</filename>.</para>
113
114 <para>You may wish to add an entry to
115 <systemitem class="username">root</systemitem>'s (or any other user who
116 has write privilege to <filename class='directory'>/usr/share</filename>)
117 crontab to automatically update the <filename>pci.ids</filename> file
118 periodically.</para>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Programs</segtitle>
127 <segtitle>Installed Library</segtitle>
128 <segtitle>Installed Directory</segtitle>
129
130 <seglistitem>
131 <seg>lspci, setpci and update-pciids</seg>
132 <seg>libpci.a</seg>
133 <seg>/usr/include/pci</seg>
134 </seglistitem>
135 </segmentedlist>
136
137 <variablelist>
138 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
139 <?dbfo list-presentation="list"?>
140 <?dbhtml list-presentation="table"?>
141
142 <varlistentry id="lspci">
143 <term><command>lspci</command></term>
144 <listitem>
145 <para>is a utility for displaying information about all PCI buses in the
146 system and all devices connected to them.</para>
147 <indexterm zone="pciutils lspci">
148 <primary sortas="b-lspci">lspci</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="setpci">
154 <term><command>setpci</command></term>
155 <listitem>
156 <para>is a utility for querying and configuring PCI devices.</para>
157 <indexterm zone="pciutils setpci">
158 <primary sortas="b-setpci">setpci</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="update-pciids">
164 <term><command>update-pciids</command></term>
165 <listitem>
166 <para>fetches the current version of the PCI ID list. Requires
167 <xref linkend="curl"/>, <xref linkend="wget"/> or
168 <xref linkend="lynx"/>.</para>
169 <indexterm zone="pciutils update-pciids">
170 <primary sortas="b-update-pciids">update-pciids</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="libpci">
176 <term><filename role='library'>libpci.a</filename></term>
177 <listitem>
178 <para> is the static library that allows applications to access the PCI
179 subsystem.</para>
180 <indexterm zone="pciutils libpci">
181 <primary sortas="c-libpci">libpci.a</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.