* Re: MSS in a Multia
@ 1997-09-28 4:00 Chel van Gennip
0 siblings, 0 replies; only message in thread
From: Chel van Gennip @ 1997-09-28 4:00 UTC (permalink / raw)
Chel van Gennip wrote:
>
> Homonnai Mihaly wrote:
> >
> > Chel van Gennip (cvgennip@hiscom.nl) wrote:
> > : Homonnai Mihaly wrote:
> >
> > : > Daniel Tryba (muaddib@stack.nl) wrote:
> ...
> > : > The correct parameters are:
> > : > ioport=0x530, IRQ=9, DMA=3
> ..
> > : These values work fine for sound output. I tried to do sound input but I
> > : failed.Has anyone sound input on the UDB working?
> >
> > Try this
> > cat /dev/dsp > test
> > <talk into the microphone>
> > cat test > /dev/dsp
> > <listen>
> > It should work IMHO
....
> #define MSS_DMA2 (-1)
Just after I posted I found out the config file I posted
was a 2.1.xx config file. In 2.0.30 the config file had no
MSS_DMA2 line.
So I tried to enable the second DMA, for a quick result I made
a small change in drives/sound/ad1848.c I added in ad1848_init
two lines:
void
ad1848_init (char *name, int io_base, int irq, int dma_playback, int
dma_capture, int share_dma, int *osp)
{
/*
* NOTE! If irq < 0, there is another driver which has allocated the
IRQ
* so that this driver doesn't need to allocate/deallocate it.
* The actually used IRQ is ABS(irq).
*/
int my_dev;
char dev_name[100];
ad1848_info *devc = &dev_info[nr_ad1848_devs];
int audio_flags = DMA_AUTOMODE;
/*chel*/
dma_playback=3;
dma_capture=1;
This solved the problem, so the settings for Multia sound should
be:
ioport=0x530, IRQ=9, DMA=3 DMA2=1
Chel
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-09-28 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-28 4:00 MSS in a Multia Chel van Gennip
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox