[PATCH] VIA sound driver now works on AOpen AK-33

From: Pavel Roskin (proski@gnu.org)
Date: Tue Sep 25 2001 - 12:34:16 EST


The driver for VIA 82Cxxx sound from the AC kernels is almost useless on
AOpen AK-33 motherboard - it reports that the dsp rate is locked at 48k.
Most programs cannot deal with it.

The driver from CVS maintained by Jeff Garzik
(http://sourceforge.net/projects/gkernel/) works much better - it doesn't
report that the frequency is locked. Most applications work, although
xanim and realplayer sometimes produce an unpleasant noise.

The problem with Jeff's driver is that it resets the dsp format (stereo,
16-bit) on SNDCTL_DSP_RESET, unlike other drivers.

Another problem is that the pci resources are freed twice, which causes
alarming, although harmless, warnings when the driver is unloaded.

After fixing those problems the driver works just fine. No problems

Patch from Jeff's version to my fixed version (small):

Patch from 2.4.9-ac15 to my fixed version:

Whole driver:

I'm not ready to comment on the Jeff's part of the patch. I think it will
be better if Jeff submits the new driver. I'm posting my results for
those who just want a working driver now.

Pavel Roskin

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:32 EST