Reading PCI Configuration Space...

Tim Roberts timr at probo.com
Thu Jul 27 01:32:20 EDT 2000


Jerome Chan <eviltofu at rocketmail.com> wrote:

>Does anyone know how to read the PCI configuration space with Python 
>under Win 98 or Linux?

Doing this under Windows requires a C extension, and even then it isn't
easy.  Under Windows 98, you can scan the BIOS for the PCI entry point and
call it directly.  Under Windows NT, even this doesn't work; you need the
help of a kernel driver.

Much of the interesting PCI information is buried in the registry, which IS
accessible from Python.
--
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list