Click to See Complete Forum and Search --> : apmd/apm in caldera2.4
Once-Ler
03-28-2001, 01:40 PM
I am looking for a copy of apmd for caldera2.4 ... I've tried to get it but it requires chkconfig... and that requires other redhaty type stuff....
Does anyone know where i can get the apmd for caldera? also if you do know... how do you set it up...
Do you know if the tared version requires all the redhat stuff?
If it doesn't how do i get it to work...
I have apm all on in my bios... I'm using the new 2.4.2 kernel... I have:
<*> Power management support
<*> Advanced power management bios support
<*> enable pm at boot time
<*> RTC stores time in GMT
what else do i need to turn on/off to get apm to work?
Thanks for the help
-Will
Are you sure about 'chkconfig' RedHat stuff? Im using Debian, and I just ./configure && make && make install 'd from source when I did it, Im sure.
Once-Ler
03-29-2001, 01:45 PM
I'm not too sure if you need chkconfig... but when i tried the rpm... it gave me a dependincy issue.
what do you have as your setup in debian (kernel, bios, software installed)
thanks for your help
p.s. did you have to do anything to get apmd to startup... or install?
Once-Ler
03-30-2001, 11:59 PM
my apm i still not working... I'm now using the 2.4.3 kernel( :)) apm still doesn't work... I got the apmd binary from their web page... i run "make" I get this error:
gcc -c -O -g -Wall -pipe -I. -I/usr/src/linux/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.0final\" -DAPMD_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
In file included from apmsleep.c:46:
/usr/src/linux/include/linux/mc146818rtc.h:18: parse error before `rtc_lock'
/usr/src/linux/include/linux/mc146818rtc.h:18: warning: type defaults to `int' in declaration of `rtc_lock'
/usr/src/linux/include/linux/mc146818rtc.h:18: warning: data definition has no type or storage class
apmsleep.c:57: warning: `rcsid' defined but not used
make: *** [apmsleep.o] Error 1
what does all this mean... what do i need for it to go away... I thought it was rcs... so i redownloaded that... and I still got the error... I downloaded apmsleep... and went to install that... but it didn't work...
Once-Ler
04-01-2001, 12:49 AM
Okay... I'm back to kernel 2.4.2... I'm not using 2.4.3 because for some reason my q3fps diedish... deathish... it just sucks... so i'm still haveing trouble with apm...
bdg1983
04-01-2001, 06:03 AM
This is from the knowledgebase on Caldera's LTP version, but could have something to do with yours.
The kernel will need to be rebuilt to take advantage of APM. The Technology Preview (LTP) does not come with power management enabled. The primary reason is that the decision was made to include multi-processor support, and the two cannot currently coexist (SMP amd APM).
To avoid the errors you get when removing SMP do a "make mrproper" first. NOTE: using mrproper will reset ALL features of your kernel, so before running the command, make sure you have a current copy of your kernel configuration or that you really know all the options and are confident enough to set the kernel up with all the options you want.
Once-Ler
04-02-2001, 02:31 AM
Okay... i turned off the smp stuff in the kernel... hopefully this will work... i just have the apm on in the kernel... non of the other options... hopefully this will work.
Once-Ler
04-02-2001, 07:13 PM
I went into my kernel--> processor type and features: I turned off CONFIG_SMP (or Symmetric multi-processing support) and turned on APIC and IO-APIC support on uniprocessors:
*Question... is smp anywere else?
Under General setup I just have Power Management support on... i don't have the BIOS support one on... I read a howto saying i should turn on PM at boot, cpu idle calls and console blanking (but it was an old one and there are more options)
I don't have the apmd installed... i can't get it to... i get this:
gcc -c -O -g -Wall -pipe -I. -I/usr/src/linux/include -I/usr/src/linux-2.2/incl
ude -I /usr/src/linux-2.0/include -DVERSION=\"3.0final\" -DAPMD_PROXY_NAME=\"/et
c/apmd_proxy\" apmlib.c
ar rv libapm.a apmlib.o
a - apmlib.o
ranlib libapm.a
gcc -c -O -g -Wall -pipe -I. -I/usr/src/linux/include -I/usr/src/linux-2.2/incl
ude -I /usr/src/linux-2.0/include -DVERSION=\"3.0final\" -DAPMD_PROXY_NAME=\"/et
c/apmd_proxy\" apm.c
gcc -o apm apm.o -L. -lapm
gcc -c -O -g -Wall -pipe -I. -I/usr/src/linux/include -I/usr/src/linux-2.2/incl
ude -I /usr/src/linux-2.0/include -DVERSION=\"3.0final\" -DAPMD_PROXY_NAME=\"/et
c/apmd_proxy\" apmd.c
gcc -o apmd apmd.o -L. -lapm
gcc -c -O -g -Wall -pipe -I. -I/usr/src/linux/include -I/usr/src/linux-2.2/incl
ude -I /usr/src/linux-2.0/include -DVERSION=\"3.0final\" -DAPMD_PROXY_NAME=\"/et
c/apmd_proxy\" tailf.c
gcc -o tailf tailf.o -L. -lapm
gcc -c -O -g -Wall -pipe -I. -I/usr/src/linux/include -I/usr/src/linux-2.2/incl
ude -I /usr/src/linux-2.0/include -DVERSION=\"3.0final\" -DAPMD_PROXY_NAME=\"/et
c/apmd_proxy\" -DNARROWPROTO xapm.c
gcc -o xapm xapm.o -L. -lapm -L/usr/X11R6/lib -lXaw -lXmu -lXt -lXext -lSM -lI
CE -lX11
gcc -c -O -g -Wall -pipe -I. -I/usr/src/linux/include -I/usr/src/linux-2.2/incl
ude -I /usr/src/linux-2.0/include -DVERSION=\"3.0final\" -DAPMD_PROXY_NAME=\"/et
c/apmd_proxy\" apmsleep.c
In file included from apmsleep.c:46:
/usr/src/linux/include/linux/mc146818rtc.h:18: parse error before `rtc_lock'
/usr/src/linux/include/linux/mc146818rtc.h:18: warning: type defaults to `int' i
n declaration of `rtc_lock'
/usr/src/linux/include/linux/mc146818rtc.h:18: warning: data definition has no t
ype or storage class
apmsleep.c:57: warning: `rcsid' defined but not used
make: *** [apmsleep.o] Error 1
rm apm.o apmd.o
For all this i just, tar -xvzf apmd-3.0.tar.gz and then typed "make"
Thanks for the help
-Will
Once-Ler
04-03-2001, 02:32 AM
Help... :o)