SuSE 8.1 Pro ACPI

This is a discussion about SuSE 8.1 Pro ACPI in the Everything Linux category; Hi there I need someone expert about compiling the kernel When in X the battery is with X and says that i need at least to enable control method battery and AC adaptor I compiled the kernel all ACPI apm are enabled but still no dice rcapmd status Checking for apmd:unused apmd No APM support in kernel uname -a Linux ...

Everything Linux 1800 This topic was started by , . Last reply by ,


data/avatar/default/avatar06.webp

122 Posts
Location -
Joined 2001-10-22
Hi there
 
I need someone expert about compiling the kernel
 
When in X the battery is with X and says that i need at least to enable control method battery and AC adaptor
 
I compiled the kernel all ACPI apm are enabled but still no dice
 
rcapmd status
Checking for apmd:unused
 
apmd
No APM support in kernel
 
uname -a
Linux SoftParade 2.4.19-4GB #1 Wed Sep 25 18:58:10 UTC 2002 i686 unknown
 
Acpid is the only one that seems to run.
 
( ) Within the bios there's nothing about ACPI APM
 
Cause it's a new laptop
 
I have to add that before i log into X if i press the button to
 
suspend the monitor goes off but when i log in X there's no action at all.
 
Anyone ? Any help will be grateful
 
Thank You
 
Farewell

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Feb 25
Created
May 27
Last Response
0
Likes
4 minutes
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar15.webp

37 Posts
Location -
Joined 2003-02-16
ACPI support in the 2.4 kernels is not really good enough for general useage. If you want to use features like battery and AC adapter status (and others), you'll need to patch your kernel. You should find what you need at: http://acpi.sourceforge.net/download.html

data/avatar/default/avatar06.webp

122 Posts
Location -
Joined 2001-10-22
OP
Okay but what with the make menuconfig ....
 
 
Last time i tried i had a kernel panic about VFS cant mount root fs on 03:02 i think ...
 
I use Grub
 
My steps were :
 
make menuconfig|changes|make dep|make clean|make bzImage|make
 
modules|cp /boot/vmlinuz /boot/vmlinuz.old|cp arch/i386/boot/bzImage
 
/boot/vmlinuz|Grub ( where's the make modules_install ) and within
 
grub> root (hd0,1) | setup (hd0,1) | kernel /boot/vmlinuz | boot
 
(distro:Suse 8.1 Pro) on Laptop Compaq Presario 2800series

data/avatar/default/avatar15.webp

37 Posts
Location -
Joined 2003-02-16
I'd wait on the 2.5 kernels. I'm running a patched 2.4.21-pre3 and it's working nicely. Once you apply the appropriate patch, 'make menuconfig' should give you a couple extra menu items for power management.
 
Also, 'make clean' should preceed 'make dep'

data/avatar/default/avatar06.webp

122 Posts
Location -
Joined 2001-10-22
OP
I was sure i could deal with the panic kernel
 
I Did chainloader(hd0,1)+21 and went all good
 
But ...
 
Still no apm support by kernel acpi not at all ( should i try apm acpi =on as well ? ) Even the dmesg rcapmd status unused etc
 
Or i should try the patch ( which one should i get for my distro ) or update my kernel ( which one again )
 
Farewell

data/avatar/default/avatar15.webp

37 Posts
Location -
Joined 2003-02-16
Download the 2.4.20 kernel: http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2
 
Patch it to 2.4.20-pre4: http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.21-pre4.bz2
 
Patch it with the ACPI patch: http://prdownloads.sourceforge.net/acpi/acpi-20030218-2.4.21-pre4.diff.gz?download
 
Patch it with the kernel-level suspend patch: http://fchabaud.free.fr/English/Tricks/Laptop/Swsusp/patch-acpi-acpi20030125-swsusp18.gz
 
'make menuconfig' The additional options for APCI will be present.
 
Enable them.
 
Recompile.
 
In the mean time, read the documentation on the pages above. Read it all.

data/avatar/default/avatar06.webp

122 Posts
Location -
Joined 2001-10-22
OP
Alo'
 
 
Well i always get a kernel panic VFS about mount root VFS n' stuff after every make dep of my kernel.
 
And i go through lots to deal with the panic kernel which i can deal with it
 
But i cant keep the compiled kernel for the reason i've told you before
 
I load manualy de default kernel , then i reconfigure man too the grub
 
and so on and i can work again w/o install again But still no dice with the compile
 
() I'm on SuSE 8.1 pro ( no other os's , just linux in the whole hdd )
 
Farewell

data/avatar/default/avatar06.webp

122 Posts
Location -
Joined 2001-10-22
OP
Greetings ,
 
Allright with the kernel.Acpi/bluetooth/irda
 
Every thing works great , like Rock
 
The steps to deal with the kernel panic were ( if you configured with reiserFS / scsi emulation within the kernel's options otherwise these were the causes ) are
 
a) root (hd0,1)
setup (hd0,1)
c) kernel=/boot/vmlinuz
d) initrd=/boot/initrd
e) chainloader (hd0,1)+1 ( or +21 )
f) boot
 
Farewell