cnhnln 发表于 2003-12-19 21:31:09

2.6内核sensors问题

fedora core 1+kernel 2.6.0
编译内核的时候没有了i2c-proc模块,结果无法用sensors显示系统温度.
已经加载了所有相关模块.
i2c和lm-sensors的官方补丁(2.8.2)又不能安装在2.6内核上
同样的的配置文件在2.4里可以
modprobe.conf
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
rc.local
#----cut here----
# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83781d
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----
2.6的config
#
# I2C support
#
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_I2C_ELEKTOR=m
CONFIG_I2C_ELV=m
CONFIG_I2C_I801=m
CONFIG_I2C_I810=m
CONFIG_I2C_ISA=m
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VELLEMAN is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set

#
# I2C Hardware Sensors Chip support
#
CONFIG_I2C_SENSOR=m
# CONFIG_SENSORS_ADM1021 is not set
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_VIA686A is not set
CONFIG_SENSORS_W83781D=m
http://www.linuxfans.org/nuke/modules/Forums/files/snap-4.png

llc 发表于 2003-12-20 12:09:50

我也遇到这个问题了,不知道该怎么搞
现在加载了那些模块也无法在/proc下生成信息点

查查自带文档看看有没有收获(呵呵,我越来越懒 :mrgreen: )

Dragonfly 发表于 2003-12-22 23:14:45

wait a while. lmsensor update for 2.6 should come soon
页: [1]
查看完整版本: 2.6内核sensors问题