From owner-freebsd-questions Mon Jan 31 14:26:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id 8B761150CB for ; Mon, 31 Jan 2000 14:26:40 -0800 (PST) (envelope-from ales@megared.net.mx) Received: from ales (ales.megared.net.mx [207.249.163.251]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id QAA24952; Mon, 31 Jan 2000 16:23:31 -0600 (CST) (envelope-from ales@megared.net.mx) Message-ID: <002001bf6c3a$0770d000$020a0a0a@megared.net.mx> From: "Alejandro Ramirez" To: "Mark Ovens" , "James Gill" Cc: References: <20000130112105.A350@marder-1> Subject: RE: OPTi 931 Sound Card config questions Date: Mon, 31 Jan 2000 16:25:06 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi James, I have one of this cards working with great, just put this lines in your kernel config file, rebuild & install the new kernel, then "/dev/MAKEDEV snd1", reboot and you are done. controller pnp0 device pcm0 at isa? port 0x240 tty irq 10 drq 1 flags 0x0 vector pcmintr P.S. Change the port address, irq & drq to your needs. Greetings Ales ----- Original Message ----- From: Mark Ovens To: James Gill Cc: Sent: Sunday, January 30, 2000 5:21 AM Subject: Re: OPTi 931 Sound Card config questions > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message