LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-03-2006, 06:55 PM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Rep: Reputation: 31
No ACPI visible with Custom 2.4 Kernel


I just made my first custom kernel. I used the direstions available here http://www.linuxquestions.org/questi...threadid=49035 . When I configured the kernel I enabled ACPI support. I also enabled the option called "fan."

Now I've rebooted and the directory "/proc/ACPI" does not exist. Do I have to install or setup ACPI? Is there a way I can check to see if I successfully compiled a kernel that scan control fans through ACPI?
 
Old 07-04-2006, 09:20 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
ACPI in Linux hasn't matured to the point it's at in Windows. It might not work at all on your box. I have quite a few different motherboards, and it only works reasonably well on one laptop.

Issue "cat /path/to/kernel/.config | grep -i acpi" to show your options. On the box here where I have stuff under /proc/acpi/ I'll show you the output.

Code:
mingdao@titus:~$ cat /etc/slackware-version
Slackware 10.2.0

mingdao@titus:~$ uname -a
Linux titus 2.6.16.22 #1 PREEMPT Fri Jun 30 20:26:09 CST 2006 i686 pentium4 i386 GNU/Linux

mingdao@titus:~$ cat kernel/linux-2.6.16.22/.config | grep -i acpi
# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
# CONFIG_ACPI_BUTTON is not set
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=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_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
# CONFIG_PNPACPI is not set

mingdao@titus:~$ ls -lh /proc/acpi/
total 0
dr-xr-xr-x 3 root root 0 2006-07-04 22:15 ac_adapter/
dr-xr-xr-x 3 root root 0 2006-07-04 22:15 battery/
-r-------- 1 root root 0 2006-07-04 22:15 dsdt
dr-xr-xr-x 3 root root 0 2006-07-04 22:15 embedded_controller/
-r-------- 1 root root 0 2006-07-04 20:31 event
-r-------- 1 root root 0 2006-07-04 22:15 fadt
dr-xr-xr-x 3 root root 0 2006-07-04 22:15 fan/
-r--r--r-- 1 root root 0 2006-07-04 22:15 info
dr-xr-xr-x 3 root root 0 2006-07-04 22:15 power_resource/
dr-xr-xr-x 3 root root 0 2006-07-04 22:15 processor/
dr-xr-xr-x 3 root root 0 2006-07-04 22:15 thermal_zone/
dr-xr-xr-x 2 root root 0 2006-07-04 22:15 video/

mingdao@titus:~$ cat /proc/acpi/fan/FAN1/state
status:                  off

mingdao@titus:~$ cat /proc/acpi/thermal_zone/THZN/temperature
temperature:             42 C

mingdao@titus:~$ ls -lh /proc/acpi/thermal_zone/THZN/
total 0
-rw-r--r-- 1 root root 0 2006-07-04 22:17 cooling_mode
-rw-r--r-- 1 root root 0 2006-07-04 22:17 polling_frequency
-r--r--r-- 1 root root 0 2006-07-04 22:17 state
-r--r--r-- 1 root root 0 2006-07-04 22:17 temperature
-rw-r--r-- 1 root root 0 2006-07-04 22:17 trip_points
That box doesn't have everything that ACPI should contain, and it's the best I've got. And it doesn't work if I compile ACPI as modules -- they have to be built in, iirc. (I can't get into my BIOS on that box anymore, either.)

For my PCs, the only thing I've found to monitor these things that works is lm_sensors. I've got it working on a few boxen, but that depends upon the hardware.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6.12.2 and custom acpi patch 6xxx Linux - Laptop and Netbook 0 07-15-2005 03:01 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
2.6.4 acpi patch for custom dsdt? Outabux Debian 16 04-08-2004 07:56 PM
sound card not visible from the kernel humanrig Linux - Hardware 2 03-15-2004 07:45 AM
kernel 2.4.20 & acpi-20021212-2.4.20.diff => no /proc/acpi Tinkster Linux - Software 5 03-24-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration