---
name: "Hardware::PCI::Detect"
section: "3pm"
platform: "linux"
package: "systemconfigurator"
version: "1.20-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/Hardware::PCI::Detect"
---

# Hardware::PCI::Detect(3pm)

detect pci devices from /proc/bus/pci/devices

## NAME

Hardware::PCI::Detect - detect pci devices from /proc/bus/pci/devices

## SYNOPSIS

```
  my $detector = new Hardware::PCI::Detect([root => $altroot]);
```

```
  my @hardware = $detector->getlist();
```

## DESCRIPTION

DetectPCI is a simple program that reads /proc/bus/pci/devices and returns the list of pci devices that it contains.  These can latter be translated to kernel modules by a large hash table provided in Hardware::PCI::Table.

## COPYRIGHT

Copyright 2001 International Business Machines

## AUTHOR

Sean Dague \<japh@us.ibm.com\>

## SEE ALSO

SystemConfig::Hardware, perl
