LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-16-2004, 08:06 AM   #16
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30

Quote:
Originally posted by shassouneh
Kramer If your reply was meant for me, please read above. I said I installed Mandrake 10
You mean it doesnt come with ACPI enabled? Thats pretty crappy. I was hoping to install that without having to compile to enable it
 
Old 03-16-2004, 08:07 AM   #17
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
Oh I c. And how do I recover form this? A Re Install?

btw I tried "failsafe" and "linux-nonfb" and both fail at the ACPI stuff. ANy idea what i should do?
 
Old 03-16-2004, 08:09 AM   #18
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
yeah Kramer. This is a FRESH install of 10. And I gotta tell you, i am NOT impressed. An OS is SUPPOSED to not give you these kinds of problems right off the bat. SuSE here I come.

I tried RedHat 9, Fedora Core 1, Mandrake 9.2/10 and so far the only one that woirks "properly" ios SuSE

sigh
 
Old 03-16-2004, 08:10 AM   #19
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Ive never been able to get around that without a reinstall unfortunately

Both the failsafe and nonfb will fail because they are booting off the same kernel if your system installs like mine, the only thing that is different is the boot parameters.
 
Old 03-16-2004, 08:12 AM   #20
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
oh sh***. Well Like I mentioned above, SuSE works like a charm. It picks up all my hardware (including the battery stuff). It works like a charm. Also it comes with way more software.
I think i will go back. But I don't want to go back to 9.0 since 9.1 is coming out very soon, LOL
 
Old 03-16-2004, 08:39 PM   #21
amped
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0 Community
Posts: 9

Rep: Reputation: 0
Shas,
Did you try passing a nolapic option when booting the Kernel? That solved my problems.
 
Old 03-16-2004, 09:27 PM   #22
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
Quote:
Originally posted by amped
Shas,
Did you try passing a nolapic option when booting the Kernel? That solved my problems.
I'm using lilo, and it does not give me a prompt to enter boot paramters. It just either boots windows (succesfully) or hangs booting Linux
 
Old 03-17-2004, 01:48 AM   #23
alucard2
LQ Newbie
 
Registered: Mar 2004
Location: Singapore
Posts: 13

Rep: Reputation: 0
I am using MDK 10.0, no problems on install. In the LILO parameters during install just tick ACPI required it compiles the ACPI into the kernel.
But what it doesnt do for some unknown reason is doesnt start ACPI at first boot. You need to goto MCC-> System -> Services and enable acpi and acpid at boot.. reboot and viola acpi runs fine.
 
Old 03-17-2004, 07:46 AM   #24
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
re install?

Quote:
Originally posted by alucard2
I am using MDK 10.0, no problems on install. In the LILO parameters during install just tick ACPI required it compiles the ACPI into the kernel.
But what it doesnt do for some unknown reason is doesnt start ACPI at first boot. You need to goto MCC-> System -> Services and enable acpi and acpid at boot.. reboot and viola acpi runs fine.
Thanx for the tip. What you suggested requires a re install. The APM/ACPI thing in mdk is not the only thing that bugged me about Mandrake. In fact, I am so dissapointed with MDK I might go back to my beloved SuSE.
 
Old 07-22-2004, 11:28 AM   #25
adarsh
LQ Newbie
 
Registered: Jan 2003
Location: Greenbelt, MD, USA
Distribution: Red Hat 9.0
Posts: 6

Rep: Reputation: 0
ACPI Mandrake problems

Hi,
I have a Dell Inspiron 5100 running Mandrake 10. I encountered the problem similar to what was discussed earlier. I had no problems shutting down, but the laptop battery monitor was not functioning. I could not close the lid on the laptop, or use suspend/standby. Apparently, the 2.6 kernel shipped with Mandrake 10 has ACPI support built in as modules, which for some reason refused to load ! The only way I managed to get ACPI working on my system was by recompiling the kernel. Since I am a pretty new user myself, and since I think the person who had this problem was a newbie as well, I shall describe what I did in a step-by-step procedure. Please forgive me if I have been unnecessarily verbose (or quite long-winded in what I did).

