LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-08-2004, 05:19 PM   #1
SamothB
LQ Newbie
 
Registered: Oct 2003
Location: McKinney, Texas
Distribution: MDK 10 Community
Posts: 27

Rep: Reputation: 15
Question Enabling acpi on Mandrake 10


What do I need to do to get acpi working on my notebook? I've installed acpi and acpid from cd1 and have it enabled in the lilo configurator. I've even edited the " /ect/lilo.conf" file with vi, still no icon. It worked before, after some configuring in MDK 9.1 so it is not the machine, I think, it could be the operator.
 
Old 03-08-2004, 07:15 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
Quote:
Open the Mandrake Control Center.
Type in root password to obtain Super-User privileges.
Click 'Boot' on the left.
Click 'DrakBoot helps you set up how your system boots'
The upper section is called 'Lilo/Grub mode', click on 'Configure'.
Make sure there is a tick for 'Enable ACPI'
Click Ok, and Ok again to retain your multiboot order.
i don't personally use mandrake, so i am quoting this from another persons response ...
 
Old 03-08-2004, 09:23 PM   #3
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
As a Mandrake user, I know you have to recompile with ACPI built into the kernel. For some reason, Ive never gotten it to work as modules, so I always build it in.
 
Old 03-09-2004, 04:44 AM   #4
SamothB
LQ Newbie
 
Registered: Oct 2003
Location: McKinney, Texas
Distribution: MDK 10 Community
Posts: 27

Original Poster
Rep: Reputation: 15
DrOzz, I did as you suggested as stated in my original post, the format is different in MDK 10 from MDK 9.1. In 9.1 on this machine I added one line to drakboot to boot with acpi (acpi=on) and all was well. now when I try to edit I get errors this is what I currently have (/etc/lilo.conf). I've edited this with vi at line 13, going off an other suggestion, they were using grub so I may have edited the wrong line becouse I got an error message after I rebooted, everything seemed od except no battery power icon as I had when I was doing it with 9.1.

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.6.3-4mdk
label="linux"
root=/dev/hda6
initrd=/boot/initrd-2.6.3-4mdk.img
append="devfs=mount"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda6
initrd=/boot/initrd.img
append="failsafe devfs=nomount"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda

Kramer, Is there some thing specific to compiling acpi into the kernel 2.6.3.4?
 
Old 03-09-2004, 08:29 AM   #5
SamothB
LQ Newbie
 
Registered: Oct 2003
Location: McKinney, Texas
Distribution: MDK 10 Community
Posts: 27

Original Poster
Rep: Reputation: 15
After some looking and investigating, I install APMD from the cd's and I've got a battery monitor for my laptop,notebook,whatever. Thank you all for your generous support, I could not have done it without you.
 
Old 03-09-2004, 08:37 AM   #6
beginner
LQ Newbie
 
Registered: Mar 2004
Location: Paris
Distribution: Mandrake 9.1
Posts: 9

Rep: Reputation: 0
How ??

Hi SamothB,

I am on Mandrake 9.1, please could you say me what you have done in order to have ACPI ???
I have the same problem and i'm fighting with it !!!
I'm a newbie !!!!

Please !!!!!!!!
 
Old 03-09-2004, 08:51 AM   #7
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Quote:
Originally posted by SamothB
After some looking and investigating, I install APMD from the cd's and I've got a battery monitor for my laptop,notebook,whatever. Thank you all for your generous support, I could not have done it without you.
In my laptop experiences, APMD is an older controller, that most laptops do not use. How old is your laptop? It may seem as though it functions properly as far as telling battery charge, but it does not control fans and other temperature related devices as such. Also, depending on which processor you have, you can enable CPU throttling in the kernel to keep it from running full tilt all the time. This keeps your processor cool, and your laptop running smoothly.
 
Old 03-09-2004, 09:56 AM   #8
SamothB
LQ Newbie
 
Registered: Oct 2003
Location: McKinney, Texas
Distribution: MDK 10 Community
Posts: 27

Original Poster
Rep: Reputation: 15
The laptop is only a few month old. It is for the most part generic, A Uniwill N755II1, with an iintel 1800, the system uses some desktop components. Do a google on the model # for details. I had acpi working when I ran MDK 9.1
Quote:
It may seem as though it functions properly as far as telling battery charge, but it does not control fans and other temperature related devices as such. Also, depending on which processor you have, you can enable CPU throttling in the kernel to keep it from running full tilt all the time. This keeps your processor cool, and your laptop running smoothly.
That spooked me and for good reason, I just heard the fan kick in so something or at least part of the acpi is functioning.


