Philip Rowlands wrote:

>On Fri, 19 Aug 2005, Kevin Ruland wrote:
>
>  
>
>>+ MODULE_DEVICE_TABLE(pci,ivtv_pci_tbl);
>>    
>>
>
>Just to confirm; this makes the PCI ids known to hotplug only after the
>drivers are built/installed and depmod is run? The effect is to load the
>driver automatically on subsequent reboots?
>
>How can this be suppressed, e.g. for debugging purposes to load each
>driver manually (without just reverting the patch)?
>
>  
>
Yes, that's exactly how it works.

To be honest, I've never had to suppress it. I can think of a few ways
to prevent it short of recompiling patched driver source:

1. Boot with the nohotplug kernel parameter.  However, this will prevent
all hotplugging.  Probably not what you're looking for.

2. Edit /lib/modules/${uname -r}/modules.pcimap and remove the ivtv
lines.  This will prevent hotplug from knowing about the device mapping.

3. Edit the /etc/hotplug/pci.agent and somehow have it skip coldplugging
the ivtv drivers.

Kevin


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to