Reading PCI Configuration Space...

Moshe Zadka moshez at math.huji.ac.il
Thu Jul 27 01:04:11 EDT 2000


On Wed, 26 Jul 2000, Shae Erisson wrote:

> Jerome Chan wrote:
> > 
> > Does anyone know how to read the PCI configuration space with Python
> > under Win 98 or Linux?
> 
> In linux, try:
> cat /proc/pci

Or, in Python,

open("/proc/pci").read()

--
Moshe Zadka <moshez at math.huji.ac.il>
There is no IGLU cabal.
http://advogato.org/person/moshez





More information about the Python-list mailing list