04-02-2009
What system are you on? As far as I know lspci is a Linux command. Does it even work on BSD?
10 More Discussions You Might Find Interesting
1. Programming
:confused:
Hi, everybody.
Pleeeeese HLP!!!
I write PCI device driver for bridge controller PCI-VME bus in freeBSD 2.2.
And firs run function probe():
static char* probe(tag, type).
Whuy probe() don't work for my vendorID and deviceID (bridge controller and videoadapter). But... (1 Reply)
Discussion started by: Alex_T
1 Replies
2. Filesystems, Disks and Memory
All
I am facing a problem, I will explain what happenned:
1. I was on the box... saw a lot of defunct processes.
2. I tried to do an ls on /root (and many other dirs)... got the message "Segmentation fault".
3. Rebooted the box
4. At bootup I noted that I was not getting the screen that... (1 Reply)
Discussion started by: skotapal
1 Replies
3. Solaris
Hi,
I attached the CDROM device in sun 2500 system , Now i want to mount this device.
From where i can find the CDROM device.
Thnx.. (2 Replies)
Discussion started by: Aamir Sahil
2 Replies
4. UNIX for Dummies Questions & Answers
I'm trying to install FreeBSD 7.0 from CDs I made a few months ago on a brand new system with parts I just got in from NewEgg. I select the default option from the Boot Loader and it goes into the device probe. Several devices are recognized, but then it freezes at:
mskc0: <Marvell Yukon... (2 Replies)
Discussion started by: ideogon
2 Replies
5. AIX
How to find if a device is hotswapable or not (3 Replies)
Discussion started by: AIXlearner
3 Replies
6. AIX
I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies
7. Shell Programming and Scripting
Hi guys,
I want to translate the device name from the command "iostat" to file system name in order to check IO problems of DB's data files.
What is the way to do it?
Thanks in advance,
Nir (2 Replies)
Discussion started by: nir_s
2 Replies
8. Solaris
I'm new to Solaris. We have a server running SunOS 5.8 and sends messages through X.25 port (card is symicron). How to determine which /dev/* it uses? I have searched the web, most sites show that X.25 use /dev/cua/a or /dev/cua/b. I tried to send command from shell echo disptime > /dev/cua/a,... (0 Replies)
Discussion started by: myjava
0 Replies
9. Solaris
Hi,
I'm trying to find out how to see used space on RAW device.
I tried with prtvtoc -f RAWdevice but for 3 different device I'm getting the same FREE_SIZE which look a bit impossible.
root@zg8cscfb1> prtvtoc -f /dev/md/redodg/rdsk/d300
FREE_START=0 FREE_SIZE=20352 FREE_COUNT=1 FREE_PART=... (2 Replies)
Discussion started by: MarioT
2 Replies
10. Solaris
Hi all,
I am trying to see /dev/hwrng but can not find it. There are /dev/random and /dev/urandom but not the hwrng. Works the same config at other os.
Any idea what might be happening ?
Thanks (2 Replies)
Discussion started by: t35t
2 Replies
pcilib(7) The PCI Utilities pcilib(7)
NAME
pcilib - a library for accessing PCI devices
DESCRIPTION
The PCI library (also known as pcilib and libpci) is a portable library for accessing PCI devices and their configuration space.
ACCESS METHODS
The library supports a variety of methods to access the configuration space on different operating systems. By default, the first matching
method in this list is used, but you can specify override the decision (see the -A switch of lspci).
linux-sysfs
The /sys filesystem on Linux 2.6 and newer. The standard header of the config space is available to all users, the rest only to
root. Supports extended configuration space, PCI domains, VPD (from Linux 2.6.26), physical slots (also since Linux 2.6.26) and
information on attached kernel drivers.
linux-proc
The /proc/bus/pci interface supported by Linux 2.1 and newer. The standard header of the config space is available to all users, the
rest only to root.
intel-conf1
Direct hardware access via Intel configuration mechanism 1. Available on i386 and compatibles on Linux, Solaris/x86, GNU Hurd, Win-
dows, BeOS and Haiku. Requires root privileges.
intel-conf2
Direct hardware access via Intel configuration mechanism 2. Available on i386 and compatibles on Linux, Solaris/x86, GNU Hurd, Win-
dows, BeOS and Haiku. Requires root privileges. Warning: This method is able to address only the first 16 devices on any bus and it
seems to be very unreliable in many cases.
fbsd-device
The /dev/pci device on FreeBSD. Requires root privileges.
aix-device
Access method used on AIX. Requires root privileges.
nbsd-libpci
The /dev/pci0 device on NetBSD accessed using the local libpci library.
obsd-device
The /dev/pci device on OpenBSD. Requires root privileges.
dump Read the contents of configuration registers from a file specified in the dump.name parameter. The format corresponds to the output
of lspci -x.
darwin Access method used on Mac OS X / Darwin. Must be run as root and the system must have been booted with debug=0x144.
PARAMETERS
The library is controlled by several parameters. They should have sensible default values, but in case you want to do something unusual (or
even something weird), you can override them (see the -O switch of lspci).
Parameters of specific access methods
dump.name
Name of the bus dump file to read from.
fbsd.path
Path to the FreeBSD PCI device.
nbsd.path
Path to the NetBSD PCI device.
obsd.path
Path to the OpenBSD PCI device.
proc.path
Path to the procfs bus tree.
sysfs.path
Path to the sysfs device tree.
Parameters for resolving of ID's via DNS
net.domain
DNS domain containing the ID database.
net.cache_name
Name of the file used for caching of resolved ID's.
Parameters for resolving of ID's via UDEV's HWDB
hwdb.disable
Disable use of HWDB if set to a non-zero value.
SEE ALSO
lspci(8), setpci(8), update-pciids(8)
AUTHOR
The PCI Utilities are maintained by Martin Mares <mj@ucw.cz>.
pciutils-3.5.2 03 October 2016 pcilib(7)