Subject: Intel 82801EB (ICH5) Outputs on the Line-In
To: netbsd-users@netbsd.org <netbsd-users@netbsd.org>
From: Ian McIntosh <ianm@cat.co.za>
List: netbsd-users
Date: 06/08/2006 16:54:43
Hi all

(If this is more suited to tech-kern please let me know and I will 
redirect my query)

I am using netBSD 1.6.2_STABLE and have a problem with the audio. It
seems that when I play audio files using audioplay the sound is output
on the Line-In port. I have tried specifying the 'line' and 'speaker'
ports in audioplay but no success. In fact, when I specify a port,
audioplay complains that it failed the AUDIO_SETINFO ioctl with invalid
parameters. When I don't specify anything then the audio is output on
the Line-In port.

My problem is I also want to use audiorecord to record from the Line-In.
This seems to function correctly, although I have to remove my
speaker jack from the Line-In port and plug my audio source in. The 
Line-Out seems to never be used.

I think this may be something in the audio driver but I could not 
determine what the problem could be when looking at auich.c.

Does anyone have any solutions to this problem? or maybe help me 
determine what I have missed?

Relevant Dmesg:

....
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
.....
auich0: measured ac97 link rate at 48000 Hz
audio0 at auich0: full duplex, mmap, independent
.....

Thanks,
Ian