1. Open a console, login as root.
2. Make sure you have the kernel source installed.
3. Change to the source directory (/usr/src/linux, in my case)
4. Give the command 'make menuconfig'
5. In the menu that comes up, change to the option that says Power Management.
6. Choose ACPI Support in the menu that comes up.
7. In the menu, there will be a lot of options something like AC adapter, processor, fan, battery, button, thermal zone), with '<M>' next to them.
8. In each of these options, press space to change the M to *
9. Exit and save changes.
10. Compile the kernel by typing in 'make bzImage' (note the capital I)
11. Once it compiles, copy the bzImage file (found in arch/i386/boot) to /boot (or it's equivalent, on your comp)
12. Setup the boot loader to include it as an option.
13. Reboot and boot into your new kernel.

All this lead to the battery monitor on my laptop coming up, and reporting the status correctly. To enable standby/support and to configure lid action, open KLaptop, and go to the ACPI tab. There, click on 'Setup Helper application', and set it up (It might give a warning to the effect that the versions are not the same - ignore it). Close KLaptop and re-open it. You should see all the options now.

However, while this worked on my (and a couple of others) laptop, it did not work on a few as well... So give it a shot and hope for the best

Adarsh
 
Old 09-25-2004, 06:46 AM   #26
afterxleepeep
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
I got it working on my laptop (Compaq 2125) with an AMD 2200+ CPU.

WITHOUT RECOMPILING ANYTHING (Mandrake 10.0)

The problem is that after installing, the acpi daemon (acpid) wasn't installed and also acpi wasn't enabled to be on.

What I did was the following:

- Mandrake Control Center > Packages.

Install the packages acpi and acpid.

- Mandrake Control Center > Boot Loader > Click Next
(Dont enable acpi with that checkbox. It wont work)

- Click your default boot kernel (Mine is 'linux') and click 'Modify'
- Look for something like 'acpi=ht' and change it for 'acpi=on' If is not there, just add it

If after doing that your computer don't boot, it's beacuse an APIC (not acpi) conflict, so you will have to boot using another kernel on the list or failsafe and add 'nolapic' to the append parameters

Mine looks like this:

nolapic devfs=mount resume=/dev/hda1 splash=silent acpi=on

Boot again, and ckeck if ACPI is working. Open a term, and type 'acpi -V' You should see something like this:

[afterxleep@localhost afterxleep]$ acpi -V
Battery 1: unknown, 100%
Thermal 1: ok, 57.0 degrees C
AC Adapter 1: on-line

Now its working!!

Anyway, you will need to enable CPU frequency scaling (It's ok with 10.0 kernel 2.6.7-3)

If your laptop has an AMD k7 procesor (Athlon) you can use the powernow-k7 module to enable CPU frequency scalin

- Open a terminal
- Login as root

First you might try to load the module and check if it works.

Just type:

modprobe powernow-k7

Then type

lsmod

If you can see the module on the list, it's working. You can have CPU frequency scaling!

Now you might to load it automatically at boot

- edit /etc/modules.preload (vi /etc/modules.preload)
- add powernow-k7 on a new line. Like this:

---
# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

ati-agp
powernow-k7
wacom
----

- Reboot and check again if the module is loaded. It it is, you might want to enable the scaling daemon to make your battery last a lot.

Download the cpufreqd RPM's

You can find those here:

http://rpm.pbone.net/index.php3/stat....i586.rpm.html
http://rpm.pbone.net/index.php3/stat....i586.rpm.html

Install the libs first.

It generates a configuration file automatically for your laptop. You just need to copy it over the default config.

Do as follows (as root)
cp /etc/cpufreqd/cpufreqd.conf.tmp /etc/cpufreqd.conf

(replace the default file)

Dont ask me how I found all this stuff. Took me days.. But now, my battery lasts about 25 minutes more than in Windoze

Now klaptop works well and if you go to the preferences you can configure KDE to let you change your power-saving mode as you wish, directly from your desktop.

Hope this helps-

Last edited by afterxleepeep; 09-25-2004 at 06:48 AM.
 
  


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
ACPI killed my laptop (Mandrake 10.1) spookymulder825 Linux - Laptop and Netbook 11 06-10-2005 04:36 AM
installing mandrake 9.1 on compaq presario 2500 laptop ServalSoft Linux - Laptop and Netbook 2 01-22-2005 05:34 PM
acpi help on hp pavilion ze4420 laptop running on mandrake 9.2 tinabeans Linux - Laptop and Netbook 0 06-14-2004 05:23 PM
Linux on Compaq Presario 2120 beginner Linux - Laptop and Netbook 4 03-03-2004 06:00 PM
ACPI and laptop in mandrake 9.2 cuzzle Mandriva 11 11-23-2003 12:07 AM

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

All times are GMT -5. The time now is 03:39 PM.

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