LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-07-2007, 02:42 PM   #1
Mr. Bond
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Rep: Reputation: 0
Problem with 5.1 speakers


Hi all,

I have a problem with my 5.1 speakers and integrated sound card on ASUS P5PL2-E mb. Simply sound is present only on 2 speakers instead on all 6.

I installed driver over an ALSA conf and I tried ALSA mixer so as KMix to change it... I put max volume on Line In and Mic inputs (becouse integrated card works on all three jacks if 5.1 mod is on).

Anybody have some idea?
 
Old 10-07-2007, 03:41 PM   #2
sw67
Member
 
Registered: Oct 2004
Location: Here
Distribution: Slackware 12, openSuSE 11.0, XP
Posts: 76

Rep: Reputation: 15
ALSA will only be routing sound to the front speakers (stereo 2.0) since that's the default configuration.
If you want to use Line In and Mic as speakers, you need to define a routing table to tell it what to do.
The easiest way is to create a file named .asoundrc in your home directory and put the following in it:
Quote:
pcm.ch51dup
{
slave.pcm surround51
slave.channels 6
type route
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}

pcm.!default
{
type plug
slave.pcm "ch51dup"
}
That will duplicate the sound to your other outputs for anything using ALSA for your user.
I think you can put it in /etc somewhere too, for global usage, but I can't remember exactly where.

Hope this helps..
 
Old 10-07-2007, 04:37 PM   #3
Mr. Bond
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Original Poster
Rep: Reputation: 0
I did all as you said but still the same. Is there a need to somehow restart alsa or something like that?
 
Old 10-07-2007, 08:08 PM   #4
sw67
Member
 
Registered: Oct 2004
Location: Here
Distribution: Slackware 12, openSuSE 11.0, XP
Posts: 76

Rep: Reputation: 15
Theoretically not; alsa should re-read that config file when you next use it. But I guess it can't hurt to reboot the machine or something.
Failing that, check that Line-In and Mic-In-Mode are set to outputs in alsamixer.
 
Old 10-08-2007, 02:48 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by Mr. Bond View Post
I did all as you said but still the same. Is there a need to somehow restart alsa or something like that?
As root issue "/etc/rc.d/rc.alsa restart"

Here are two ways to test speakers:
Code:
To test your speakers:
(for 5.1 speakers)
speaker-test -Dplug:surround51 -c6 -t wav
(for 2.1 speakers)
speaker-test -Dplug:front -c2 -t wav
Follow the other guys advice for getting 5.1 speakers to work. I use a sound card rather than onboard 6 channel soundchip.
 
  


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
problem in speakers and headphone purimanu2000 Linux - Hardware 1 09-18-2007 12:11 AM
5.1 speakers sound problem szandor Linux - Hardware 7 11-29-2006 12:19 AM
Problem USB Speakers Mantorok Linux - Hardware 1 05-27-2006 04:40 PM
speakers problem jaspreet85 Linux - Hardware 1 04-22-2005 04:08 PM
[Mandrake 9.1] 4 speakers & sound quality problem ilhbutshm Linux - Newbie 1 07-26-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration