RE: Is there a user space pci rescan method?

From: Dave Aubin
Date: Wed Sep 22 2004 - 17:00:52 EST


Lspci shows me that my new pci device is not present.
Scanpci does show the device. What I'd like to do
Is get the kernel to know about it and then be able to
See it with an lspci.

Can you tell me how with lspci or setpci?

Thanks again,
Dave:)

-----Original Message-----
From: Richard B. Johnson [mailto:root@xxxxxxxxxxxxxxxxxx]
Sent: Wednesday, September 22, 2004 4:42 PM
To: Dave Aubin
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: Is there a user space pci rescan method?

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/