Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Rui-Tao Dong ~{6-HpLN~} <rdong@internetMCI.com>
To: axp-list@redhat.com
Subject: Re: 2.0.33 sound errors
Date: 19 Mar 1998 21:22:47 -0800	[thread overview]
Message-ID: <v53ege2axk.fsf@Alpha.dfc.com> (raw)
In-Reply-To: Cornelius Creedon's message of Thu, 19 Mar 1998 23:32:38 -0500 (EST)


>>>>> "cornelius" == Cornelius Creedon <neil@box1.staller.sunysb.edu> writes:

 cornelius> okay.
 cornelius> how about some more info.
 cornelius> what patch did you use? where from?
 cornelius> when you 'make config' do you define MSS_DMA2 ?
 cornelius> what settings for i/o irq dma...
 cornelius> what flavour of udb?


This is what I got.  BTW, I got a 166MHz UDB.

Regards,

Rui-Tao Dong ~{6-HpLN~}	<rdong@internetMCI.com>, Mission Viejo, California

----------------------------------------

From: Chel van Gennip <chel@vangennip.nl>
Subject: Re: MSS in a Multia
Newsgroups: comp.os.linux.alpha
Date: 1997/09/28
Message-ID: <342E6484.56AAC946@vangennip.nl>

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



  reply	other threads:[~1998-03-20  5:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-19  4:10 2.0.33 sound errors Tad Grosvenor
1998-03-19  4:25 ` Christopher Curtis
1998-03-19  6:45 ` Robert-Velisav MICIOVICI
1998-03-19 15:41 ` Cornelius Creedon
1998-03-19 18:18   ` Paul Chapman
1998-03-20  4:16     ` Rui-Tao Dong ~{6-HpLN~}
1998-03-20  4:32       ` Cornelius Creedon
1998-03-20  5:22         ` Rui-Tao Dong ~{6-HpLN~} [this message]
1998-03-24 15:19           ` Cornelius Creedon
1998-03-20  2:36   ` Tad Grosvenor
1998-03-20  2:48     ` Cornelius Creedon
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox