Subject: ICH5 Audio for 1.6.2
To: None <netbsd-users@netbsd.org>
From: Ian McIntosh <ianm@cat.co.za>
List: netbsd-users
Date: 04/29/2004 15:06:54
Hi

I am having trouble playing audio through my onboard Intel i82801EB (ICH5)
Audio Device.
I have tried using splay to listen to a .wav file with little success and
even
tried to cat a file to the /dev/audio and got "device busy".

#> cat myfile > /dev/audio

I am using the latest NetBSD 1.6.2_STABLE kernel as I noticed that some
changes were
brought up to 1.6.2 to allow the use of the ICH5 Audio device.

Any help on solving this problem will be greatly appreciated.

Thanks
Ian

The relevant section of the dmesg is shown below (of concern is the unknown
codec portion):

auich0 at pci0 dev 31 function 5: i82801EB (ICH5) AC-97 Audio
auich0: interrupting at irq 3
auich0: The 3rd codec is ready.
auich0: The 3rd codec is ready.
auich0: unknown (0xffff5375) codec; headphone, 20 bit DAC, no 3D stereo

I also include the results of a audioctl -a:

name=ICH5 AC97
version=0x02
config=auich0
encodings=ulinear:8*,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16
*,slinear_be:16*,ulinear_be:16*
properties=full_duplex,mmap,independent
full_duplex=0
fullduplex=0
blocksize=2048
hiwat=32
lowat=1
monitor_gain=0
mode=
play.rate=11025
play.channels=1
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=2048
play.samples=83968
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=11025
record.channels=1
record.precision=16
record.encoding=slinear_le
record.gain=191
record.balance=32
record.port=0x1
record.avail_ports=0x7
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0