LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-21-2013, 07:15 PM   #1
orthusaku
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
pulse audio can't split rear and front jack output


I have tried using this

Code:
load-module module-remap-sink sink_name=speakers remix=no master=alsa_output.pci-0000_00_14.2.analog-stereo channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right

load-module module-remap-sink sink_name=headphones remix=no master=alsa_output.pci-0000_05_00.0.analog-surround-40 channels=2 master_channel_map=rear-left,rear-right   channel_map=front-left,front-right
and my headphones and my speakers are still out putting on the main output and on the front remap.

I have also tried enabling the lfe remixing.

I have no idea what the issue is with my sound card refusing to split the outputs of the headphone jack(front panel) and speakers(rear panel).
 
Old 12-21-2013, 08:42 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
as a generalization, pulseaudio (PA) is a front end to normally alsa

run this command

Code:
alsamixer -c0
if you see headphone as a slider then you can get more out of your PA

if you don't see it, you need to try to enable it with a model=string in your modprobe config

so show the results of
Code:
aplay -l
lsmod | grep snd
show a link to your actual motherboard specs

if you are not using onboard sound but a video card----say so
and show a link to its specs

2) to get an idea of what happens when you change from bad to better model=string have a look at these images in doc
https://docs.google.com/document/d/1...j70/edit?pli=1

Last edited by aus9; 12-21-2013 at 08:47 PM.
 
Old 12-21-2013, 09:20 PM   #3
orthusaku
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
I do see the slider

My card is HDA ATI SB
Chip: Realtek ALC892

however I would like to split the back audio panel and my front audio panel(like skype,TS3,etc is front panel, while music, game audio, system audio is through the back panel), however I am not sure how to do that. Basically I want to turn my single physical card into two virtual cards.(kinda how windows sees my front panel as a different output than my back panel)

Last edited by orthusaku; 12-21-2013 at 09:23 PM.
 
Old 12-21-2013, 09:51 PM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
I don't know what distribution you are using, but, regardless, this might get you started and point you
in the right direction to a solution:

http://docs.slackware.com/howtos:har..._snd-hda-intel
 
Old 12-21-2013, 10:47 PM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
ok no replies to my other requests so I get out of jail free---giggles

1) your PA config is based on what link?

2) try this, assuming alsamixer shows only one slider, meaning PA is running
as a local user

Code:
pacmd list-sinks
its possible that you have copy and pasted the wrong strings for
alsa_output.pci-0000_00_14.2.analog-stereo
alsa_output.pci-0000_05_00.0.analog-surround-40

if you can see it, change it

if you can't see it

post in a code box your full output to my last command pls

also in pavucontrol, you are better off making ensure you have
not chosen 2ch but the surround sound setting

---if you have only 2 channel setting the sound server can't do its job......I assume you know this?

Last edited by aus9; 12-21-2013 at 10:49 PM.
 
Old 03-30-2014, 10:31 AM   #6
hplgonzo
LQ Newbie
 
Registered: Jun 2008
Location: austria
Distribution: arch
Posts: 5

Rep: Reputation: 0
hi aus9.

i think, i have the same problem as described by the creator of this thread.

i am unable to split the damn signal to create 2 sinks.
the first for speaker output only (connected to the rear panel) and
the second for my headphone only (connected to the front panel).

actually this is the first time, i am having a problem with the sound system (alsa/pulse) on my computer.
so far every minor issue that occurred with the sound output was quite easy to solve.
this one seems a little bit more tricky, than i expected.

it seems, that you have some kind of idea, how i can fix that problem.
after all you are a "guru", so please help me out, dude.
i tried around with some different configurations -> no sound, splitting not working, daemon failing

by the way, english is not my mother tongue, so please be patient, if i may not understand everything in the first place and have to ask for an explanation.

yours hplgonzo

Last edited by hplgonzo; 03-30-2014 at 11:31 AM.
 
Old 03-30-2014, 11:18 AM   #7
hplgonzo
LQ Newbie
 
