Subject: Re: patches to support via tech 8233 ac97 audio
To: Jolan Luff <>
From: Jay Nelson <>
List: current-users
Date: 08/15/2002 20:12:26
On Thu, Aug 15, 2002 at 01:31:46AM -0400, Jolan Luff wrote:
> I've written some preliminary patches to support via tech 8233 on-board
> ac97 audio.  I need to work out a few more things (ac97 stuff needs to
> be updated, or else I need to revert this to the old rate setting
> behavior).  Anyway, if anyone else has such a beast and would like to
> try out the patches (audio works quite well for me), the patches are at:

This information is slim, but I didn't want to load the list with
cruft, so if there is more information you would like, I'll be happy
to send it. I'm willing to test anything you choose to do.

The patches applied cleanly on 1.6RC1 but didn't produce any sound.
I may be overlooking something obvious in the audioctl or mixerctl
mibs, but a reasonable amount of tinkering didn't change the results.

This hung for a while and then timed out:

jnelson@acp:$ audioplay -V /usr/X11R6/lib/X11/xpat/audio/giveup.wav
sample_rate=22050 channels=1 precision=8 encoding=ulinear_le
audioplay: audio drain ioctl failed: Resource temporarily unavailable

Catting the same file to /dev/sound or /dev/audio proved simalarly
fruitless although exit code was 0 in both cases.

This is on a low cost Jetway MB. pcictl reports:

000:00:0: VIA Technologies VT8366 (Apollo KT266) CPU-PCI Bridge (host bridge)
000:01:0: VIA Technologies VT8366 CPU-AGP Bridge (PCI bridge)
000:08:0: Advanced System Products ABP-940UW (SCSI mass storage)
000:09:0: Symbios Logic 53c815 (SCSI mass storage, revision 0x04)
000:10:0: 3Com 3c905B-TX 10/100 Ethernet (ethernet network, revision 0x30)
000:17:0: VIA Technologies VT8233A PCI-ISA Bridge (ISA bridge)
000:17:1: VIA Technologies VT82C586A IDE Controller (IDE mass storage, interface 0x8a, revision 0x06)
000:17:5: VIA Technologies VT8233 AC-97 Audio Controller (audio multimedia, revision 0x40)

dmesg reports:

auvia0 at pci0 dev 17 function 5: irq 5
auvia0: ALG16 codec; headphone, 18 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auvia0: full duplex, mmap, independent

-- jay