Subject: Re: kern/29245: Fix to make audio work on Alpha PWS
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Rhialto <rhialto@azenomei.knuffel.net>
List: netbsd-bugs
Date: 02/07/2005 01:26:01
The following reply was made to PR kern/29245; it has been noted by GNATS.
From: Rhialto <rhialto@azenomei.knuffel.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org
Subject: Re: kern/29245: Fix to make audio work on Alpha PWS
Date: Mon, 7 Feb 2005 02:25:25 +0100
On Sat 05 Feb 2005 at 18:58:01 +0000, Charles M. Hannum wrote:
> This patch is definitely not correct in general. It will break full-duplex
> mode on chips that support it.
As I can see the patch, it only changes behaviour for the ESS_1888
model. And looking at it function pointer table (struct audio_hw_if
ess_1888_hw_if), it had a weird mix of "audio1" and "audio2" stuff in
the first place. So, without knowing specifics about the hardware, the
patch made sense to me.
> Is the problem here that the ESS chip is only getting assigned one
> DRQ or one IRQ?
That looks to be the case, judging by the boot messages:
ess0 at isa0 port 0x220-0x22f irq 5 drq 1
ess0: ESS Technology ES1888 [version 0x688b]
ess0: audio1 interrupting at irq 5
audio0 at ess0: half duplex, mmap, independent
opl0 at ess0: model OPL3
midi0 at opl0: ESS Yamaha OPL3
I also have this in my config file. I suppose I also copied from my
original source.
#ess* at isa? port 0x220 irq 5 drq 1 drq2 5 # ESS 18XX
ess* at isa? port 0x220 irq 5 drq 1 # ESS 18XX
What you are saying is perhaps that I should try the commented out
version with the original sources? I just did, and now I get these boot
messages:
ess0 at isa0 port 0x220-0x22f irq 5 drq 1,5
ess0: ESS Technology ES1888 [version 0x688b]
ess0: audio1 interrupting at irq 5
ess0: audio2 polled
audio0 at ess0: full duplex, mmap, independent
opl0 at ess0: model OPL3
midi0 at opl0: ESS Yamaha OPL3
but, unfortutately, no sound anymore. Well, perhaps just a small "click"
when I start mpg123.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- rhialto/at/falu.nl
\X/ Hi! I'm a signature virus! Copy me to your .signature to help me spread!