Registered: Jun 2008
Location: austria
Distribution: arch
Posts: 5

Rep: Reputation: 0
some information regarding to your previous questions in this thread.

Quote:
Originally Posted by aus9 View Post
if you see headphone as a slider then you can get more out of your PA
headphone slider available, not muted and volume adjustable

Quote:
Originally Posted by aus9 View Post
so show the results of
Code:
aplay -l
aplay -L
lsmod | grep snd
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC882 Analog [ALC882 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC882 Digital [ALC882 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=Intel
    HDA Intel, ALC882 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC882 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    HDMI Audio Output
Code:
snd_hda_codec_hdmi     36379  4 
snd_hda_codec_realtek  45293  1 
snd_hda_intel          37352  9 
snd_hda_codec         150017  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               6332  1 snd_hda_codec
snd_pcm                77822  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7298  2 snd_pcm,snd_hda_intel
snd_timer              18718  1 snd_pcm
snd                    59029  23 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5418  1 snd
Quote:
Originally Posted by aus9 View Post
show a link to your actual motherboard specs
i am not really sure, what you mean by that, but here is a link to my board: ASUS P5W DH Deluxe

Quote:
Originally Posted by aus9 View Post
your PA config is based on what link?
i am not really sure, what you mean by that either.
do you want me to post the default configuration file for pulse audio on arch linux?
changes concerning the "splitting issue" take place in a separate file, which i include (so i don't mess up "/etc/pulse/default.pa"
Code:
# Split front/rear to separate sinks
# Connect headset to front panel and speakers to rear panel.
# Sound card name from 'pacmd list-sinks'
load-module module-remap-sink sink_name=Speaker sink_properties=device.description=Speaker remix=no master=alsa_output.pci-0000_00_1b.0.analog-stereo channels=2 master_channel_map=rear-left,rear-right channel_map=front-left,front-right
load-module module-remap-sink sink_name=Headset sink_properties=device.description=Headset remix=no master=alsa_output.pci-0000_00_1b.0.analog-stereo channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right
#load-module module-remap-sink sink_name=Speaker sink_properties=device.description=Speaker remix=no master=alsa_output.pci-0000_00_1b.0.analog-surround-40 channels=4 master_channel_map=rear-left,rear-right channel_map=front-left,front-right
#load-module module-remap-sink sink_name=Headset sink_properties=device.description=Headset remix=no master=alsa_output.pci-0000_00_1b.0.analog-surround-40 channels=4 master_channel_map=front-left,front-right channel_map=front-left,front-right
i basically copied the code lines from arch wiki.

Quote:
Originally Posted by aus9 View Post
also in pavucontrol, you are better off making ensure you have not chosen 2ch but the surround sound setting
---if you have only 2 channel setting the sound server can't do its job......I assume you know this?
you can see, that i already "played around" with some settings. 4ch instead of 2ch, surround sound instead of stereo, in different combinations as well. as mentioned above, it is not behaving in the way, i want it to. or there is no sound, splitting is not working, daemon is failing ... i even changed the jack for my speakers at the rear panel, because of confusion. no results either.

i was confused by the problem, before i found this thread.
now i am even more confused, but at least you might be able to help me aus9.

if you need any further information, please tell me and i'll post or pastebin it for you, whatever you want.

sorry for the novel as well as any language mistakes.
yours hplgonzo

Last edited by hplgonzo; 03-30-2014 at 11:28 AM.
 
  


Reply



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
ALSA - routing front Mic input to rear panel speaker output littlebluebird Linux - Software 1 12-01-2012 12:20 PM
[SOLVED] Dell Zino HD Rear Audio Output - Slackware 13.37 lordwolf Slackware 2 12-29-2011 05:39 AM
JACK - No USB audio output spenwah Linux - Software 4 05-10-2010 06:11 PM
[SOLVED] Front Audio Jack not Working - Mandriva 2010 abbhishek Linux - Hardware 2 04-04-2010 06:05 AM
No audio output to the jack of my Laptop running7 Linux - Software 2 03-12-2007 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:24 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