|
楼主 |
发表于 2005-5-26 14:53:04
|
显示全部楼层
晕得一阵阵.......
利用abs重新编译了一个内核,什么cpu_freq ,acpi , apm 都基本加进内核去了(比同一机上的ubuntu的内核还多)
安装新的内核后,发觉cpu_freq应该能工作,但是apm好象还是不能,在运行apm的时候说内核没有支持,如下:
-------------------------------------------------------------
[root@myhost mnt]# apm
No APM support in kernel
[root@myhost mnt]#
----------------------------------------------------------------
而内核关于acpi apm cpufreq的配置如下:
- #
- # Power management options (ACPI, APM)
- #
- CONFIG_PM=y
- # CONFIG_PM_DEBUG is not set
- CONFIG_SOFTWARE_SUSPEND=y
- CONFIG_PM_STD_PARTITION=""
- #
- # ACPI (Advanced Configuration and Power Interface) Support
- #
- CONFIG_ACPI=y
- CONFIG_ACPI_BOOT=y
- CONFIG_ACPI_INTERPRETER=y
- CONFIG_ACPI_SLEEP=y
- CONFIG_ACPI_SLEEP_PROC_FS=y
- CONFIG_ACPI_SLEEP_PROC_SLEEP=y
- CONFIG_ACPI_AC=y
- CONFIG_ACPI_BATTERY=y
- CONFIG_ACPI_BUTTON=y
- CONFIG_ACPI_VIDEO=y
- CONFIG_ACPI_FAN=y
- CONFIG_ACPI_PROCESSOR=y
- CONFIG_ACPI_THERMAL=y
- CONFIG_ACPI_ASUS=m
- CONFIG_ACPI_IBM=m
- CONFIG_ACPI_TOSHIBA=m
- CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
- CONFIG_ACPI_BLACKLIST_YEAR=0
- # CONFIG_ACPI_DEBUG is not set
- CONFIG_ACPI_BUS=y
- CONFIG_ACPI_EC=y
- CONFIG_ACPI_POWER=y
- CONFIG_ACPI_PCI=y
- CONFIG_ACPI_SYSTEM=y
- CONFIG_X86_PM_TIMER=y
- # CONFIG_ACPI_CONTAINER is not set
- #
- # APM (Advanced Power Management) BIOS Support
- #
- CONFIG_APM=y
- CONFIG_APM_IGNORE_USER_SUSPEND=y
- CONFIG_APM_DO_ENABLE=y
- CONFIG_APM_CPU_IDLE=y
- CONFIG_APM_DISPLAY_BLANK=y
- # CONFIG_APM_RTC_IS_GMT is not set
- CONFIG_APM_ALLOW_INTS=y
- CONFIG_APM_REAL_MODE_POWER_OFF=y
- #
- # CPU Frequency scaling
- #
- CONFIG_CPU_FREQ=y
- # CONFIG_CPU_FREQ_DEBUG is not set
- CONFIG_CPU_FREQ_STAT=m
- CONFIG_CPU_FREQ_STAT_DETAILS=y
- CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
- # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
- CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
- CONFIG_CPU_FREQ_GOV_POWERSAVE=y
- CONFIG_CPU_FREQ_GOV_USERSPACE=y
- CONFIG_CPU_FREQ_GOV_ONDEMAND=y
- CONFIG_CPU_FREQ_TABLE=y
- #
- # CPUFreq processor drivers
- #
- CONFIG_X86_ACPI_CPUFREQ=y
- CONFIG_X86_POWERNOW_K6=m
- CONFIG_X86_POWERNOW_K7=m
- CONFIG_X86_POWERNOW_K7_ACPI=y
- CONFIG_X86_POWERNOW_K8=m
- CONFIG_X86_POWERNOW_K8_ACPI=y
- CONFIG_X86_GX_SUSPMOD=m
- CONFIG_X86_SPEEDSTEP_CENTRINO=y
- CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
- CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
- CONFIG_X86_SPEEDSTEP_ICH=y
- CONFIG_X86_SPEEDSTEP_SMI=m
- CONFIG_X86_P4_CLOCKMOD=m
- CONFIG_X86_CPUFREQ_NFORCE2=m
- CONFIG_X86_LONGRUN=m
- CONFIG_X86_LONGHAUL=m
- #
- # shared options
- #
- CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
- CONFIG_X86_SPEEDSTEP_LIB=y
- CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y
复制代码
看来在arch中实现比较完美的对notebook的acpi ,apm 和Cpu SPEEDSTEP 的结合比较困难,估计是arch在开发的过程中比较少在notebook上进行测试吧?
不知道这版中的兄弟,有没有是在notebook运行archlinux的,并且完美解决了acpi ,apm 和cpu speedstep 的支持的?如果有的请提供一下解决方案和经验?? |
|