Re: Why to I2c drivers not autoload like other PCI devices?

From: Greg KH
Date: Wed Jan 03 2007 - 19:56:57 EST


On Wed, Jan 03, 2007 at 04:50:20PM -0800, Stephen Hemminger wrote:
> Is there some missing magic (udev rule?) that keeps i2c device modules
> from loading? For example: the Intel i2c-i801 module ought to get loaded
> automatically on boot up since it has a set of PCI id's that generate
> the necessary module aliases. It would be better if I2C device's autoloaded
> like other PCI devices.

No, it should autoload, if it has a MODULE_DEVICE_TABLE() in it. In
fact, the i2c-i801 autoloads on one of my machines just fine. Are you
sure your pci ids match properly?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/