Re: [PATCH 2.4.20-pre4-ac2] fix broken i810_audio DMA (?)

Jim Radford
2002-08-29T16:46:00Z

On Thu, Aug 29, 2002 at 06:26:18PM +0200, Juergen Sawinski wrote:
> F*ck. This time the patch attached.
> Thanx Jim.

You're welcome.

It works better, but it's not fixed.

o Playing through oss directly works like before
o No more scratchy sound on artsd startup.
o Playing one song at a time through artsd works.
o Giving two songs to ogg123 to play through artsd
works until you Ctrl-C to skip to the next song.
It then hangs (like before, but with no dmesg output)

Thanks,
-Jim

> On Thu, 2002-08-29 at 03:39, Juergen Sawinski wrote:
> > Changes:
> > -remove dma reset in stop_{dac,adc}
> > (from ICH4 manual: contents of all Bus master related registers to be
> > reset; so, probably some registers are not re-initilized properly on
> > consecutive re-opening of /dev/dsp ???)
> > -remove writes to OFF_CIV, instead set LVI relative to CIV
> >
> > and some stuff that was already in the last diff I send to the list:
> > -implement a codec ID <-> IO register offset mapping
> > -in i810_ioctl, case SNDCTL_DSP_CHANNELS: only touch bits 20:21
> > off GLOB_CNT (multichannel capabilities)
> > -AMD 8111 has 6 hw channels so I must have mmio (but I don't have
> > any docs to verify this)
> > -minor fixes