lkml.org 
[lkml]   [2004]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Is there a user space pci rescan method?
Date
From
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@chaos.analogic.com]
Sent: Wednesday, September 22, 2004 4:42 PM
To: Dave Aubin
Cc: linux-kernel@vger.kernel.org
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.158 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site