LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-14-2004, 01:59 PM   #1
Ehuwiko
Member
 
Registered: Jul 2003
Location: Maine
Distribution: Whatever...
Posts: 45

Rep: Reputation: 15
ALSA snd_via82xx distortion problems


My sound is onboard on my motherboard(Abit KV7). I don't know the sound chipset exactly, but it uses the snd_via82xx and snd_ac97_codec modules under ALSA. I recently set up ALSA under Debian. After a fair amount of messing around, I got audio to come out. At first, I was horrified to hear the sound quality, there was loud crackling throughout, and the sound was exrtermely distorted. After looking through the ALSA website, I found that the sound controller actually has two output devices, and that the first one will almost always be distorted. So I fired up XMMS and set the default device to device 1 instead of device 0 under alsa mixer settings. Now sound through XMMS plays like a charm. Unfortunately, most programs(games, etc.) don't have options like this. Is there any way to set a systemwide default of sound device under ALSA?

I know there must be some way to do it... Mandrake and Fedora both set it up somehow.
 
Old 09-02-2004, 09:38 PM   #2
soichih
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
I have very similar problem

Have you found a solution to your problem yet? I am having very similar problem with my sound card, and so far I haven't found a way to fix it. I hear loud cracking whenever I play any sound.

Thanks!
 
Old 09-04-2004, 04:09 AM   #3
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
@ Ehuwiko:
Why don't you delete device 0, and then make a link device 0 that points to device 1.
 
Old 09-30-2007, 09:30 AM   #4
vertsion
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
Put the following in /etc/asound.conf

pcm.!default {
type hw
card 0
device 1
}

Shoud work on next playback

(DigitalOut - ALSA wiki)
 
Old 09-30-2007, 03:43 PM   #5
vertsion
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
Also, if you use OSS emulation in kernel (with snd-pcm-oss):

Then you also need to give options to snd-pcm-oss to use the #1 device:
Put this in /etc/modprobe.conf or in /etc/modprobe.d/sound

options snd-pcm-oss adsp_map=1 dsp_map=1

This vil make /dev/dsp and /dev/dsp point to hw:0,1 (ALSA identificator)


Check the Module_device_mapping_options -node in the alsa-wiki

(can't post URLs here as new subscriber, stupidious...)
 
Old 09-30-2007, 03:44 PM   #6
vertsion
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
hm, my first post didn't get trough...

To make ALSA default to the second device.. put the following in /etc/asound.conf

pcm.!default {
type hw
card 0
device 1
}
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distortion with ICH6 onboard audio + ALSA... fyhuang Linux - Hardware 2 10-08-2005 09:59 PM
Sound distortion: KDE with ALSA on Slack10 Sinope Linux - Newbie 5 08-15-2004 09:34 PM
Soundcard (snd_via82xx) sounds like a throttled chimp alex.e.c Linux - Hardware 2 05-20-2004 08:42 AM
sound distortion DrGnome Linux - Newbie 4 04-06-2004 08:14 AM
Distortion issues sonicnature Linux - Software 2 01-25-2002 11:02 PM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration