LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   (F13) Surround Sound Problem. Built in sound card, blue port not working. (https://www.linuxquestions.org/questions/linux-hardware-18/f13-surround-sound-problem-built-in-sound-card-blue-port-not-working-831354/)

1337.HDLA 09-10-2010 06:23 AM

(F13) Surround Sound Problem. Built in sound card, blue port not working.
 
Hello. I need help in setting a surround sound on my Fedora 13 desktop. I did
some research and follow some guides, but my subwoofer and rear speakers still
do not output any sounds but Front speaker is Ok.

I'm using a built-in sound card on my ASUS motherboard. I have pulseaudio, kmix and alsamixer installed.

lspci | grep device

Code:

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
01:00.1 Audio device: ATI Technologies Inc RV630/M76 audio device [Radeon HD 2600 Series]

here's my /etc/asound.conf

Code:

#
# Place your global alsa-lib configuration here...
#

@hooks [
        {
                func load
                files [
                        "/etc/alsa/pulse-default.conf"
                ]
                errors false
        }
]


 pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

# for 5.1 speakers
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
}

here's /etc/pulse/daemon.conf

Code:

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values a commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file =

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-3
; enable-remixing = yes
enable-lfe-remixing = yes

; flat-volumes = yes

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 1000000

; default-sample-format = s16le
; default-sample-rate = 44100
default-sample-channels = 6
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

here's my /etc/rc.local

Code:

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

echo Setting 5.1 Channel volumes...
amixer -q set Master 100% unmute 
amixer -q set PCM 40% unmute 
amixer -q set Surround 100% unmute 
amixer -q set Center 81% unmute 
amixer -q set LFE 100% unmute 
amixer -q set "Surround Jack Mode" "Shared"
amixer -q set "Mic select" "Mic2" 
amixer -q set "Mic" 65% unmute 
amixer -q set "Channel mode" "6ch" 
amixer -q set "Center/LFE Down mix" mute 
amixer -q set "Duplicate Front" mute


I need to know how to ouput sound from Light Blue port. here's exactly what my built in sound card look like.

http://img405.imageshack.us/img405/4...ardlabeled.jpg

Thanks in advance. My apology if I put this on wrong section.

aus9 09-10-2010 11:03 PM

since no-one has replied...lets start with some facts.

If pulseaudio is truly in control of your sound....running alsamixer (as a local user) should show only one slider....pls confirm

2) you show an image of 3 colour connectors (or stacks) but I assume you have 2 on the front and both work?....you only mention one on the front?

3) Have you run pavdevchooser?

4) Why is your pcm slider set at 40%....are you having distortion issues.

5) pls provide a snapshot of your pavumeter image

1337.HDLA 09-11-2010 10:58 AM

Hi aus9, Thanks for your reply. I really appreciate it.

Okay. Here's the thing

1. Here's what it looks like when I run alsamixer on terminal

Alsamixer
http://img205.imageshack.us/img205/882/alsamixerp.png

When I press F6

http://img530.imageshack.us/img530/131/14979173.png

2. Yes, I have 2 on the front, Pink and Green, but both doesn't work.

3. Pavdevchooser is always running, and it runs before start up or after rebooting the computer.

4. I just copy the pcm slider from the internet. I honestly don't know what it means.

5. Pavumeter

http://img832.imageshack.us/img832/3043/pavumeter.png

aus9 09-11-2010 06:43 PM

hi

alsamixer image is excellent...if you like pulseaudio...it shows pulsaudio is in full control of alsa.

second image times out...for f6...maybe image is too big...try changing the image size using gimp or mtpaint?

pavumeter shows ....you have not set your system to 5 outputs or more...only 2 which is why your other speakers don't work.

run ....http://www.sidux.com/index.php?modul...ag=PulseAudio2

pavucontrol ...tab to config and choose 5.1....similar to second image in link but showing 7.1

then

adjust sliders for pavucontrol as similar to next image in that link

then

look at your pavumeter to see if you now have 6 meters

1337.HDLA 09-12-2010 01:09 AM

Here's the f6 from alsamixer
http://img688.imageshack.us/img688/5237/96561890.png

Do I need to add this on my /etc/asound.conf?
Code:

options Intel index=0
options Intel model=5stack
# add pulse
pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}


There's only 5 option on my pavucontrol configuration tab when I click the Profile on my Internal Audio
Analog Stereo Duplex
Analog Sterero Output
Digital Stereo (IEC958) Output + Analog Stereo Input
Digital Stereo Duplex (IEC958)
Analog Stereo Input
Off

There's no 5.1 or 7.1 option.

aus9 09-15-2010 04:32 AM

oops I must have missed your reply my bad

ok remove all your configs after saving them elsewhere.

disable pulseaudio.....meaning do not have it startup

if you are sure you have a 6 channel sound....we need to fix your alsa first..with pulseaudio not interfering.

reboot and ensure pulseaudio is not running and then show us the output of

aplay -L
aplay -l

lspci

lsmod | grep snd

(in a code box pls)

2) do you have any sound modules that relate to your sound devices blacklisted either in your bootloader or in a file like /etc/modprobe.d/blacklist?

3) the reason I don't want your pulse tweaks there....either....is so pa defaults to its area in etc (or whereever your distro stuff is) but lets confirm alsamixer settings first

4) until someone or me replies also post a snapshot of

alsamixer -c 0 (zero not O for orange)


All times are GMT -5. The time now is 08:02 PM.