2009/9/15 Greg KH <greg@xxxxxxxxx>: > On Tue, Sep 15, 2009 at 09:19:52AM +0800, Pei Lin wrote: >> 2009/9/15 Greg KH <greg@xxxxxxxxx>: >> > On Sun, Sep 13, 2009 at 05:12:11PM +0300, Mena Soliko wrote: >> >> Hello, >> >> 1. Can several drivers can handle the same PCI device? >> > >> > Officially, No. Unofficially, there are ways to do this, but you have >> > to be _very_ careful. >> > >> > What type of PCI device do you want to control? Is there already a >> > driver bound to it? >> > >> >> 2. How can I know which driver currently handles my PCI devices? (lsmod show >> >> few drivers that can show a few candidate but I want to know the actual >> >> driver that register to that PCI). >> > >> > lspci -k >> > >> hi, grep, > > The name is "Greg" :) > Oh~ sorry, maybe these days i type too much command "grep". LOL ,^_^. >> what is your lspci's version? and in my fc8 ,lspci version >> is 2.2.6 which has no parameter about -k. > > fc8 is very old, please use a newer version. I'm running 3.1.4 here. > >> So lspci just can tell me a not very clear info about pci device if >> there is no device driver attach it. > > Not true, use a newer lspci version. > > Or just use the proper symlink in sysfs, it will tell you if a driver is > bound to a device, which is what lspci uses. ok, that is very useful for me. Thanks a lot. BRs Lin > > good luck, > > greg k-h > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