Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 1999 21:03:55 +0000 (GMT)
From:      Marc Hufschmitt <marcas1@mime.univ-paris8.fr>
To:        freebsd-questions@FreeBSD.ORG, Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Subject:   Re: Yamaha OPL3-SA YHM0802 configuration problem
Message-ID:  <Pine.BSF.4.10.9907231538350.460-100000@dichlore.mime.up8.edu>
In-Reply-To: <199907230522.HAA28451@labinfo.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help

> hi,
> can you try to patch the function cs423x_probe and cs423x_attach to add
> your Yamaha PnP ID to the list. I have no idea what this chip emulates,
> but if you are lucky it is similar to one of the older codecs from
> yamaha.
> 
> also in the config you should only put "device pcm0 ..." and expect
> that the card be assigned unit #1.
> 
> 	cheers
> 	luigi
> 

The chip is on the Dual PII mainboard. I've no special screw driver yet.

I patched the /sys/i386/isa/snd/ad1848.c file with the PNP probed values
dmesg:
> Probing for PnP
> devices: > CSN 1 Vendor ID: YMH0802 [0x0208a865] Serial 0xffffffff
> Comp ID: @@@0000 > [0x0000 > 0000] 

diff : 
|1461,1462d1460
|<     else if ( id == 0x0200a865)
|<       s = "Yamaha OPL3-SA";
|1522,1523c1520
|<           vend_id==0x0008a865 || vend_id==0x8140d315 ||
|<           vend_id==0x0208a865) {
|---
|>           vend_id==0x0008a865 || vend_id==0x8140d315) {

The card is indentified as 
pcm1 at 0x530 irq 5 drq 1 flags 0x0 on isa
mss_attach <mss>1 at 0x530 irq 5 dma 1:0 flags 0x0

but no sound !

sndconfig says
pcm1 ... ok
sequencer <???>  ....   (not functional)

with cam (audio mixer) I get scratchy noises and high frequency continued
sounds whereas the scsi hard disk seek for a track !!!

  Marc H.






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.4.10.9907231538350.460-100000>