Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 1999 09:16:19 +0100
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        The Utz Family <utz@serv.net>
Cc:        Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>, multimedia@FreeBSD.ORG
Subject:   Re: pcm0
Message-ID:  <19991213091619.C24699@gil.physik.rwth-aachen.de>
In-Reply-To: <Pine.BSF.4.02.9912121157120.77427-100000@itchy.serv.net>; from utz@serv.net on Sun, Dec 12, 1999 at 12:13:57PM -0800
References:  <199912121115.MAA20474@gil.physik.rwth-aachen.de> <Pine.BSF.4.02.9912121157120.77427-100000@itchy.serv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 12, 1999 at 12:13:57PM -0800, The Utz Family wrote:
> 
> this one is easy to solve! i ran into this last nite when i was busy
> trying to hack luigi-sound to add my CMedia CMI8330 sound chip.
> 
> On Sun, 12 Dec 1999, Christoph Kukulies wrote:
> 
> > FreeBSD-3.3R, Luigi's sound driver:
> > 
> > I tinkered with sound drivers a bit (have an Opti931 sound card
> > which NT didn't recognize but was hoping that I could get
> > it working under FreeBSD):
> 
> > This is an OPTi931, but LDN 1 is disabled
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   This is strange, isn't it?
> 
> this is a string that gets emitted at the end of a case statement that
> tries to decide what card you have based on the vendor id. it's in
> cs423x_attach() in ad1848.c btw.....
> 
> whats happened is that the sound code went and read the configuration
> struct and checked value to see if the card has been inited., obviously it
> hasnt :-)
> 
> now we get to a very silly and deficient portion of freebsd.
> 
> you have to init the card in your /boot/kernel.conf file.it's documented
> that you need to do it, and the strings are given in the CARDS file, but
> the way it works in 3.3-RELEASE is almost completely undocumented.

I began guessing what has to go into the /boot/kernel.conf file
while I read the docs (README,CARDS etc.) but didn't arraive at
a result. Thanks for the info.

> 
> it would take 15 minutes to document it and if somebody tells me who is
> the current handbook/FAQ maintainer i will send it in ASAP.
> 
> here is my /boot/kernel.conf( the only part u care about is the first
> line, i just added the rest to provide some context ).
> 
> spaz@john$  more /boot/kernel.conf
> pnp 1 0 os enable port0 0x530 irq0 11 drq0 0 port3 0x220 irq3 5 drq3 5
> en ie0
> po ie0 0x210
> ir ie0 10
> iom ie0 0xd0000
> f ie0 0
> q
> 
> the pnp line will be different for your card based. but pnpinfo supplies
> everything u need. pnpinfo is way cool.
> 
> however, u may not get much joy. here is what luigi has to say about the
> OPTi931:
> COMMENTS:

[about missing or premature interrupts, dma...]

Doesn't sound promising. Well, I'll give it a try.

> 
> if you get farther and it barfs up on you then post back to the list, i
> may be able to help out a bit more since i am playing in there these days.
> 
> johnu
> 

-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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