Re: Is there a user space pci rescan method?

From: Richard B. Johnson
Date: Wed Sep 22 2004 - 15:44:15 EST


On Wed, 22 Sep 2004, Dave Aubin wrote:

> Hi,
>
> Is there a user space or perhaps simple kernel module way to
> rescan the pci bus? I currently have a user mode program modify
> the pci bus, but I can not push the user mode program to the
> bios for reasons I can't get in to.
> Currently I use this user mode program, then do a big hammer
> approach of a reboot to get the kernel to see the pci device. Is there
> a nicer way of doing this? Can someone kindly educate me.
>
> Huge Thanks,
> Dave:)
> -

Did you try `setpci` and `lspci`?
You can sometimes get things working without resorting to a boot.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5570.56 BogoMips).
Note 96.31% of all statistics are fiction.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/