Hey,

I have a very strange sound problem using my via p4pb400 motherboard that use a
via vt8235 southbridge running Suse 9.0 (kernel 2.4.21-144).

I have to run 3-4 aplay apps simultaniously to hear sound, my computer is
connected to my sound system using an optical link. I am currently using alsa
1.0rc2 since I had the same problem with 0.9.8.
I enabled APIC by specifying "apic" in the kernel options in grub, without that
setting I was not able to hear any sound.

this is my options line from /etc/modules.conf
options snd-via82xx ac97_clock=48000 enable=1 index=0 id=ac97 dxs_support=0

I can only hear any sound with dxs_support values of 0,1,3,4 -- 2 does not work
at all.

lspci -vv reports:
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97
Audio Controller (rev 50)
        Subsystem: VIA Technologies, Inc.: Unknown device b003
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin C routed to IRQ 22
        Region 0: I/O ports at e800 [size=256]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

I think ther are no more IRQ conflicts since cat /proc/interrupts returns:
home:/tmp # cat /proc/interrupts
           CPU0
  0:     695489    IO-APIC-edge  timer
  1:      10996    IO-APIC-edge  keyboard
  2:          0          XT-PIC  cascade
  8:          2    IO-APIC-edge  rtc
  9:          0   IO-APIC-level  acpi
 12:      67545    IO-APIC-edge  PS/2 Mouse
 14:      23791    IO-APIC-edge  ide0
 15:     109665    IO-APIC-edge  ide1
 17:          2   IO-APIC-level  ohci1394
 18:       4371   IO-APIC-level  eth0
 21:          0   IO-APIC-level  ehci_hcd, usb-uhci, usb-uhci, usb-uhci
 22:       3741   IO-APIC-level  VIA8233
NMI:          0
LOC:     695423
ERR:          0
MIS:          0

The content of /etc/asound.conf is as follows:
pcm.via82xx {
type hw
card 0
}

ctl.via82xx {
type hw
card 0
}

Attached is the content of all files under /proc/asound.

Any help in resolving this problem would be greatly appreciated.

Albrecht

---> /proc/asound/card0/id <---
ac97
---> /proc/asound/card0/via82xx <---
VIA 8235 at 0xe800, irq 22

