[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apm powershutown not working in 2.4.20-bf2.4



On Mon, Jan 05, 2004 at 11:02:39AM +0000, J.S.Sahambi wrote:
> I just installed the Debian unstable on a P-IV. To power off the system 
> when I give it a shuddown we have to load the apm module with option 
> "power_off=1". So I give the following commnad:

hm. at me loading the module itself is enough, but it's anpther kernelversion, 
and I built it on my own.

> debain:~# modprobe apm power_off=1
> 
> I get the following text on the terminal:
> 
> /lib/modules/2.4.20-bf2.4/kernel/arch/i386/kernel/apm.o: init_module: No 
> such device
> Hint: insmod errors can be caused by incorrect module parameters, 
> including invalid IO or IRQ parameters.
>       You may find more information in syslog or the output from dmesg
>       /lib/modules/2.4.20-bf2.4/kernel/arch/i386/kernel/apm.o: insmod 
> /lib/modules/2.4.20-bf2.4/kernel/arch/i386 
> /lib/modules/2.4.20-bf2.4/kernel/arch/i386/kernel/apm.o: insmod apm failed
> debain:~#
> 
> CAn any body tell me what is wrong?

do you get the same without the parameter?
is there anything relevant in dmesg or in syslog?
please post the output of:

grep APM /boot/config-2.4.20-bf2.4

at me it looks like this:

charlie@marvin:~/test$ grep APM /boot/config-2.4.20
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
CONFIG_APM_REAL_MODE_POWER_OFF=y
charlie@marvin:~/test$ 


HTH

charlie

-- 
Végh Károly -  System Engineer - UTA - TIS.SAS.BSS
"First they ignore you, then they laugh at you, 
then they attack you, then you win."
				  - Mahatma Gandhi



Reply to: