Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 22:08:19 +0200
From:      "Arnfinn Aas Eielsen" <aeielsen@nextra.com>
To:        "Andrew Hesford" <ajh3@chmod.ath.cx>
Cc:        <questions@freebsd.org>
Subject:   Re: APM on FreeBSD 4.2
Message-ID:  <001101c0b6f9$ab6663e0$ca5cfea9@venom>
References:  <000f01c0b663$c33323a0$ca5cfea9@venom> <20010326181511.A4218@cec.wustl.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Silly me. I thought that not including or commenting out something was the
same as disabling it. Now I know better :). I recompiled the kernel with the
new settings and i worked flawlessly!

Thanks alot!

Arnfinn Aas Eielsen



> APM was not enabled in my GENERIC kernel. You might see something like:
>
> device apm0 at nexus? disable flags 0x20
>
> This means that APM is disabled. To enable it, rebuild your kernel with
> the "disable" part removed. Note that on some machines (most notably
> mine), this can cause weird problems, like the machine locking up at
> boot time (again I speak with first-hand experience).
>
> If it works, and you have the appropriate devices (see /dev/MAKEDEV if
> you don't), these commands should work.
>
> >    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"
> >
> >    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



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001101c0b6f9$ab6663e0$ca5cfea9>