Re: 2.5.66: The I2C code ate my grandma...

CaT (cat@zip.com.au)
Sat, 5 Apr 2003 10:59:50 +1000


On Fri, Apr 04, 2003 at 09:14:24AM -0800, Greg KH wrote:
> So if you disable the I2C config items, everything works just fine?

Yup.

> I did send out a bugfix for the i2c code for a problem in 2.5.66, it's
> now included in the latest -bk tree. Could you grab that patch and see
> if it fixes your problem?

Ok. Running -bk10. Where, umm, is the userspace interface to it? I can't
find anything in /proc or /sys so I can't see if it's actually working.
Incase they're useful here are snippets from .config and dmesg:

# I2C support
CONFIG_I2C=y
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set
CONFIG_I2C_CHARDEV=y
# I2C Hardware Sensors Mainboard support
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
CONFIG_I2C_PIIX4=y
# I2C Hardware Sensors Chip support
CONFIG_SENSORS_ADM1021=y
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_W83781D is not set
CONFIG_I2C_SENSOR=y

i2c-dev.o: i2c /dev entries driver module version 2.7.0 (20021208)
i2c-piix4 version 2.7.0 (20021208)
piix4 smbus 00:07.3: Found Intel Corp. 82371AB/EB/MB PIIX4 device
i2c i2c-0: Error: no response!
i2c i2c-0: Error: no response!
i2c i2c-0: Error: no response!
i2c i2c-0: Error: no response!
i2c i2c-0: Error: no response!
i2c i2c-0: Error: no response!
i2c i2c-0: Error: no response!
registering 0-004d
i2c i2c-0: Error: no response!

One question. Will I need ISA support in the kernel for this?

-- 
Martin's distress was in contrast to the bitter satisfaction of some
of his fellow marines as they surveyed the scene. "The Iraqis are sick
people and we are the chemotherapy," said Corporal Ryan Dupre. "I am
starting to hate this country. Wait till I get hold of a friggin' Iraqi.
No, I won't get hold of one. I'll just kill him."
	- http://www.informationclearinghouse.info/article2479.htm
-
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/