Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Soundcard Noises - via82xx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
NightwalkerPL
Tux's lil' helper
Tux's lil' helper


Joined: 22 Sep 2006
Posts: 82
Location: Poland

PostPosted: Sat Sep 23, 2006 8:16 am    Post subject: Soundcard Noises - via82xx Reply with quote

If in background of played music You hear noises...

Tested on VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

Here is instruction made by me:

a) Edits in /etc/modules.d/alsa

1. Open up (in Your favorite text editor) file /etc/modules.d/alsa

2. Add at the end:

Code:
options snd-via82xx index=0 dxs_support=3


3. Save and exit /etc/modules.d/alsa

b) Edits in ~/.asoundrc

1. Open up (in Your favorite text editor) file ~/.asoundrc
2. Paste this:

Code:
#.asoundrc
pcm.ossmix {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,1"
        period_time 0
        period_size 1024
        buffer_size 8192
        rate 48000
    }

    bindings {
        0 0
                1 1
        }
}

pcm.!default {
    type plug
    slave.pcm "ossmix"
}

pcm.dsp0 {
    type plug
    slave.pcm "ossmix"
}

ctl.mixer0 {
    type hw
    card 0
    mmap_emulation on
}


3. Save and exit ~/.asoundrc

c) Modified driver (most important thing in this tutorial!)

In this step we must replace original driver in kernel source with modified by me.

1. Download this file: http://nordi.info/kernel_via82xx_noises_fix/via82xx.c.tar.gz
2. Unpack files from archive to /directory_with_kernel_sources/sound/pci
3. Configure kernel (eg. make menuconfig) build VIA 82C686A/B, 8233/8235 AC97 Controller to module (very important!)
4. Compile kernel.
5. make modules_install

If You can't compile kernel, read article about this in Gentoo Wiki.

d) ALSA configs fixes

1. Download archive from http://nordi.info/kernel_via82xx_noises_fix/alsafix.tar.gz (this archive contain via82xx ALSA modified [by me] configs).
2. Extract archive to /usr/share/alsa/cards

c) Restart Your computer

$ Daniel "Nightwalker" Wolny - 23/09/2006 $
_________________
Nippah ^_^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum