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

lazarus trunk
Last change on this file since 1c6da08 was 1c6da08, checked in by Xi Ruoyao <xry111@…>, 3 months ago

pciutils: Use hwdata package for pci.ids

  • Property mode set to 100644
File size: 5.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 "https://mj.ucw.cz/download/linux/pci/pciutils-&pciutils-version;.tar.gz">
8 <!ENTITY pciutils-download-ftp " ">
9 <!ENTITY pciutils-md5sum "0eec4c00519bfaf50012720c04cc7566">
10 <!ENTITY pciutils-size "645 KB">
11 <!ENTITY pciutils-buildsize "5.7 MB">
12 <!ENTITY pciutils-time "less than 0.1 SBU">
13]>
14
15<sect1 id="pciutils" xreflabel="pciutils-&pciutils-version;">
16 <?dbhtml filename="pciutils.html"?>
17
18
19 <title>pciutils-&pciutils-version;</title>
20
21 <indexterm zone="pciutils">
22 <primary sortas="a-pciutils">pciutils</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to PCI Utils</title>
27
28 <para>
29 The <application>PCI Utils</application> package contains
30 a set of programs for listing PCI devices, inspecting
31 their status and setting their configuration registers.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&pciutils-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&pciutils-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &pciutils-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &pciutils-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &pciutils-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &pciutils-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">pciutils Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended">
74 <xref role="runtime" linkend="hwdata"/> (runtime)
75 </para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of PCI Utils</title>
81
82 <para>
83 Prevent the installation of the <filename>pci.ids</filename> file
84 to avoid a conflict with the <xref linkend='hwdata'/> package:
85 </para>
86
87 <screen><userinput>sed -r '/INSTALL.*(PCI_IDS|update-pciids)/d' \
88 -i Makefile</userinput></screen>
89
90 <para>
91 Install <application>PCI Utils</application> by
92 running the following commands:
93 </para>
94
95<screen><userinput>make PREFIX=/usr \
96 SHAREDIR=/usr/share/hwdata \
97 SHARED=yes</userinput></screen>
98
99 <para>
100 This package does not come with a test suite.
101 </para>
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>make PREFIX=/usr \
108 SHAREDIR=/usr/share/hwdata \
109 SHARED=yes \
110 install install-lib &amp;&amp;
111
112chmod -v 755 /usr/lib/libpci.so</userinput></screen>
113
114 <para>
115 Now install the <xref linkend='hwdata'/> package for the
116 <filename>pci.ids</filename> file.
117 </para>
118
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
124 <para>
125 <parameter>SHARED=yes</parameter>: This parameter enables building of
126 the shared library instead of the static one.
127 </para>
128
129 <para>
130 <option>ZLIB=no</option>: This option prevents compression of
131 the <filename>pci.ids</filename> file.
132 </para>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Library</segtitle>
142 <segtitle>Installed Directory</segtitle>
143
144 <seglistitem>
145 <seg>
146 lspci and setpci
147 </seg>
148 <seg>
149 libpci.so
150 </seg>
151 <seg>
152 /usr/include/pci and /usr/share/hwdata
153 </seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="lspci">
163 <term><command>lspci</command></term>
164 <listitem>
165 <para>
166 is a utility for displaying information about all PCI buses
167 in the system and all devices connected to them
168 </para>
169 <indexterm zone="pciutils lspci">
170 <primary sortas="b-lspci">lspci</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="setpci">
176 <term><command>setpci</command></term>
177 <listitem>
178 <para>
179 is a utility for querying and configuring PCI devices
180 </para>
181 <indexterm zone="pciutils setpci">
182 <primary sortas="b-setpci">setpci</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="libpci">
188 <term><filename class="libraryfile">libpci.so</filename></term>
189 <listitem>
190 <para>
191 is a library that allows applications to access the PCI
192 subsystem
193 </para>
194 <indexterm zone="pciutils libpci">
195 <primary sortas="c-libpci">libpci.so</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 </variablelist>
201
202 </sect2>
203
204</sect1>
Note: See TracBrowser for help on using the repository browser.