From owner-freebsd-stable Tue Jul 24 9:37:59 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 9817237B403 for ; Tue, 24 Jul 2001 09:37:57 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f6OGbob05267; Tue, 24 Jul 2001 09:37:50 -0700 (PDT) Message-Id: <200107241637.f6OGbob05267@ptavv.es.net> To: Morten Vinding Nielsen Cc: "'Derek C.'" , freebsd-stable@FreeBSD.ORG Subject: Re: APM bug? In-reply-to: Your message of "Tue, 24 Jul 2001 10:27:30 BST." <2D3005375CAED31199D00008C784963F02C0F448@ms02.mobilix.dk> Date: Tue, 24 Jul 2001 09:37:50 -0700 From: "Kevin Oberman" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Morten Vinding Nielsen > Date: Tue, 24 Jul 2001 10:27:30 +0100 > Sender: owner-freebsd-stable@FreeBSD.ORG > > Just remove the "disable", recompile and your kernel will have APM support. > > Btw. is there another way of enabling a disabled device, than boot using > boot -c and enable it from the bootup-config? > I was thinking of a boot-configuration file where it could be set, so that > we don't have to recompile the kernel to get APM or PCCARD support for > instance. Yes. This is what /boot/kernel.config is is for. en apm0 q will do the trick. (This also requires that the statement: userconfig_script_load="YES" be in /boot/loader.conf, but it usually already is.) loader.conf is not too well documented and kernel.conf seem undocumented. Guess I should try to find the time to write a man page for the latter. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message