Date: Mon, 26 Mar 2001 18:14:09 -0800 From: "Arnfinn Aas Eielsen" <aeielsen@nextra.com> To: <questions@freebsd.org> Subject: APM on FreeBSD 4.2 Message-ID: <000f01c0b663$c33323a0$ca5cfea9@venom>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hello
I have just installed FreeBSD 4.2 on my "Toshiba 4000cds" laptop computer. Since it does not have unlimited battery capacity I'm trying to figure out how to use the APM functionality in FreeBSD. I have used Amigas and Macs all my life so unix is a new world to me, and I'm not very good at this configuring and setting up things in textfiles (yet).
So this is the story:
I ran the "apm -z" and I got the message "apm:can't open /dev/apm: device not configured".
I ran "apmd -v -d" and I got the message "apmd:cannot open device file /dev/apmctl: Device not configured".
I looked in the /dev directory and there was a file there called "apm" and another one called "apmctl". Just in case i ran "./MAKEDEV apm" and "./MAKEDEV apmctl" in hope that that might do some magic, which it didn't.
I looked in the "rc.conf" file which says:
apm_enable="YES"
apmd_enable="YES"
apmd_flags="-d -v"
Then I scratched my head, and after that I looked in the configuration file for the GENERIC kernel, and it said that apm was enabled. I even tried to make my own configuration file and kernel and I actually made it work too (and thought to myself that I was getting pretty good at these unix things), but after booting the new kernel the problems was still there.
So now I don't know what to do.
And any help would be greatly appreciated.
Many thanks,
Arnfinn Aas Eielsen
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello</FONT><FONT face=Arial size=2></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have just installed FreeBSD 4.2 on my "Toshiba
4000cds" laptop computer. Since it does not have unlimited battery capacity I'm
trying to figure out how to use the APM functionality in FreeBSD. I have used
Amigas and Macs all my life so unix is a new world to me, and I'm not very good
at this configuring and setting up things in textfiles (yet).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>So this is the story:<BR>I ran the "apm
-z" and I got the message "apm:can't open /dev/apm: device not
configured".</FONT></DIV>
<DIV><FONT face=Arial size=2>I ran "apmd -v -d" and I got the message
"apmd:cannot open device file /dev/apmctl: Device not configured".</FONT></DIV>
<DIV><FONT face=Arial size=2>I looked in the /dev directory and there was a file
there called "apm" and another one called "apmctl". Just in case i ran
"./MAKEDEV apm" and "./MAKEDEV apmctl" in hope that that might do some
magic, which it didn't.</FONT></DIV>
<DIV><FONT face=Arial size=2>I looked in the "rc.conf" file
which says:</FONT></DIV>
<DIV><FONT face=Arial size=2> apm_enable="YES"</FONT></DIV>
<DIV><FONT face=Arial size=2> apmd_enable="YES"</FONT></DIV>
<DIV><FONT face=Arial size=2> apmd_flags="-d -v"</FONT></DIV>
<DIV><FONT face=Arial size=2>Then I scratched my head, and after that I looked
in the configuration file for the GENERIC kernel, and it said that apm was
enabled. I even tried to make my own configuration file and kernel and I
actually made it work too (and thought to myself that I was getting pretty good
at these unix things), but after booting the new kernel the problems was still
there.</FONT></DIV>
<DIV><FONT face=Arial size=2>So now I don't know what to do.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>And any help would be greatly
appreciated.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Many thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Arnfinn Aas Eielsen</FONT></DIV></BODY></HTML>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c0b663$c33323a0$ca5cfea9>
