From owner-freebsd-questions Tue Mar 27 12: 7:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail44.fg.online.no (mail44-s.fg.online.no [148.122.161.44]) by hub.freebsd.org (Postfix) with ESMTP id 0E11737B718 for ; Tue, 27 Mar 2001 12:07:40 -0800 (PST) (envelope-from aeielsen@nextra.com) Received: from venom ([148.122.28.131]) by mail44.fg.online.no (8.9.3/8.9.3) with SMTP id WAA06575; Tue, 27 Mar 2001 22:07:30 +0200 (MET DST) Message-ID: <001101c0b6f9$ab6663e0$ca5cfea9@venom> From: "Arnfinn Aas Eielsen" To: "Andrew Hesford" Cc: References: <000f01c0b663$c33323a0$ca5cfea9@venom> <20010326181511.A4218@cec.wustl.edu> Subject: Re: APM on FreeBSD 4.2 Date: Tue, 27 Mar 2001 22:08:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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