LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-11-2003, 05:39 PM   #1
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Rep: Reputation: 15
ACPI: How do you know if its working?


How do you know if the ACPI is working? This may seem obvious but I have been searching my desktop but can't find anything.

How do you check the temp of your CPU? Is this hardware dependant? Or just a case of the software? How do you calibate it them?
 
Old 11-12-2003, 04:52 AM   #2
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
To see if your ACPI is working properly, have a look in the different entries in /proc/acpi. If the info in these (for instance in /proc/acpi/thermal_zone/THM/temperature or some such) are reasonable, then it's working. I think you have to have acpi=on in your boot options to enable it.

But, on the other hand... Your desktop, you say? Aren't they mostly using APM?
 
Old 11-12-2003, 07:27 AM   #3
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Original Poster
Rep: Reputation: 15
Just had a look - No /proc/acpi directory I am afraid.

Does this mean I have to upgrade my Kernel? I have redhat 9.0 so Kernel is 2.4.20-6.
 
Old 11-12-2003, 08:24 AM   #4
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190

Rep: Reputation: 30
to test it, do shutdown -h now

and if the pc powers off then its working
 
Old 11-12-2003, 11:22 AM   #5
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
I don't know if your kernel supports ACPI, but in Mandrake 9.1, which has kernel 2.4.21, it is not activated by default, so you have to set the acpi=on option. You might even have to compile it in yourself, but of this I'm not entirely sure.

These two threads might help you:

http://www.linuxquestions.org/questi...threadid=82690
http://www.linuxquestions.org/questi...threadid=75155

BTW, did you check that acpi is installed on your system?

Edit: I forgot something as usual... The two threads are really discussing ACPI on Mandrake, but it shouldn't differ very much - if at all - with RedHat. Except for the kernel version, maybe.


Last edited by Bebo; 11-12-2003 at 11:24 AM.
 
Old 11-13-2003, 04:14 AM   #6
jeff_powell
Member
 
Registered: Oct 2003
Location: Okalhoma
Distribution: Fedora 6,9,10,11, Ubuntu 8.10, 9.04, RHEL es4, es5, AIX, Vmware ESX 3.0
Posts: 36

Rep: Reputation: 15
i'm pretty sure ACPI is not built in by default on the RH kernels. you need to have kernel sources installed and select ACPI with make config ( or make xconfig) from your /usr/src/linux-2.4.20-6 directory.

I did this, rebooted and then I could see /proc/acpi
 
Old 11-13-2003, 05:02 AM   #7
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Original Poster
Rep: Reputation: 15
Ok I do have the /usr/src/linux-2.4.20-6 directory installed, but I am not really sure how to do the make config for ACPI. I don't want to use trial and error for this one.

Cheers

 
Old 11-13-2003, 06:49 AM   #8
jeff_powell
Member
 
Registered: Oct 2003
Location: Okalhoma
Distribution: Fedora 6,9,10,11, Ubuntu 8.10, 9.04, RHEL es4, es5, AIX, Vmware ESX 3.0
Posts: 36

Rep: Reputation: 15
i hear you. if you should decide to persue it, the safest option is to compile a newer kernel (http://kernel.org) with the desired options selected. that way you can choose ( grub menu selection ) which kernel (new or old) to boot. you should never re-compile the only working kernel you have since it seems to be a very touchy operation. as i'm writing this i'm building 2.6.0-test9. i have successfully built 2.4.22 but i want some of the newer features in 2.6.

make xconfig gives you a nice gui where you can select the options you want. you can load the configuration from your current kernel as a starting point and go from there.

ja ... oyasmuinasai
 
Old 11-13-2003, 08:23 AM   #9
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Original Poster
Rep: Reputation: 15
hmmm I've got 2.4.22 and 2.6-test4 on CD somewhere but I am gonna have to read up on this because I don't really have much of a clue.

By not having ACPI set up, am I going to cause my hardware any problems or is it not important?
 
Old 11-13-2003, 05:06 PM   #10
jeff_powell
Member
 
Registered: Oct 2003
Location: Okalhoma
Distribution: Fedora 6,9,10,11, Ubuntu 8.10, 9.04, RHEL es4, es5, AIX, Vmware ESX 3.0
Posts: 36

Rep: Reputation: 15
acpi is probably not important. i've been using my laptop without acpi for over two years. apm -s allows me to suspend it so i can carry it around with me. what is your hardware config? and what do you hope to gain by having acpi?

on my laptop cpu temp / fan control is handled by the chipset so s/w doesn't need to get involved.

here is the build command i used last night for my 2.6 it seems to have finished without fanfare or errors.

make modules modules_install install

i'll try to boot it soon.
 
Old 11-14-2003, 08:27 AM   #11
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Original Poster
Rep: Reputation: 15
Apm -s resulted in a 'no apm support in Kernel' but I guess I don't really need ACPI because I use my laptop as a mobile desktop really - a power supply is always availiable.

My fan must be controlled by the chip set I think.

Would be nice to have the option of doing stuff like running at a lower chip frequency and stuff but I was reading up on Kernel 2.6 and it is supposed to be less then easy to install in RH9.0, so given my lack of knowledge I will just leave it untill I update my OS (that is if you can update RH to the new/next Fedora even).

Cheers.
 
  


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
How to get ACPI working for debian sarge linuxmandrake Linux - General 14 01-26-2008 12:29 PM
How to check if ACPI working ar1 Linux - Laptop and Netbook 0 08-05-2004 02:32 AM
ACPI on my laptop not working DAChristen29 Linux - Hardware 0 03-03-2004 09:11 AM
is my ACPI working? SgtBhaji Linux - Laptop and Netbook 10 01-07-2004 10:34 AM
What to do that ACPI is working cujo31 Linux - Laptop and Netbook 2 09-28-2003 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:26 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