- 论坛徽章:
- 0
|
100可用积分
2.6.12内核没有w83627ehg支持。从2.6.19里copy来了w83627ehf.c用以下语句编译。
gcc -O2 -D__KERNEL__ -c /usr/src/linux/drivers/i2c/chips/w83627ehf.c -I /usr/src/linux/include
出错如下。编译系统为RH9,2.6.12内核已经可用。想加w83627ehf.ko如何处理?
用附件的 patch 我可以make 出模块了
-bash-2.05b# modinfo w83627ehf
filename: /lib/modules/2.6.12/kernel/drivers/i2c/chips/w83627ehf.ko
author: Jean Delvare <khali@xxxxxxxxxxxx>
description: W83627EHF driver
license: GPL
vermagic: 2.6.12 SMP K8 gcc-3.2
depends: i2c-core,i2c-sensor
parm: ignore:List of adapter,address pairs not to scan (array of short)
parm: probe:List of adapter,address pairs to scan additionally (array of short)
parm: force_w83627ehf:List of adapter,address pairs which are unquestionably assumed to contain a `w83627ehf' chip (array of short)
parm: force:List of adapter,address pairs to boldly assume to be present (array of short)
不过
-bash-2.05b# sensors
w83627ehf-isa-0290
Adapter: ISA adapter
fan1: 0 RPM (min = 21093 RPM, div = 16)
fan2: 2947 RPM (min = 8437 RPM, div = 2)
fan3: 0 RPM (min = 4687 RPM, div = 16)
temp1: +28 |
最佳答案
查看完整内容
你可以参考这里patch.http://archives.andrew.net.au/lm-sensors/msg31156.html另外看看官方的:http://www.lm-sensors.org/wiki/Devices[ 本帖最后由 HonestQiao 于 2007-2-7 19:38 编辑 ]
|