LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pulse audio can't split rear and front jack output (https://www.linuxquestions.org/questions/linux-software-2/pulse-audio-cant-split-rear-and-front-jack-output-4175488809/)

orthusaku 12-21-2013 07:15 PM

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).

aus9 12-21-2013 08:42 PM

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

orthusaku 12-21-2013 09:20 PM

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)

cwizardone 12-21-2013 09:51 PM

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

aus9 12-21-2013 10:47 PM

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?

hplgonzo 03-30-2014 10:31 AM

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

hplgonzo 03-30-2014 11:18 AM

some information regarding to your previous questions in this thread.

Quote:

Originally Posted by aus9 (Post 5085266)
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 (Post 5085266)
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 (Post 5085266)
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 (Post 5085293)
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 (Post 5085293)
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


All times are GMT -5. The time now is 12:20 PM.