QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1137|回复: 7

使用acpi后gkrellm出错

[复制链接]
发表于 2003-7-19 21:32:36 | 显示全部楼层 |阅读模式
2.4.21-ac4


[root@localhost root]# gkrellm
No support for device type: ac_adapter.
No support for device type: battery.
No support for device type: button.
No support for device type: fan.
No support for device type: thermal_zone.
devices:
0 CPU0
段错误


config:
CONFIG_PM=y
# CONFIG_APM is not set

#
# ACPI Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=y
# CONFIG_ACPI_THERMAL is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_RELAXED_AML is not set


是不是ac_adapter,battery,button,fan,thermal_zone都要编译进内核?
另外button是什么东西,哪里会用到它?帮助看不明白。还有thermal_zone


谢谢
发表于 2003-7-19 22:48:18 | 显示全部楼层

Re: 使用acpi后gkrellm出错

[quote:05421c2a3f="cnhnln"]2.4.21-ac4


[root@localhost root]# gkrellm
No support for device type: ac_adapter.
No support for device type: battery.
No support for device type: button.
No support for device type: fan.
No support for device type: thermal_zone.

是不是ac_adapter,battery,button,fan,thermal_zone都要编译进内核?
另外button是什么东西,哪里会用到它?帮助看不明白。还有thermal_zone[/quote]
these are all for   notesbook. not for desktop pc.
button is acpi button,may be used for sleep function.
回复

使用道具 举报

 楼主| 发表于 2003-7-19 22:53:59 | 显示全部楼层
CONFIG_ACPI_PROCESSOR
也是吗?

关键是gkrellm运行不了了。我打i2c和lm补丁就是为了它呀~~~~~~~~~~
回复

使用道具 举报

发表于 2003-7-19 22:58:44 | 显示全部楼层
it is my config, hope it's useful to you

#
CONFIG_PM=y
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

#
# ACPI Support
#
CONFIG_ACPI=y
# CONFIG_ACPI_HT_ONLY is not set
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_RELAXED_AML is not set
回复

使用道具 举报

 楼主| 发表于 2003-7-19 23:12:42 | 显示全部楼层
[quote:54b0ac08d1="weigp"]it is my config, hope it's useful to you

#
CONFIG_PM=y
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

#
# ACPI Support
#
CONFIG_ACPI=y
# CONFIG_ACPI_HT_ONLY is not set
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_RELAXED_AML is not set[/quote]

多谢

acpi和apm都打开。好像不行吧。apm和acpi同时只能选一个吧


我的BUTTON和FAN已经编译成模块了。可是启动gkrellm一样报错[code:1]No support for device type: button.
No support for device type: fan.
[/code:1]
只有编译进内核的CONFIG_ACPI_PROCESSOR=y没报错
  
回复

使用道具 举报

发表于 2003-7-19 23:26:35 | 显示全部楼层
[quote:a2a28656bd="cnhnln"]
acpi和apm都打开。好像不行吧。apm和acpi同时只能选一个吧
[/quote]


oh , maybe,
but it works well on my computer.
回复

使用道具 举报

 楼主| 发表于 2003-7-20 14:41:37 | 显示全部楼层
用modprobe手动加载相关模块后还是不行
[root@localhost root]# gkrellm
devices:
0 power
0 FAN
0 CPU0
0 THRM
段错误
[root@localhost root]# lsmod
Module                  Size  Used by    Tainted: P
thermal                 8224   0  (unused)
processor              10712   0  [thermal]
fan                     2496   0  (unused)
button                  3660   0  (unused)
battery                 7040   0  (unused)
ac                      2752   0  (unused)


是不是它就不支持acpi呀?难道要用回APM
看了Changelog应该支持acpi的,有没有人使用acpi但是gkrellm没出问题的?
回复

使用道具 举报

 楼主| 发表于 2003-12-19 21:20:49 | 显示全部楼层
2.6.0一样有问题
fedora core 1
只要编译了ACPI就有问题,不论有没有APM。只留APM就好了
以前编译过一回text-11可以正常启动,而且在gkrellm里会显示CPU核心温度(THRM)。当时忘记保存config了,结果现在怎么也弄不成了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-12-5 10:40 , Processed in 0.068205 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表