source: general/sysutils/pciutils.xml@ 1ed12e2d

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 1ed12e2d was 1ed12e2d, checked in by Randy McMurchy <randy@…>, 18 years ago

Added new package usbutils-0.72

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

  • Property mode set to 100644
File size: 6.8 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 "86cc20eaa0360587497a8105d33e57fc">
10 <!ENTITY pciutils-size "1.1 MB">
11 <!ENTITY pciutils-buildsize "3.3 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 <para condition="html" role="usernotes">User Notes:
63 <ulink url="&blfs-wiki;/pciutils"/></para>
64
65 </sect2>
66
67 <sect2 role="installation">
68 <title>Installation of PCI Utilities</title>
69
70 <para>Install <application>PCI Utilities</application> by
71 running the following commands:</para>
72
73<screen><userinput>sed -i 's/null ;/null 2>\&amp;1 ;/' update-pciids.sh &amp;&amp;
74make PREFIX=/usr</userinput></screen>
75
76 <para>This package does not come with a test suite.</para>
77
78 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
79
80<screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
81
82 <para>Some packages require the PCI static library. To install the library
83 and headers, issue the following commands as the
84 <systemitem class="username">root</systemitem> user:</para>
85
86<screen role="root"><userinput>install -v -m 755 -d /usr/include/pci &amp;&amp;
87install -v -m 644 lib/libpci.a /usr/lib &amp;&amp;
88install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
89
90 </sect2>
91
92 <sect2 role="commands">
93 <title>Command Explanations</title>
94
95 <para><command>sed -i 's/null ;/null 2>\&amp;1 ;/'
96 update-pciids.sh</command>: This command suppresses some unneeded screen
97 output from the <command>update-pciids</command> command if you don't have
98 either <application>Lynx</application> or <application>Wget</application>
99 installed by redirecting the stderr output of the embedded
100 <command>which</command> command to <filename>/dev/null</filename>.</para>
101
102 </sect2>
103
104 <sect2 role="configuration">
105 <title>Configuring PCI Utilities</title>
106
107 <para>The <filename>pci.ids</filename> data file is constantly being
108 updated. To get a current version of this file, run
109 <command>update-pciids</command> as the <systemitem
110 class="username">root</systemitem> user. This program requires the
111 <xref linkend='which'/> script or program to find <xref linkend='curl'/>,
112 <xref linkend='wget'/> or <xref linkend='lynx'/> which are used to
113 download the most current file, and then replace the existing file in
114 <filename class='directory'>/usr/share</filename>.</para>
115
116 <para>You may wish to add an entry to
117 <systemitem class="username">root</systemitem>'s (or any other user who
118 has write privilege to <filename class='directory'>/usr/share</filename>)
119 crontab to automatically update the <filename>pci.ids</filename> file
120 periodically.</para>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Library</segtitle>
130 <segtitle>Installed Directory</segtitle>
131
132 <seglistitem>
133 <seg>lspci, setpci and update-pciids</seg>
134 <seg>libpci.a</seg>
135 <seg>/usr/include/pci</seg>
136 </seglistitem>
137 </segmentedlist>
138
139 <variablelist>
140 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
141 <?dbfo list-presentation="list"?>
142 <?dbhtml list-presentation="table"?>
143
144 <varlistentry id="lspci">
145 <term><command>lspci</command></term>
146 <listitem>
147 <para>is a utility for displaying information about all PCI buses in the
148 system and all devices connected to them.</para>
149 <indexterm zone="pciutils lspci">
150 <primary sortas="b-lspci">lspci</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="setpci">
156 <term><command>setpci</command></term>
157 <listitem>
158 <para>is a utility for querying and configuring PCI devices.</para>
159 <indexterm zone="pciutils setpci">
160 <primary sortas="b-setpci">setpci</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="update-pciids">
166 <term><command>update-pciids</command></term>
167 <listitem>
168 <para>fetches the current version of the PCI ID list. Requires
169 <xref linkend="curl"/>, <xref linkend="wget"/> or
170 <xref linkend="lynx"/>.</para>
171 <indexterm zone="pciutils update-pciids">
172 <primary sortas="b-update-pciids">update-pciids</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="libpci">
178 <term><filename role='library'>libpci.a</filename></term>
179 <listitem>
180 <para> is the static library that allows applications to access the PCI
181 subsystem.</para>
182 <indexterm zone="pciutils libpci">
183 <primary sortas="c-libpci">libpci.a</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 </variablelist>
189
190 </sect2>
191
192</sect1>
Note: See TracBrowser for help on using the repository browser.