can't compile APM into 2.4.0?

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
I'm running RedHat 7 (with kernel 2.4.0 and glibc2.2.1) and although I selected the APM options (such as send halt when idle), running apm says "No APM support in kernel". Also, using /sbin/shutdown cannot power off, it only halts the system (well, brings it to single-user). Would this imply that there is no support in the kernel? According to apm's man page, it requires some apm file under the linux/drivers/something which I could not find (this source is from kernel.org).

any ideas?
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
I compiled it in. Should I use it as a module instead? (I dont actually remember, I am booted in windows and just used an ext2 reader to look at the .config - the line is BLAH_ABOUT_IDLE_HALT_STUFF=y so I'm assuming that means yes and not module/no)

do I need (/usr/src/)linux/drivers/char/apm_bios.c? I can't seem to find it!
 

BOFH

Senior member
Dec 31, 1999
456
0
0
is your apm support compiled in or as a module. the cpu_idle option is a option after apm
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Oh, I'll have to check when I get home. So I might need to do "insmod apm" to start the apm?
 

BOFH

Senior member
Dec 31, 1999
456
0
0
I'm not sure why apm isn't working, however it might have to do with that board being acpi and not all the calls be translated. try using ACPI instead and also make sure to update to 2.4.2
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
How do I use ACPI, and what exactly is new in 2.4.2? (thats one of the annoying linux things... reading changelogs)
 

BOFH

Senior member
Dec 31, 1999
456
0
0
select the ACPI option instead of APM. thats all.

That's one of the annoying things about windows - no change log(s)
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
lol. I'll take a look, thanks (still haven't found acpi, just apm). And I'll pick up 2.4.2 while I'm at it.