00: 00000000
04: 13410000
08: ff3fffff
0c: 00000000
10: 00000000
14: 142ab000
18: ff3fffff
1c: 00000000
20: 00000000
24: 12e74000
28: ff3fffff
2c: 00000000
30: 00000000
34: 17437000
38: ff3fffff
3c: 00000000
40: 00000000
44: 166f3000
48: ff000021
4c: 00000000
50: 00000000
54: 00000000
58: 00000000
5c: 00000000
60: 00000000
64: 00000000
68: ff000000
6c: 00000000
70: 00000000
74: 00000000
78: ff000000
7c: 00000000
80: 322cbb80
84: 00000000
88: 00000000
8c: 00000000
90: 0000cc01
94: 00000000
98: 00000800
9c: 00000000
---> /proc/asound/card0/pcm1c/sub0/prealloc <---
64
---> /proc/asound/card0/pcm1c/sub0/status <---
closed
---> /proc/asound/card0/pcm1c/sub0/sw_params <---
closed
---> /proc/asound/card0/pcm1c/sub0/hw_params <---
closed
---> /proc/asound/card0/pcm1c/sub0/info <---
card: 0
device: 1
subdevice: 0
stream: CAPTURE
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
---> /proc/asound/card0/pcm1c/info <---
card: 0
device: 1
subdevice: 0
stream: CAPTURE
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
---> /proc/asound/card0/pcm1p/sub0/prealloc <---
64
---> /proc/asound/card0/pcm1p/sub0/status <---
closed
---> /proc/asound/card0/pcm1p/sub0/sw_params <---
closed
---> /proc/asound/card0/pcm1p/sub0/hw_params <---
closed
---> /proc/asound/card0/pcm1p/sub0/info <---
card: 0
device: 1
subdevice: 0
stream: PLAYBACK
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
---> /proc/asound/card0/pcm1p/info <---
card: 0
device: 1
subdevice: 0
stream: PLAYBACK
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
---> /proc/asound/card0/pcm0c/sub0/prealloc <---
64
---> /proc/asound/card0/pcm0c/sub0/status <---
closed
---> /proc/asound/card0/pcm0c/sub0/sw_params <---
closed
---> /proc/asound/card0/pcm0c/sub0/hw_params <---
closed
---> /proc/asound/card0/pcm0c/sub0/info <---
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
---> /proc/asound/card0/pcm0c/info <---
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
---> /proc/asound/card0/pcm0p/sub3/prealloc <---
64
---> /proc/asound/card0/pcm0p/sub3/status <---
closed
---> /proc/asound/card0/pcm0p/sub3/sw_params <---
closed
---> /proc/asound/card0/pcm0p/sub3/hw_params <---
closed
---> /proc/asound/card0/pcm0p/sub3/info <---
card: 0
device: 0
subdevice: 3
stream: PLAYBACK
id: VIA 8235
name: VIA 8235
subname: subdevice #3
class: 0
subclass: 0
subdevices_count: 4
subdevices_avail: 4
---> /proc/asound/card0/pcm0p/sub2/prealloc <---
64
---> /proc/asound/card0/pcm0p/sub2/status <---
closed
---> /proc/asound/card0/pcm0p/sub2/sw_params <---
closed
---> /proc/asound/card0/pcm0p/sub2/hw_params <---
closed
---> /proc/asound/card0/pcm0p/sub2/info <---
card: 0
device: 0
subdevice: 2
stream: PLAYBACK
id: VIA 8235
name: VIA 8235
subname: subdevice #2
class: 0
subclass: 0
subdevices_count: 4
subdevices_avail: 4
---> /proc/asound/card0/pcm0p/sub1/prealloc <---
64
---> /proc/asound/card0/pcm0p/sub1/status <---
closed
---> /proc/asound/card0/pcm0p/sub1/sw_params <---
closed
---> /proc/asound/card0/pcm0p/sub1/hw_params <---
closed
---> /proc/asound/card0/pcm0p/sub1/info <---
card: 0
device: 0
subdevice: 1
stream: PLAYBACK
id: VIA 8235
name: VIA 8235
subname: subdevice #1
class: 0
subclass: 0
subdevices_count: 4
subdevices_avail: 4
---> /proc/asound/card0/pcm0p/sub0/prealloc <---
64
---> /proc/asound/card0/pcm0p/sub0/status <---
closed
---> /proc/asound/card0/pcm0p/sub0/sw_params <---
closed
---> /proc/asound/card0/pcm0p/sub0/hw_params <---
closed
---> /proc/asound/card0/pcm0p/sub0/info <---
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 4
subdevices_avail: 4
---> /proc/asound/card0/pcm0p/info <---
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 4
subdevices_avail: 4
---> /proc/asound/card0/codec97#0/ac97#0-0+regs <---
0:00 = 6d50
0:02 = 9f1f
0:04 = 9f1f
0:06 = 801f
0:08 = 0000
0:0a = 801e
0:0c = 801f
0:0e = 801f
0:10 = 9f1f
0:12 = 9f1f
0:14 = 9f1f
0:16 = 9f1f
0:18 = 9f1f
0:1a = 0000
0:1c = 0000
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 01c5
0:2a = 05f5
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = bb80
0:34 = 0000
0:36 = 9f80
0:38 = 9f9f
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 8230
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0000
0:74 = 0000
0:76 = 0000
0:78 = 0000
0:7a = 0000
0:7c = 4943
0:7e = 4552
---> /proc/asound/card0/codec97#0/ac97#0-0 <---
0-0/0: ICEnsemble VT1616i

Capabilities     : -headphone out-
DAC resolution   : 18-bit
ADC resolution   : 18-bit
3D enhancement   : IC Ensemble/KS Waves

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Extended ID      : codec=0 rev=0 LDAC SDAC CDAC DSA=0 SPDIF VRA
Extended status  : SPCV LDAC SDAC CDAC SPDIF=res SPDIF VRA
PCM front DAC    : 48000Hz
PCM Surr DAC     : 48000Hz
PCM LFE DAC      : 48000Hz
PCM ADC          : 48000Hz
SPDIF Control    : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
---> /proc/asound/pcm <---
00-00: VIA 8235 : VIA 8235 : playback 4 : capture 1
00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1
---> /proc/asound/timers <---
G0: system timer : 10000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-0-2: PCM playback 0-0-2 : SLAVE
P0-0-4: PCM playback 0-0-4 : SLAVE
P0-0-6: PCM playback 0-0-6 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
P0-1-1: PCM capture 0-1-1 : SLAVE
---> /proc/asound/modules <---
0 snd-via82xx
---> /proc/asound/cards <---
0 [ac97           ]: VIA8233 - VIA 8235
                     VIA 8235 at 0xe800, irq 22
---> /proc/asound/devices <---
  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
---> /proc/asound/version <---
Advanced Linux Sound Architecture Driver Version 1.0.0rc2.
Compiled on Dec 11 2003 for kernel 2.4.21-144-default with versioned symbols.
---> /proc/asound/seq/drivers <---
---> /proc/asound/oss/sndstat <---
Sound Driver:3.8.1a-980706 (ALSA v1.0.0rc2 emulation code)
Kernel: Linux home 2.4.21-144-default #1 Fri Nov 14 00:01:36 UTC 2003 i686
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
VIA 8235 at 0xe800, irq 22

Audio devices: NOT ENABLED IN CONFIG

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers: NOT ENABLED IN CONFIG
---> /proc/asound/oss/devices <---

Reply via email to