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
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[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
[75b1a338]7 <!ENTITY pciutils-download-http "https://mj.ucw.cz/download/linux/pci/pciutils-&pciutils-version;.tar.gz">
[303d9be]8 <!ENTITY pciutils-download-ftp " ">
[f18673f]9 <!ENTITY pciutils-md5sum "0eec4c00519bfaf50012720c04cc7566">
10 <!ENTITY pciutils-size "645 KB">
[cc61006]11 <!ENTITY pciutils-buildsize "5.7 MB">
[049ffc5]12 <!ENTITY pciutils-time "less than 0.1 SBU">
[52d29f7]13]>
14
[4890200]15<sect1 id="pciutils" xreflabel="pciutils-&pciutils-version;">
[a9a6837e]16 <?dbhtml filename="pciutils.html"?>
17
18
[4890200]19 <title>pciutils-&pciutils-version;</title>
[a9a6837e]20
21 <indexterm zone="pciutils">
[4890200]22 <primary sortas="a-pciutils">pciutils</primary>
[a9a6837e]23 </indexterm>
24
25 <sect2 role="package">
[564851b]26 <title>Introduction to PCI Utils</title>
[a9a6837e]27
[564851b]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>
[a9a6837e]33
[b9874725]34 &lfs121_checked;
[fd91fea]35
[a9a6837e]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
[564851b]39 <para>
40 Download (HTTP): <ulink url="&pciutils-download-http;"/>
41 </para>
[2a05c87]42 </listitem>
[a9a6837e]43 <listitem>
[564851b]44 <para>
45 Download (FTP): <ulink url="&pciutils-download-ftp;"/>
46 </para>
[a9a6837e]47 </listitem>
48 <listitem>
[564851b]49 <para>
50 Download MD5 sum: &pciutils-md5sum;
51 </para>
[a9a6837e]52 </listitem>
53 <listitem>
[564851b]54 <para>
55 Download size: &pciutils-size;
56 </para>
[a9a6837e]57 </listitem>
58 <listitem>
[564851b]59 <para>
60 Estimated disk space required: &pciutils-buildsize;
61 </para>
[a9a6837e]62 </listitem>
63 <listitem>
[564851b]64 <para>
65 Estimated build time: &pciutils-time;
66 </para>
[a9a6837e]67 </listitem>
68 </itemizedlist>
[eae7f55]69
70 <bridgehead renderas="sect3">pciutils Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended">
[1c6da08]74 <xref role="runtime" linkend="hwdata"/> (runtime)
[eae7f55]75 </para>
[a9a6837e]76
[2969aa8]77 </sect2>
78
[143ed74]79 <sect2 role="installation">
[564851b]80 <title>Installation of PCI Utils</title>
[143ed74]81
[1c6da08]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
[c503fad7]90 <para>
[564851b]91 Install <application>PCI Utils</application> by
[c503fad7]92 running the following commands:
93 </para>
[a9a6837e]94
[94f93146]95<screen><userinput>make PREFIX=/usr \
96 SHAREDIR=/usr/share/hwdata \
[857e2fb]97 SHARED=yes</userinput></screen>
[a9a6837e]98
[c503fad7]99 <para>
100 This package does not come with a test suite.
101 </para>
[f6f06932]102
[c503fad7]103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
[a9a6837e]106
[7089c646]107<screen role="root"><userinput>make PREFIX=/usr \
[94f93146]108 SHAREDIR=/usr/share/hwdata \
109 SHARED=yes \
110 install install-lib &amp;&amp;
[5f26d66f]111
[857e2fb]112chmod -v 755 /usr/lib/libpci.so</userinput></screen>
[fd91fea]113
[1c6da08]114 <para>
115 Now install the <xref linkend='hwdata'/> package for the
116 <filename>pci.ids</filename> file.
117 </para>
118
[a9a6837e]119 </sect2>
120
[0829916]121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
[c503fad7]124 <para>
125 <parameter>SHARED=yes</parameter>: This parameter enables building of
[d900e405]126 the shared library instead of the static one.
[c503fad7]127 </para>
[2a05c87]128
[c503fad7]129 <para>
[857e2fb]130 <option>ZLIB=no</option>: This option prevents compression of
[564851b]131 the <filename>pci.ids</filename> file.
[c503fad7]132 </para>
[2a05c87]133
[c0913c4]134 </sect2>
135
[a9a6837e]136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
[1ed12e2d]141 <segtitle>Installed Library</segtitle>
142 <segtitle>Installed Directory</segtitle>
[a9a6837e]143
144 <seglistitem>
[564851b]145 <seg>
[1c6da08]146 lspci and setpci
[564851b]147 </seg>
148 <seg>
149 libpci.so
150 </seg>
151 <seg>
[29efd929]152 /usr/include/pci and /usr/share/hwdata
[564851b]153 </seg>
[a9a6837e]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>
[564851b]165 <para>
[73fe507]166 is a utility for displaying information about all PCI buses
[4c24eb0a]167 in the system and all devices connected to them
[564851b]168 </para>
[a9a6837e]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>
[564851b]178 <para>
[4c24eb0a]179 is a utility for querying and configuring PCI devices
[564851b]180 </para>
[a9a6837e]181 <indexterm zone="pciutils setpci">
182 <primary sortas="b-setpci">setpci</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
[38ec4bf]187 <varlistentry id="libpci">
[4890200]188 <term><filename class="libraryfile">libpci.so</filename></term>
[38ec4bf]189 <listitem>
[564851b]190 <para>
[0feefc9f]191 is a library that allows applications to access the PCI
[4c24eb0a]192 subsystem
[564851b]193 </para>
[38ec4bf]194 <indexterm zone="pciutils libpci">
[2a05c87]195 <primary sortas="c-libpci">libpci.so</primary>
[38ec4bf]196 </indexterm>
197 </listitem>
198 </varlistentry>
199
[a9a6837e]200 </variablelist>
201
202 </sect2>
[f45b1953]203
204</sect1>
Note: See TracBrowser for help on using the repository browser.