Subject: auich issues with NetBSD 2.0
To: NetBSD-Help <NetBSD-Help@NetBSD.org>
From: Benjamin Walkenhorst <krylon@gmx.net>
List: netbsd-help
Date: 12/12/2004 16:29:49
Hello everyone,
I just installed NetBSD 2.0 on my desktop machine (dual AthlonMP 2400+).
So far it works pretty nice, performance is great and all, I just have
one problem:
Audio playback does not work. I have an on-board sound chip.
Dec 12 14:58:53 neuromancer.krylon.net /netbsd: auich0 at pci0 dev 7
function 5: AMD768 AC-97 Audio
Dec 12 14:58:53 neuromancer.krylon.net /netbsd: auich0: interrupting at
ioapic0 pin 17 (irq 5)
Dec 12 14:58:53 neuromancer.krylon.net /netbsd: auich0: ac97: SigmaTel
STAC9700 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
Dec 12 14:58:53 neuromancer.krylon.net /netbsd: audio0 at auich0: full
duplex, independent
The corresponding devices (/dev/audio, /dev/audioctl, /dev/sound,
/dev/mixer) exist and have 666-permissions.
But when I try to do audio playback, nothing happens. It's like the
application (I tried mplayer and xmms) just sits there waiting for the
sound card. I do not, however, get an error.
When I tried to start artsd, I got an error that said something about a
possible hardware error.
I tried to just write random data to /dev/audio. I got a short noise,
then nothing. I did Ctrl-C - dd says on exit, that 0 byte have been
transferred to the sound card. Additionally, dd takes extremely long to
exit.
When I start xawtv, that works fine. The mixer (I installed kmix) seems
to work okay, too.
I looked up google and google.com/bsd but did not find any hints.
One thing I notice is that auich(4) does not list my motherboard as
supported. I am not sure, however, if this matters, since apparently the
sound card is detected and basically works.
I also tried to play around with audioctl, but to no avail...
Oh, and I did check with lsof - no program has the audio device opened
(or any related device file).
Does anyone have a hint?
It is not a hardware problem, I assume, because the sound chip works
fine with FreeBSD 5.x, Linux 2.4 and 2.6.
Thank you very much,
Benjamin