Re: 2.6.0-t1: i2c+sensors still whacky (hi Greg :)

From: Greg KH (greg@kroah.com)
Date: Wed Jul 16 2003 - 02:31:35 EST


On Wed, Jul 16, 2003 at 04:29:22PM +1000, CaT wrote:
> On Tue, Jul 15, 2003 at 11:10:09PM -0700, Greg KH wrote:
> > On Wed, Jul 16, 2003 at 04:04:43PM +1000, CaT wrote:
> > > On Tue, Jul 15, 2003 at 09:11:27AM -0700, Greg KH wrote:
> > > Did I do the right thing?
> >
> > Looks good, but are you _really_ building all of those drivers into your
> > kernel? Make them modules, that way booting will not require a small
>
> No. Just i2c-dev, i2c-core, i2c-sensor, i2c-piix4 and adm1021. Sorry
> for not weeding out the useless stuff above. I was still waking up. :)
>
> > nap :)
>
> :)
>
> > Then load only the i2c bus driver that you have. See if that causes the
> > system to slow down, or cause any kernel log messages?
>
> i2c alone does not.
>
> > Only then try loading a i2c client driver, for your hardware.
>
> I can go through this again. Do you want me to insert any further
> debugging stuff?
>
> > Exactly what i2c hardware do you have anyway?
>
> PIIX4 and ADM1021.
>
> .config has the following:
>
> CONFIG_SENSORS_ADM1021=y
> CONFIG_I2C=y
> CONFIG_I2C_CHARDEV=y
> CONFIG_I2C_PIIX4=y
> CONFIG_I2C_SENSOR=y

Please change them to =m so that it's easier to try to debug this.

Then just load the i2c_piix4 module. If things still work just fine,
then try the i2c-adm1021 driver. See what the kernel log says then.

thanks,

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



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:23 EST