Quote:
I am on Mandrake 9.1, please could you say me what you have done in order to have ACPI ???
I have the same problem and i'm fighting with it !!!
I'm a newbie !!!!
When I did this on MDK 9.1: KDE>Configure>Mandrake Control Center>enter root PW>Boot>Drakboot.
In the top pane Lilo/grub mode>configure>check Enabe ACPI>OK. you may have to insert cd1, it will copy acpi and acpid. Now I read from a post some where and did this, in the drakboot dailog box you will see Add>Linux>select image or edit the original it might look kike this for lilo:
linux (/boot/vmlinux acpi=on)
hope this works, if someone knows better please correct me I,m only about a year or so into really using linux more than 50% of the time
 
Old 03-09-2004, 11:19 AM   #9
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Being that its fairly new, your probably better off with compiling the kernel with ACPI built in, since APM isnt able to control the power and temp stuff like ACPI is. How about going to the terminal, su, and type in acpi and post the output here. That will tell for sure if you have it working or not.
 
Old 03-09-2004, 12:49 PM   #10
SamothB
LQ Newbie
 
Registered: Oct 2003
Location: McKinney, Texas
Distribution: MDK 10 Community
Posts: 27

Original Poster
Rep: Reputation: 15
Battery 1: unknown 100%
That dosen't look like I would guess it should? When I go to System>Configuration>KDE>Power Control>Laptop Battery, I have a Multi tabbed configuration panel consisting of: Battery, Power Control, Low Battery Warning, Low Battery Critical, Default Power Profiles, Button Actions, and ACPI Config. Everything seems to be enabled such as CPU thottling and System Performance. Let me know if I'm getting close.
 
Old 03-09-2004, 02:10 PM   #11
SamothB
LQ Newbie
 
Registered: Oct 2003
Location: McKinney, Texas
Distribution: MDK 10 Community
Posts: 27

Original Poster
Rep: Reputation: 15
OK I removed APM and things are as they should be. When I checked apm was not enable in the kernel which lead me to believe that it should go away.


Last edited by SamothB; 03-09-2004 at 02:17 PM.
 
Old 03-09-2004, 06:39 PM   #12
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
i guess if you got it working then all is good, just thought i would add a couple of things i have found in my experience...

some laptops need to have no lapic added to the boot line.

sometimes the pc may use acpi but mandrake thinks it is to old for acpi, then you need to have force acpi in the boot line.

sometimes you need to turn off apm in the boot line.

doing it through the control center gui is not always adequate.
 
Old 03-09-2004, 07:04 PM   #13
aemus
LQ Newbie
 
Registered: Sep 2003
Location: Puerto Rico
Distribution: Mandrake 10.0, gentoo.
Posts: 7

Rep: Reputation: 0
In my laptop, to enable acpi i did the following:

installed all related acpi packages with urpmi (or with mandrake control center). I think the packages are acpid and acpi. I then opened /etc/lilo.conf (with vi or kwrite or whatever) and I appended acpi=on.

But that did not work, apm was still loading. Then i changed the acpi=on to acpi=force. And it worked!

When i got acpi working for sure i removed the apm related packages from my computer.

Hope this helps...

(btw, to check if apm or acpi is running just check in the directory /proc

if there existes a file called apm you got apm working, if you get a directory called acpi you got acpi running. In the directory of acpi you got the stats of the battery, cpu temp. and related.
)

Thanks.

Last edited by aemus; 03-09-2004 at 07:07 PM.
 
Old 03-09-2004, 08:23 PM   #14
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Quote:
Originally posted by SamothB
Battery 1: unknown 100%
That dosen't look like I would guess it should? When I go to System>Configuration>KDE>Power Control>Laptop Battery, I have a Multi tabbed configuration panel consisting of: Battery, Power Control, Low Battery Warning, Low Battery Critical, Default Power Profiles, Button Actions, and ACPI Config. Everything seems to be enabled such as CPU thottling and System Performance. Let me know if I'm getting close.
From that Id say it is working. AFAIK, Ive never seen ACPI built into a kernel that worked that Ive ever built, but that could just be me

Anyway, removing the APM should be fine. Like someone said earlier, /proc will have the calls for the ACPI to function. If you dont have an ACPI directory, its probably not running.
 
Old 06-09-2004, 07:52 PM   #15
meccax5
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
i have the acpi directory but i still can't control the fan.
i followed everyones suggestions except for deleting apm.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
???Enabling agpgart in Mandrake 10.1 Kernel??? RobTek Linux - Newbie 8 11-09-2004 03:52 PM
Enabling dual processors on Mandrake 10.1... SAFX Mandriva 6 10-12-2004 10:28 AM
Toshiba ACPI, enabling! DeusExLinux Mandriva 1 10-11-2004 04:54 AM
Newbie needs help with enabling acpi on FedCore 2 zahrul Linux - Laptop and Netbook 1 06-14-2004 03:49 PM
Simple Question re: enabling ACPI in BIOS tigerflag Slackware - Installation 11 04-21-2004 06:40 AM

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

All times are GMT -5. The time now is 08:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration