LinuxQuestions.org
Help answer threads with 0 replies.
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 06-20-2003, 09:31 PM   #16
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30

The last step is absolutely critical. The system won't boot if you don't get it right. I'm not sure exactly what "make install" does. Does it only work with lilo? Will it set the bootloader up so I can still choose the old kernel if necessary? I'd rather just do it myself because it's easy enough and absolutely critical.
 
Old 06-20-2003, 11:22 PM   #17
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
make install also works for Grub. The following steps should work for SUSE also because I believe they are both RPM based. This is what I used to get my Battery monitor to work, I had to re-compile the kernel to include ACPI instead of APM since my Laptop needs ACPI.

* First ensure the source is installed, if using APM just skip to the line with make mrproper

* Download the patches you need, I believe if you are using APM you don't need to worry about any patches

* The patch for ACPI must match your kernel for eg: For RH 9 running kernel 2.4.20-18.9 I downloaded acpi-20021212-2.4.20.diff.gz from Sourceforge at the following link Sourceforge ACPI

* Then unzip this file gzip -d acpi*.diff.gz then copy the file acpi-20021212-2.4.20.diff to /usr/src/linux-2.4.20-18.9

* then go to console or virtual console su, enter root password, cd /usr/src/linux-2.4.20-18.9

* then you type the following command patch -p1 -f < acpi-20021212-2.4.20.diff

* then make mrproper

* then cd configs choose the config file that matches your PC this is for RH, I don't know if SUSE includes the same.

* then cp <matching config file> usr/src/linux-2.4.20-18.9/.config this sets everything up for the default that RH passes to its kernel

* then cd ..

* then you can edit the Makefile in /usr/src/linux-2.4.20-18.9, and put something in extraversion line, I put the date the kernel was compiled on.

* then make xconfig if in X, or make menuconfig in console

* then after choosing your options here ensure that APM is set to be built in or ACPI one or the other depending what your Laptop needs if unsure then build in both and then in the Grub or Lilo options for the kernel you can say ACPI=on APM=off or vice versa

* then make dep

* then make clean

* then make bzImage

* then make modules

* then make modules_install

* then make install

After this then you double check your lilo or grub conf file and here you can pass the options as noted above to the kernel.

If using lilo I believe if everything looks good then you will have to issue the following command /sbin/lilo but don't quote me on this I use grub

Reboot your laptop and the battery monitor should work.

PS. Above I used the directory for the kernel I am using, use the directory where your kernel sources are.

Hope this helps

Last edited by JayCnrs; 06-21-2003 at 12:57 PM.
 
Old 07-07-2003, 04:23 PM   #18
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
Sorry I haven't responded, I was out of town and I've been trying JayCnrs's solution. I haven't been able to get it to recompile after applying the patch. This could be due to my not having the right kernel or patch, I'm not sure. It was also suggested to me that I upgrade my kernel. currently I'm running 2.4.20, so I downloaded 2.4.21, but I haven't been able to compile that either. I get all sorts of warnings and errors when I run bzImage. But I'll keep trying. Thanks for any more suggestions.
 
Old 07-10-2003, 04:13 PM   #19
zvandiver
Member
 
Registered: Jul 2003
Distribution: Kubuntu
Posts: 83

Rep: Reputation: 15
Moebius,

The SuSE 8.2 kernel has support for ACPI. You have to edit the runlevel to activate it on boot. Go to YAST--System--runlever editor--runlevel properties. It will list all of the available daemons. Turn on acpid and be sure to specify runlevel 5 at the bottom. Currently the only function supported is the battery monitor. The suspend functions aren't implemented yet.

Zane
 
Old 07-16-2003, 04:29 PM   #20
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Just Run Yast2. Click on teh System Tab, Click on Runlevel Editor, and then just pick what Runlevels you want acpid to run in. Easy
 
  


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 power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 02:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 04:04 PM
power management spyderusa11 Linux - Newbie 1 06-20-2003 11:39 PM
Power Management not availible Moebius Linux - Hardware 4 06-18-2003 08:02 PM
Power management justiceisblind Linux - Newbie 3 01-24-2003 11:10 AM

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

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