Jump to content


Photo

SuSE 8.1 Pro ACPI


  • Please log in to reply
8 replies to this topic

#1 GhostSong

GhostSong

    member

  • Members
  • 122 posts

Posted 25 February 2003 - 08:44 PM

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

#2 Theophile

Theophile

    newbie

  • Members
  • 37 posts

Posted 27 February 2003 - 05:40 AM

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.sourcefo...t/download.html

#3 GhostSong

GhostSong

    member

  • Members
  • 122 posts

Posted 27 February 2003 - 08:36 AM

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

#4 GhostSong

GhostSong

    member

  • Members
  • 122 posts

Posted 27 February 2003 - 09:14 AM

Should i try there and get a patch or kernel

http://www.kernel.or...ux/kernel/v2.5/

I'll appreciate it if you can help me out

I could'nt find anything about grub though to check if the steps i took were okay

#5 Theophile

Theophile

    newbie

  • Members
  • 37 posts

Posted 27 February 2003 - 09:37 AM

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'

#6 GhostSong

GhostSong

    member

  • Members
  • 122 posts

Posted 27 February 2003 - 10:27 AM

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

#7 Theophile

Theophile

    newbie

  • Members
  • 37 posts

Posted 27 February 2003 - 05:30 PM

Download the 2.4.20 kernel: http://www.kernel.or...-2.4.20.tar.bz2

Patch it to 2.4.20-pre4: http://www.kernel.or...2.4.21-pre4.bz2

Patch it with the ACPI patch: http://prdownloads.s...iff.gz?download

Patch it with the kernel-level suspend patch: http://fchabaud.free...125-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.

#8 GhostSong

GhostSong

    member

  • Members
  • 122 posts

Posted 08 March 2003 - 01:22 PM

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 smile 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

#9 GhostSong

GhostSong

    member

  • Members
  • 122 posts

Posted 27 May 2003 - 04:14 PM

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)
B) setup (hd0,1)
c) kernel=/boot/vmlinuz
d) initrd=/boot/initrd
e) chainloader (hd0,1)+1 ( or +21 )
f) boot

Farewell




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq