LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-18-2005, 02:36 PM   #1
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 128

Rep: Reputation: 15
APM and 2.6.8.1-24 kernel


I have Mdk 10.1 running on a laptop machine. Everything is working well with one minor exception. I run a little dock app under WindowMaker which tells me how much battery I have left, charge time, etc. Under the stock 2.6.8.1-12mdk kernel which came with 10.1 originally, it worked fine (as the apm module loaded up at boot). After updating to the 2.6.8.1-24mdk stock kernel, it doesn't.

[root@r2d2: /home/rcs]$ wmapm
No APM support in kernel

Interestingly, I can't seem to FIND an apm module in /lib/modules (or anywhere else) since updating....if it were compiled into the kernel, the app should work. Here's a search for apm* on the system.

[root@r2d2: /home/rcs]$ findr apm*
/usr/share/man/man8/apmd.8.bz2
/usr/share/man/man1/apmsleep.1.bz2
/usr/share/man/man1/apm.1.bz2
/usr/share/doc/apmd-3.1.0
/usr/bin/apmsleep
/usr/bin/apm
/usr/lib/win32/apmpg4v1.apl
/usr/lib/win32/apmpg4v1.dll
/usr/sbin/apmd
/usr/src/linux-2.6.8.1-24mdk/arch/i386/kernel/apm.c
/usr/src/linux-2.6.8.1-24mdk/include/asm-i386/mach-default/apm.h
/usr/src/linux-2.6.8.1-24mdk/include/linux/apm_bios.h
/usr/X11R6/lib/modules/drivers/apm_drv.o
/usr/X11R6/man/man4/apm.4x.bz2
/usr/include/asm/mach-default/apm.h
/usr/include/linux/apm_bios.h
/etc/rc.d/init.d/apmd

There appear to be source and header files there, but no compiled modules.
I'm sure that I'm missing something here (either between my brain and the keyboard, or the module is actually missing). Does anyone have apm support working with this kernel?

Thanks....Bob
 
Old 03-18-2005, 03:26 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
AFAIK APM support has been rolled into the kernel under 2.6...

Check your /etc/lilo.conf file and make sure that you don't have something which reads...

apm=off

or

acpi=off

You didn't state WHICH LAPTOP you are using...
 
Old 03-18-2005, 05:49 PM   #3
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
No problem....here's the GRUB menu file. It's a Dell Inspiron 8100 (P-III, 1GHz). As I said, APM worked with the previous stock kernel, (2.6.8.1-12mdk), but not this one.

boot=/dev/hda
default=3
timeout=10
splashimage=(hd0,4)/boot/grub/splash.xpm.gz

title Debian
root (hd0,12)
kernel /boot/vmlinuz-2.6.9-1-686 ro root=/dev/hda13 rhgb vga=791
initrd /boot/initrd.img-2.6.9-1-686

title Fedora
root (hd0,10)
kernel /boot/vmlinuz-2.6.10-1.741_FC3 ro root=/dev/hda11 rhgb vga=791
initrd /boot/initrd-2.6.10-1.741_FC3.img

title Gentoo
root (hd0,11)
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda12 rhgb vga=794

title Mandrake
root (hd0,4)
kernel /boot/vmlinuz-2.6.8.1-24mdk ro root=/dev/hda5 rhgb vga=791
initrd /boot/initrd-2.6.8.1-24mdk.img

title Windoze
rootnoverify (hd0,1)
chainloader +1

title Memory Test
root (hd0,10)
kernel /boot/memtest.bin
 
Old 03-18-2005, 06:53 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
WOW!

You have all of that on a LAPTOP?!?

I'm amazed.

Anyway, so ok, no ACPI on your laptop, it definitely needs APM...

You may have run into something specific to .24.
 
Old 03-29-2005, 03:39 PM   #5
ttower
LQ Newbie
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 0
I'm having the same problem with a IBM Thinkpad R32. It was working out of the box with my MD10.0 but the battery monitor disappeared after an update to 10.1 kernel 2.6.8.1-12. Same message when typing apmd: "No APM support in kernel". I do have acpi and acpid and those where activated. apmd was also checked to start at boot but was stopped, probably because of the missing support in the kernel.
Is there a (easy) way to update the kernel to support apmd?
 
  


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
APM in kernel recompile linuxhippy Slackware 4 03-12-2005 09:51 AM
No APM support in kernel kermit Debian 8 12-17-2004 03:17 AM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
(ALSA + kernel 2.6.0 ) + apm George666 Slackware 2 12-29-2003 12:09 PM
APM nor supported in kernel? zLinuxz Linux - General 2 08-15-2003 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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