Julien Cristau wrote:
> On Mon, Jan 25, 2010 at 00:27:48 +0000, Ben Hutchings wrote:
>
> > What about my suggestion of removing the MODULE_DEVICE_TABLE
> > declarations from fb modules, so they do not appear in modules.pcimap
> > etc? Did you see any problem with that?
> >
> Dropping those and udev's blacklist would be fine as far as I'm
> concerned. Not sure what this means for people with custom kernel,
> since they'd lose the blacklist too, but I don't care much either way.
I suppose we don't really want this level of coupling between udev and
the kernel. So I'm happy to recommend your recipe to Marco, but with a
restriction to PCI drivers:
find /lib/modules/$(uname -r)/kernel/drivers/video -type f | {
while read mod; do
/sbin/modinfo $mod | grep -q '^alias: *pci' \
&& echo blacklist $(basename $mod .ko)
done
}
Ben.
--
Ben Hutchings
Any smoothly functioning technology is indistinguishable from a rigged demo.
Attachment:
signature.asc
Description: This is a digitally signed message part