Re: [2.6.0-test6] Scratchy sound with via82xx (VT8233)

From: Kees Bakker
Date: Fri Oct 03 2003 - 11:41:05 EST


On Thursday 02 October 2003 12:07, you wrote:
> At Tue, 30 Sep 2003 20:46:47 +0200,
>
> Kees Bakker wrote:
> > I saw the note about dxs_support, but I have the driver built-in. How do
> > I set dxs_support from the /proc/cmdline?
>
> pass via boot parameter:
>
> snd-via82xx=1,0,,-1,48000,XXX
>
> where XXX is the value from 0 to 3 for dxs_support.
> see the comment in sound/via82xx.c.

Ah, I see. Well, I tested my VIA in another way. I applied this patch, which
adds it to the whitelist. So far it behaves OK. Are there any particular
tests that I can run to make sure?

Also, I want draw your attention to the fact that there DOES exist
a VIA8233-Pre in the wild. Here is my lspci output on my MSI KT266
motherboard:

iris:~ # cat /proc/asound/cards
0 [V8233Pre ]: VIA8233 - VIA 8233-Pre
VIA 8233-Pre at 0xd000, irq 10

iris:~ # lspci -nv -s 00:11.5
00:11.5 Class 0401: 1106:3059 (rev 10)
Subsystem: 1462:3800
Flags: medium devsel, IRQ 10
I/O ports at d000 [size=256]
Capabilities: [c0] Power Management version 2

And in case it helps, here is the output from /proc/asound/devices:
iris:~ # cat /proc/asound/devices
1: : sequencer
0: [0- 0]: ctl
17: [0- 1]: digital audio playback
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer

Let me know if you need more information.
Kees
--- linux-2.6.0/sound/pci/via82xx.c.orig 2003-10-03 18:30:25.000000000 +0200
+++ linux-2.6.0/sound/pci/via82xx.c 2003-10-03 18:31:38.615792728 +0200
@@ -1969,6 +1969,7 @@
static struct dxs_whitelist whitelist[] = {
{ .vendor = 0x1019, .device = 0x0996, .action = VIA_DXS_48K },
{ .vendor = 0x1297, .device = 0xc160, .action = VIA_DXS_ENABLE }, /* Shuttle SK41G */
+ { .vendor = 0x1462, .device = 0x3800, .action = VIA_DXS_ENABLE }, /* MSI KT266 */
{ } /* terminator */
};
struct dxs_whitelist *w;