SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
How to get CPU temp with 2.6.13.17 kernel?
Hi guys,
What do I have to do to get ACPI to track the CPU temp on a Dell motherboard?
I'm using the 2.6.17.13 kernel from Slackware extras.
I tried the initrd suggestion I found in a thread by Fluxx (I think) and it did add alot more ACPI stuff to the /proc/acpi directory but thermal-zone had no files in it.
i'm not sure exactly which option does it, but I have 2 dell laptops and both report temperature in /proc/acpi/
here is a snippet of my .config:
Code:
# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=m
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=2001
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_PNPACPI=y
Randux, if and when you do that without the recompile let me know, I've tried to do the same thing with the same kernel and in the end I was compiling a newer kernel.
lm_sensors wont help much. lm_sensors will start but won't show temperature because you need to compile the modules for each sensor unless you're lucky and those sensor modules are allready compiled with the kernel. Mine weren't.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
Tux there was a thread where a guy name Fluxx gave the command to build the initrd. It mostly worked but I didn't get any temps. Somebody who knows ACPI can probably figure out what to change.
Dive I think this should work on a 2.6 kernel without lmsensors.
If I'm not wrong Thermal Zone is not compiled in to the default extra kernel on Slack 11. So I think you're gonna have to recompile it anyway.
Sorry I'm to lazy to check right now it's almoast 1.00AM here...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.