Gentoo Archives: gentoo-dev

From: "Dawid Węgliński" <dawid.weglinski@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] get pci info in Linux?
Date: Thu, 29 Mar 2007 17:35:47
Message-Id: 460BF826.5060701@gmail.com
In Reply to: Re: [gentoo-dev] get pci info in Linux? by Bilanchuk Vitaly
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Bilanchuk Vitaly napisał(a):
5 >> emerge pciutils and use lspci. This question would be better asked in
6 >> our user oriented support channels like #gentoo or gentoo-user mailing
7 >> list.
8 >
9 > I'm sorry.
10 > I need get info using C/C++.
11 >
12 > I know lspci using 4 methods in Linux - linux_sysfs, linux_proc, intel_conf1,
13 > intel_conf2 (man 8 lspci). But:
14 > linux_sysfs - using /sys system;
15 > linux_proc - using /porc system;
16 > intel_conf1, intel_conf2 - i don't know how it work;
17 >
18 > Who now how get this information using C/C++ without using lspci?
19 > Or, how works intel_conf1 and intel_conf2 methods that using by lspci?
20
21 I think You should ask on some C/C++ help channel or mailing list.
22
23 - --
24 ,-----------------------------.
25 | Dawid Węgliński |
26 | dawid.weglinski@×××××.com |
27 | cla @ irc.freenode.net |
28 | GPG: 46E89CD0 |
29 `-----------------------------'
30 -----BEGIN PGP SIGNATURE-----
31 Version: GnuPG v1.4.6 (GNU/Linux)
32 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
33
34 iD8DBQFGC/gm8nXYuEbonNARAsw9AKCh8kXcFjTehu0z6YJIYdNcoAHvUgCfTnSh
35 G9Ees8zSLQ6AoXHAE5FE5lI=
36 =Iuzr
37 -----END PGP SIGNATURE-----
38 --
39 gentoo-dev@g.o mailing list