From owner-freebsd-current Sun May 31 02:31:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA27369 for freebsd-current-outgoing; Sun, 31 May 1998 02:31:48 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from thing.dyn.ml.org (root@dyn1-tnt12-47.detroit.mi.ameritech.net [209.18.31.47]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA27358 for ; Sun, 31 May 1998 02:31:45 -0700 (PDT) (envelope-from mcdougall@ameritech.net) Received: from ameritech.net (user1@bsdx [192.168.1.2]) by thing.dyn.ml.org (8.8.8/8.8.7) with ESMTP id FAA18865; Sun, 31 May 1998 05:30:38 -0400 (EDT) (envelope-from mcdougall@ameritech.net) Message-ID: <3571233A.DF5852A7@ameritech.net> Date: Sun, 31 May 1998 05:30:34 -0400 From: Adam McDougall Reply-To: mcdougall@ameritech.net X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Kent A Vander Velden CC: current@FreeBSD.ORG Subject: Re: kernel config References: <199805310758.CAA14778@isua2.iastate.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kent A Vander Velden wrote: > Do the -current kernels have a way to automatically enter a few configuration > commands on startup? At the moment whenever I install a new kernel I must > type these lines at the kernel config prompt: > > pnp 1 0 os enable port0 0x220 irq0 5 drq0 1 drq1 5 port1 0x330 port2 0x388 > pnp 1 1 os enable port0 0x208 > pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20 > > to enable the soundcard. I have tried to put these lines in /kernel.config > but that did not seem to change anything. The file kernel.config > does not seem to be documentated anywhere that I could find so perhaps > I am using the wrong syntex. > > I assume that the this functionality is available since typing these > commands get really old :) > > Thanks. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message yup, add this to the kernel options USERCONFIG_BOOT and edit /kernel.config; here's mine for an example: # cat /kernel.config USERCONFIG pnp 1 0 os disable pnp 1 1 irq0 10 os enable port0 0x534 port2 0x220 port3 0xe0d drq0 1 drq1 3 pnp 1 2 os disable pnp 1 3 os disable quit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message