From owner-freebsd-questions Sun Jan 30 3:22:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 79B751556F for ; Sun, 30 Jan 2000 03:22:41 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 29425 invoked from network); 30 Jan 2000 11:21:19 -0000 Received: from userai29.uk.uudial.com (HELO marder-1.) (62.188.133.59) by smtp.dial.pipex.com with SMTP; 30 Jan 2000 11:21:19 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id LAA00741; Sun, 30 Jan 2000 11:21:06 GMT (envelope-from mark) Date: Sun, 30 Jan 2000 11:21:05 +0000 From: Mark Ovens To: James Gill Cc: freebsd-questions@freebsd.org Subject: Re: OPTi 931 Sound Card config questions Message-ID: <20000130112105.A350@marder-1> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 30, 2000 at 12:22:55AM -0500, James Gill wrote: > > Hello. I am trying to get my OPTi 931 working under 3.4-RELEASE with > GNOME and Enlightenment. > > I've read the handbook and the pcm(4) man page. I think I need more > information. > > In the section under OPTi, I find the following line which is repeated in > the handbook and the pcm(4) man page: > > ---file:/usr/src/sys/i386/isa/snd/CARDS--- > PNP CONFIG: > pnp 1 1 os enable port0 0x534 port2 0x220 port3 0xe0d irq0 10 drq0 1 drq1 6 > ---file:/usr/src/sys/i386/isa/snd/CARDS--- > > But this isn't working for my kernel. I always get a "config: line 174: > syntax error" on this line. > > --- from MYKERNEL --- > controller pnp0 # PnP support for ISA > controller isa0 > controller eisa0 > # SoundCard Support > pnp 1 1 os enable port0 0x534 port2 0x220 port3 0xe0d irq0 10 drq0 1 drq1 6 This line doesn't go in the kernel config file, it goes in the loader config file. Remove it from MYKERNEL, re-build the kernel, ``boot -c'', enter that line at the ``config>'' prompt and save it. Note that you will probably have to enter it in 2 sections as it is longer than a screen line )+the config prompt): boot -c config> pnp 1 1 os enable port0 0x534 port2 0x220 port3 0xe0d config> pnp 1 1 irq0 10 drq0 1 drq1 6 config> quit You will be asked if you wish to save the changes, answer yes, and next reboot it should use those pnp settings automagically. HTH. > --- end MYKERNEL --- > > without much luck. This is the only ISA card, the only PNP card, and the > only EISA card in my system. So, can I leave off the "controller pnp0" > line? Will the "pnp 1 ..." line suffice? > -- "there's a long-standing bug relating to the x86 architecture that allows you to install Windows too" -Matthew D. Fuller ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message