linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: Is there a user space pci rescan method?
@ 2004-09-22 22:00 Dave Aubin
  2004-09-22 23:58 ` Jan Dittmer
  0 siblings, 1 reply; 35+ messages in thread
From: Dave Aubin @ 2004-09-22 22:00 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel Mailing List

Hi,

  I know very little about hotplug, but does make sense.
How do you motivate a hotplug insertion event?  Or should
I just go read the /docs on hotplugging?  Any help is
Appreciated:)

Thanks,
Dave:) 

-----Original Message-----
From: Alan Cox [mailto:alan@lxorguk.ukuu.org.uk] 
Sent: Wednesday, September 22, 2004 4:05 PM
To: Dave Aubin
Cc: Linux Kernel Mailing List
Subject: Re: Is there a user space pci rescan method?

On Mer, 2004-09-22 at 21:30, 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.

Take a look at drivers/hotplug. As far as Linux is concerned you've got
a hotplug PCI slot if you have to poke at it. Alternatively if its a
general funny such as a card you have to poke to reveal devices behind
it a PCI quirk would probably do the trick.


^ permalink raw reply	[flat|nested] 35+ messages in thread
* RE: Is there a user space pci rescan method?
@ 2004-09-22 21:58 Dave Aubin
  0 siblings, 0 replies; 35+ messages in thread
From: Dave Aubin @ 2004-09-22 21:58 UTC (permalink / raw)
  To: root; +Cc: linux-kernel

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.


^ permalink raw reply	[flat|nested] 35+ messages in thread
* Is there a user space pci rescan method?
@ 2004-09-22 20:30 Dave Aubin
  2004-09-22 20:04 ` Alan Cox
  2004-09-22 20:42 ` Richard B. Johnson
  0 siblings, 2 replies; 35+ messages in thread
From: Dave Aubin @ 2004-09-22 20:30 UTC (permalink / raw)
  To: linux-kernel

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:)

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2004-11-12 19:16 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-22 22:00 Is there a user space pci rescan method? Dave Aubin
2004-09-22 23:58 ` Jan Dittmer
2004-09-23  0:26   ` Greg KH
2004-09-23 15:04     ` Jan Dittmer
2004-09-23 16:49       ` Rolf Eike Beer
2004-09-23 16:53         ` Jan Dittmer
2004-09-23 17:05           ` Rolf Eike Beer
2004-09-24 10:41             ` Rolf Eike Beer
2004-09-24 11:42               ` Jan Dittmer
2004-09-24 12:12                 ` Rolf Eike Beer
2004-09-24 12:16                   ` Jan Dittmer
2004-09-24 12:32                     ` Rolf Eike Beer
2004-09-24 14:55                       ` Greg KH
2004-09-27  9:14                         ` Rolf Eike Beer
2004-10-10  0:13                         ` Jan Dittmer
2004-10-10  0:59                           ` Jan Dittmer
2004-10-10 13:45                             ` Jan Dittmer
2004-10-30  4:16                               ` Greg KH
2004-10-31 23:59                                 ` [patch 1/2] fakephp: introduce pci_bus_add_device Jan Dittmer
2004-11-01  9:35                                   ` Christoph Hellwig
2004-11-02 22:51                                     ` Jan Dittmer
2004-11-11 23:47                                       ` Greg KH
2004-11-12  0:13                                         ` Jan Dittmer
2004-11-12 18:59                                           ` Greg KH
2004-10-31 23:59                                 ` [patch 2/2] fakephp: add pci bus rescan ability Jan Dittmer
2004-11-12 18:59                                   ` Greg KH
2004-09-24 13:09                     ` [Pcihpd-discuss] Re: Is there a user space pci rescan method? Matthew Wilcox
2004-09-24 13:18                       ` Rolf Eike Beer
2004-09-24 12:40               ` Jan Dittmer
2004-09-24 12:59                 ` Rolf Eike Beer
2004-09-23 23:31       ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2004-09-22 21:58 Dave Aubin
2004-09-22 20:30 Dave Aubin
2004-09-22 20:04 ` Alan Cox
2004-09-22 20:42 ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).