From owner-freebsd-questions Mon Mar 26 16:15:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-1242.charter-stl.com [24.217.116.226]) by hub.freebsd.org (Postfix) with ESMTP id B3CF237B719 for ; Mon, 26 Mar 2001 16:15:39 -0800 (PST) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id E015BA91B; Mon, 26 Mar 2001 18:15:11 -0600 (CST) Date: Mon, 26 Mar 2001 18:15:11 -0600 From: Andrew Hesford To: Arnfinn Aas Eielsen Cc: questions@freebsd.org Subject: Re: APM on FreeBSD 4.2 Message-ID: <20010326181511.A4218@cec.wustl.edu> References: <000f01c0b663$c33323a0$ca5cfea9@venom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000f01c0b663$c33323a0$ca5cfea9@venom>; from aeielsen@nextra.com on Mon, Mar 26, 2001 at 06:14:09PM -0800 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Good luck. On Mon, Mar 26, 2001 at 06:14:09PM -0800, Arnfinn Aas Eielsen wrote: > 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 -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message