|
From: Heiko Z. <he...@zu...> - 2004-07-22 14:56:22
|
>> > Still hangs waiting for input: >> > >> > * >> > * I2C support >> > * >> > I2C support (CONFIG_I2C) [M/n/y/?] >> > I2C bit-banging interfaces (CONFIG_I2C_ALGOBIT) [M/n/?] >> > Philips style parallel port adapter (CONFIG_I2C_PHILIPSPAR) [M/n/?] >> > ELV adapter (CONFIG_I2C_ELV) [M/n/?] >> > Velleman K8000 adapter (CONFIG_I2C_VELLEMAN) [M/n/?] >> > NatSemi SCx200 I2C using GPIO pins (CONFIG_SCx200_I2C) [M/n/?] >> > GPIO pin used for SCL (CONFIG_SCx200_I2C_SCL) [12] (NEW) >> >> @^$%!*#&^!@%#&!^@ >> Can you take a look at it? > > I looked, but am not sure what to do. > >>From above, we seem to be missing "CONFIG_SCx200_I2C_SCL". > > I tracked down the "set_all_kernel_options" function, and from there, > tmp/linux-2.4.26/drivers/i2c/Config.in contains: > > dep_tristate ' NatSemi SCx200 I2C using GPIO pins' > CONFIG_SCx200_I2C $CONFIG_SCx200_GPIO $CONFIG_I2C_ALGOBIT > if [ "$CONFIG_SCx200_I2C" != "n" ]; then > int ' GPIO pin used for SCL' CONFIG_SCx200_I2C_SCL 12 > int ' GPIO pin used for SDA' CONFIG_SCx200_I2C_SDA 13 > fi > > CONFIG_SCx200_I2C_SCL seems to be an integer. Is that the problem? > Maybe the script doesn't handle integers correctly? > Or the previous "if" statement is causing problems? > > I'm not sure what to do from here. Ideas? The script currently doesn't support 'int' at all. The idea would be to add this functionality and just writing the default value into the config file (i.e. CONFIG_SCx200_I2C_SCL=12 ) > Other than turning off lm_sensors from menuconfig! :-) yeah yeah....always going the easy route.... -- Regards Heiko Zuerker http://www.devil-linux.org |