aboutsummaryrefslogtreecommitdiffstats
path: root/docs/mcc-help/zh_CN/lspcidrake.xml
blob: fdafedefdcfd1818b4b1404cd7c0f16c76e0dae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version='1.0' encoding='utf-8'?><section xmlns="http://docbook.org/ns/docbook" xmlns:ns5="http://www.w3.org/1998/Math/MathML" xmlns:ns4="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns="http://docbook.org/ns/docbook" version="5.0" xml:lang="zh_CN" xml:id="lspcidrake">
  <info>
    <title xml:id="lspcidrake-ti1">Display Your PCI, USB and PCMCIA Information</title>

    <subtitle>lspcidrake</subtitle>
  </info>

  <para>This tool <footnote>
      <para>You can start this tool from the command line, by typing <emphasis
role="bold">lspcidrake</emphasis>.</para>
    </footnote> can only be started and used
on the command line. It will give some more information if used under root.</para>

  <para>lspcidrake gives the list of all the connected devices to the computer (USB,
PCI and PCMCIA) and the used drivers. It needs the ldetect and ldetect-lst
packages to work.</para>

  <mediaobject>
    <imageobject>
      <imagedata fileref="lspcidrake1.png"/>
    </imageobject>
  </mediaobject>

  <para>With the -v option, lspcidrake adds the vendor and device identifications.</para>

  <para>lspcidrake often generates very long lists, so, to find an information, it
is often used in a pipeline with the grep command, like in these examples:</para>

  <para>Information about the graphic card;</para>

  <para><command>lspcidrake | grep VGA</command></para>

  <para>Information about the network</para>

  <para><command>lspcidrake | grep -i network</command></para>

  <para>-i to ignore case distinctions.</para>

  <para>In this screenshot below, you can see the action of the -v option for
lspcidrake and the -i option for grep.</para>

  <mediaobject>
    <imageobject>
      <imagedata fileref="lspcidrake2.png"/>
    </imageobject>
  </mediaobject>

  <para>There is another tool that gives information about the hardware, it is
called <emphasis role="bold">dmidecode</emphasis> (under root)</para>
</section>