Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2000 11:21:05 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        James Gill <gill@topsecret.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OPTi 931 Sound Card config questions
Message-ID:  <20000130112105.A350@marder-1>
In-Reply-To: <Pine.BSF.4.21.0001281715550.265-100000@pacific.int.topsecret.net>
References:  <Pine.BSF.4.21.0001281715550.265-100000@pacific.int.topsecret.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000130112105.A350>