Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 1997 03:33:23 +0200 (EET)
From:      Vladimir Kushnir <kushnir@ap3.gluk.apc.org>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: attach_mss for full duplex: possible misspelling?
Message-ID:  <Pine.LNX.3.95.971107032818.2586A-100000@ap3.gluk.apc.org>

index | next in thread | raw e-mail

  
On Thu, 6 Nov 1997, Luigi Rizzo wrote:
<snip>
> > ...
> > hw_config->dma,
> > hw_config->dma2,
> > ... instead? At least, this way it initializes my card (CS4231 based
> > Yamaha OPL3 PnP duplex card) correctly.
> 
> of course you can try, but the AD1848 and some clones have only 1 DMA
> channel, and I believe the code is not enough informed to know which
> card it is attaching.
> 
> BTW the Yamaha as far as I know is not based on the CS4231 -- it uses a
> proprietary chip which _emulates_ some features of the CS423x but has
> some differences (e.g. a master volume control using separate
> registers).
> 
>       Cheers
>       Luigi
Sure, it can be different chip, but it _is_ recognized by the kernel as
CS4231, and it does have 2 dma channels. Here's what /dev/sndstat gives:
<....>
Card config:
MS Sound System at 0x530 irq 9 drq 1,3
OPL-2/OPL-3 FM at 0x388 irq 1
Roland MPU-401 at 0x330 irq 1

Audio devices:
0: MS Sound System0 (CS4231) (DUPLEX)
<....>

More, without this (with the original ad1848.c), it's initialized with dma
1,1, and it shows up as impossibility to record.

Regards
Vladimir




help

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