[linux-audio-dev] problem with via82cxx sound driver

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] problem with via82cxx sound driver
From: Can Ugur Ayfer (cayfer_AT_bilkent.edu.tr)
Date: Mon Dec 29 2003 - 00:16:45 EET


Hi All,

I've been having some weird problem with my new mainboard which has an
onboard VIA ac97 sound card

When I set everything for OSS drivers, xmms plays mp3 files like
a stuck record player. I can move around the music file but it gets
stuck in the first second.

When I try the piece of code I have written to use OSS techniques,
my simple program which is supposed to play an instrument file with
half a second of music recorded, the card plays the sound repeating it
indefinitely (until I abort the program).

The I switched to Alsa. When I use Alsa xmms plays fine but my piece of
code (unchanged, still using OSS calls) repeats the sample 32 times in 2
channels (stereo), 16 times in single channel (mono)

Linux is MDK 9.2. I tried the same things on a Dell notebook with
exactly the same Mandrake 9.2 (installed from the same network NFS
server) but ofcourse a different sound card, everything works fine.

Therefore it is certain that the problem is with the sound card driver.

 From dmesg output:
--------------------------
Via 686a/8233/8235 audio driver 1.9.1-ac3
via82cxxx: Six channel audio available
PCI: Setting latency timer of device 00:11.5 to 64
ac97_codec: AC97 Audio codec, id: VIA97 (Unknown)
via82cxxx: board #1 at 0xE400, IRQ 18
--------------------------

 From lsmod output
--------------------------
via82cxxx_audio 22112 0
ac97_codec 15828 0 [via82cxxx_audio]
uart401 8356 0 [via82cxxx_audio]
8139too 17384 1
mii 3864 0 [8139too]
sound 71528 0 [via82cxxx_audio uart401]
soundcore 6340 0 [snd via82cxxx_audio sound]
---------------------------

lspci output
--------------------------
00:00.0 Host bridge: VIA Technologies, Inc. P4M266 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235 AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]
------------------------------------

I shall appreciate any hints or help

best regards

Can Ugur Ayfer


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Dec 29 2003 - 00:22:11 EET