Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 1998 21:52:05 -0500 (EST)
From:      Chris Martino <chrismar@peanut.readington.com>
To:        freebsd-questions account <question@namodn.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Sound.....again! (yamaha OPL3)
Message-ID:  <Pine.BSF.3.96.981202215015.10361A-100000@peanut.readington.com>
In-Reply-To: <Pine.BSF.3.96.981202170745.14712A-100000@namodn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi...just to let you know I played alot in the config> thing and I got it
to work...:-)

The sound is coming out beautifully now...:-)

Thanks alot for your help!

Chris

Ps- you know of a good cd player for X?


--

Chris Martino
chrismar@readington.com

On Wed, 2 Dec 1998, freebsd-questions account wrote:

> 
> Hmm..
> 
> On Wed, 2 Dec 1998, Chris Martino wrote:
> 
> > Ok...this is what I did:
> > 
> > booted using -c, from the config> prompt typed:
> > 
> > pnp 1 0 os enable
> > pnp 1 0 irq0 10
> > pnp 1 0 port0 0x220
> > pnp 1 0 drq0 0
> > 
> > Now, a dmesg shows:
> > 
> > Probing for PnP devices:
> > CSN 1 Vendor ID: YMH0800 [0x0008a865] Serial 0xffffffff
> > PnP: override config for CSN 1 LDN 0 vend_id 0x0008a865
> > Probing for devices on the ISA bus:
> > pcm0 at 0x220 irq 10 drq 1 on isa
> > Unknown card 0x0 0x0 -- hope it is SBPRO
> > 
> 
> That's weird (yet cool!).. seems to be letting you have pcm0 <shrug>
> 
> > cat /dev/sndstat shows:
> > [chrismar@crazy /dev ] % cat /dev/sndstat 
> > FreeBSD Audio Driver (980215) Dec  2 1998 13:06:12
> > Installed devices:
> > pcm0: <SoundBlaster Pro 3.1> at 0x220 irq 10 dma 1:1
> > 
> > this all appears to be good right?  but, now when I try to cat an .au file
> > to /dev/audio I get a message on the console that says:
> > 
> > pcm1: unit not configured, perhaps you want pcm0 ?
> > 
> > hmmm....any hints?
> 
> Hey, well I guess you can make the symlinks /dev/dsp, /dev/audio,
> /dev/dspW got back to pointing to dsp0, audio0 and dspW0...
> 
> A quick way to check would be to 
> cat /dev/blah.au > /dev/audio0
> since that's the real file.. sorry bout the confusion :)
> 
> -I- have to use pcm1 <snif> 
> 
> @:-)
> 
> -rob
> ( www.namodn.com )
> ( mailto : robert@namodn.com )
> 
> > 
> > Chris
> > 
> > --
> > 
> > Chris Martino
> > chrismar@readington.com
> > 
> > On Wed, 2 Dec 1998, freebsd-questions account wrote:
> > 
> > > Basically, yes.
> > > :)
> > > (it's fairly obvious, 
> > > pnp 1 0 port0 0x220
> > > pnp 1 0 irq0 5
> > > pnp 1 0 drq0 0
> > > )
> > > that's what I set mine to.. 
> > > if you go into kernel config and ls does not show a pnp device, you have
> > > to 
> > > pnp 1 0 os enable
> > > to get it to show up.. ( the pnp controller is great, but I think alot of
> > > people are bewildered at not being able to use the visual config for pnp
> > > stuff (yet) :)
> > > 
> > > -rob
> > > ( www.namodn.com )
> > > ( mailto : robert@namodn.com )
> > > 
> > > On Wed, 2 Dec 1998, Chris Martino wrote:
> > > 
> > > > You say etc, etc....down there at the end....
> > > > 
> > > > am I supposed to guess what the etc, etc...is in place for... ;)
> > > > 
> > > > Chris
> > > > 
> > > > --
> > > > 
> > > > Chris Martino
> > > > chrismar@readington.com
> > > > 
> > > > On Wed, 2 Dec 1998, freebsd-questions account wrote:
> > > > 
> > > > > You should set it to 10 then, although i believe you can set it to what
> > > > > you like.. you would want to
> > > > > pnp 1 0 os enable
> > > > > (to let it know that you want to configure it rather than let your bios do
> > > > > it)
> > > > > pnp 1 0 irq0 10
> > > > > etc, etc..
> > > > > 
> > > > > :)
> > > > > -rob
> > > > > ( www.namodn.com )
> > > > > ( mailto : robert@namodn.com )
> > > > > 
> > > > > On Wed, 2 Dec 1998, Chris Martino wrote:
> > > > > 
> > > > > > Ok... i'll leave it the way it is, how do I know what IRQ the card it at
> > > > > > also...it says 10 in the kernel config file because that is what is in
> > > > > > LINT.  I took it straight outta there..
> > > > > > 
> > > > > > a cat /dev/sndstat shows:
> > > > > > 
> > > > > > [chrismar@crazy ~ ] % cat /dev/sndstat 
> > > > > > cat: /dev/sndstat: Device not configured
> > > > > > 
> > > > > > Chris
> > > > > > 
> > > > > > --
> > > > > > 
> > > > > > Chris Martino
> > > > > > chrismar@readington.com
> > > > > > 
> > > > > > On Wed, 2 Dec 1998, freebsd-questions account wrote:
> > > > > > 
> > > > > > > No, then you'd get pcm2 for your pnp device :)
> > > > > > > 
> > > > > > > Leave it the way it is for now.
> > > > > > > 
> > > > > > > When you get the boot prompt and type -c, don't go into visual mode.
> > > > > > > Type ls. At the bottom of the screen your pnp device should be
> > > > > > > configurable.
> > > > > > > ? will give you more help; just make sure it's enabled and stuff.
> > > > > > > 
> > > > > > > Does doing cat /dev/sndstat at the regular ol' BSD prompt give you any
> > > > > > > useful output? I'm thinking maybe it's already assigned to pcm1...
> > > > > > > 
> > > > > > > -rob
> > > > > > > ( www.namodn.com )
> > > > > > > ( mailto : robert@namodn.com )
> > > > > > > 
> > > > > > > On Wed, 2 Dec 1998, Chris Martino wrote:
> > > > > > > 
> > > > > > > > So, does that mean that I have to add 
> > > > > > > > 
> > > > > > > > device pcm1     at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr
> > > > > > > > 
> > > > > > > > to my kernel config file and re-compile?  
> > > > > > > > 
> > > > > > > > Also, I'm not sure of what to type in the kernel config to turn on that
> > > > > > > > stuff you mentioned.
> > > > > > > > 
> > > > > > > > Chris
> > > > > > > > 
> > > > > > > > --
> > > > > > > > 
> > > > > > > > Chris Martino
> > > > > > > > chrismar@readington.com
> > > > > > > > 
> > > > > > > > On Wed, 2 Dec 1998, freebsd-questions account wrote:
> > > > > > > > 
> > > > > > > > > 
> > > > > > > > > When you use plug n play cards with the pcm driver, the card uses the pcm1
> > > > > > > > > device, not pcm0 (i know, i know :) although it does not seem that your
> > > > > > > > > card is assigned to pcm1..
> > > > > > > > > 
> > > > > > > > > Did you go into the kernel config (not visual!) and make sure the pnp
> > > > > > > > > settings are the way you want them? (enabled, irq, port, etc)
> > > > > > > > > 
> > > > > > > > > One thing you must do when the card is pcm1, rm the /dev/audio, dsp, dspW,
> > > > > > > > > etc, and make new symlinks ln -s dsp1 dsp, audio1 audio, as opposed to the
> > > > > > > > > dsp -> dsp0 like before...
> > > > > > > > > 
> > > > > > > > > Do a cat /dev/sndstat and see if the card is successfully detected as
> > > > > > > > > pcm1..
> > > > > > > > > 
> > > > > > > > > -rob
> > > > > > > > > ( www.namodn.com )
> > > > > > > > > ( mailto : robert@namodn.com )
> > > > > > > > > 
> > > > > > > > > On Wed, 2 Dec 1998, Chris Martino wrote:
> > > > > > > > > 
> > > > > > > > > > Over the last couple of days there has been a thread about the yamaha
> > > > > > > > > > OPL-SA sound card.  I've followed the thread closely as I have a Yamaha
> > > > > > > > > > OPL3-SA3 sound board.
> > > > > > > > > > 
> > > > > > > > > > Now, I followed the various hints to the T, and I'm still unable to get it
> > > > > > > > > > to work.  Here is the stuff that I have so far theat seems the most
> > > > > > > > > > promising:
> > > > > > > > > > 
> > > > > > > > > > In my kernel config:
> > > > > > > > > > controller      pnp0
> > > > > > > > > > device pcm0     at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr
> > > > > > > > > > 
> > > > > > > > > > w/ that in there the dmesg shows:
> > > > > > > > > > Probing for PnP devices:
> > > > > > > > > > CSN 1 Vendor ID: YMH0800 [0x0008a865] Serial 0xffffffff
> > > > > > > > > > Probing for devices on the ISA bus:
> > > > > > > > > > sc0 at 0x60-0x6f irq 1 on motherboard
> > > > > > > > > > sc0: VGA color <16 virtual consoles, flags=0x0>
> > > > > > > > > > pcm0 not found at 0xffffffff
> > > > > > > > > > 
> > > > > > > > > > Notice how it says it's not found...but I wonder why....what can I do do
> > > > > > > > > > make it found?
> > > > > > > > > > 
> > > > > > > > > > I'll send the pnpinfo to anyone who wants it.
> > > > > > > > > > 
> > > > > > > > > > I'm running FreeBSD 2.2.6.
> > > > > > > > > > 
> > > > > > > > > > Any suggestions are GREATLY appreaciated.
> > > > > > > > > > 
> > > > > > > > > > TIA,
> > > > > > > > > > Chris
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 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
> > > > 
> > > 
> > > 
> > 
> > 
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981202215015.10361A-100000>