From owner-freebsd-questions Mon Mar 10 15:27:37 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEE6C37B401 for ; Mon, 10 Mar 2003 15:27:35 -0800 (PST) Received: from 10-4-5-217.kotnet.org (bones2.kulnet.kuleuven.ac.be [134.58.253.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1731D44027 for ; Mon, 10 Mar 2003 15:27:23 -0800 (PST) (envelope-from tijl@ulyssis.org) Received: from localhost (localhost [127.0.0.1]) by 10-4-5-217.kotnet.org (8.12.6/8.12.6) with SMTP id h2ANRKjw000776 for ; Tue, 11 Mar 2003 00:27:21 +0100 (CET) (envelope-from tijl@ulyssis.org) Date: Tue, 11 Mar 2003 00:27:19 +0100 From: Tijl Coosemans To: freebsd-questions@FreeBSD.ORG Subject: Re: Enabling APM in Freebsd 4.7 Message-Id: <20030311002719.404c5e42.tijl@ulyssis.org> In-Reply-To: <20030310230353.80728.qmail@web13302.mail.yahoo.com> References: <20030310230353.80728.qmail@web13302.mail.yahoo.com> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 11 Mar 2003 00:03:53 +0100 (CET), Mica Telodico wrote: > Hi, > > I've installed FreeBSD 4.7 and I'd like to get enabled > the APM support. I know that I can enable it by > compile it in the kernel, but I've read about another > system that consist in the writing of a line in the > /boot/loader.conf (enable apm0) but at start the > loader says that there is a syntax error : enable apm0 > > ^ > > Why? How I can enable it without recompiling the > kernel? You should modify /boot/kernel.conf to look like this: en apm0 [some other kernel options] q Then in your /boot/loader.conf make sure you have this: userconfig_script_load="YES" > I've noticed also that in the GENERIC kernel config > there is a "disable" flag in the line of the APM > device, I have to delete that to enable the APM > support?The line looks like this one: > > device apm0 nexus? disable Flag 0x20 > > I've changed it into : > > device apm0 nexus? Flag 0x20 > > is this right? Yes, if your recompile your kernel now, apm should be enabled by default. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message