[pulseaudio-discuss] module-remap-sink not working for surround card

Raymond Yau superquad.vortex2 at gmail.com
Sat Jan 10 08:30:34 PST 2015


> >>
> >> I want to split the different outputs ports of my surround card to
> >> different sinks. For this, I'm trying to use module-remap-sink with the
> >> following lines in my /etc/pulse/default.pa:
> >>
> >> load-module module-remap-sink sink_name=speakers remix=no
> >> master=alsa_output.pci-0000_00_1b.0.analog-surround-51 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_00_1b.0.analog-surround-51 channels=2
> >> master_channel_map=rear-left,rear-right
 channel_map=front-left,front-right
> >
> > For multiple stereo streams , it is better done in driver if your
desktop
> > are using intel hda controller which may support four SDO which allow
you to
> > playback four streams concurrently
> >
> With "in driver" you mean by configuring Alsa via .asoundrc? Thanks,

http://www.intel.com/support/motherboards/desktop/sb/CS-034206.htm

You can enable independent headphone by specify hint indep_hp=1 by early
patching for desktop using realtek or idt codecs

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt

- indep_hp (bool): provide the independent headphone PCM stream and the
corresponding mixer control, if available

card 1: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1 Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1 Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 2: ALC892 Alt Analog [ALC892 Alt Analog]
Subdevices: 1/1 Subdevice #0: subdevice #0

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio-Controls.txt

> I'll try that but this should nevertheless also work using pulseaudio.
> This feature is advertised in the official documentation and I would
> regard it as a bug if I couldn't do this with pulseaudio.
>
>

Usually only pincap of those green jacks and retaskable io jacks support HP

You cannot use black line out as headphone since it lack HP amp

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
EAPD 0x2: EAPD
Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0x0

Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x00000036: IN OUT Detect Trigger
Pin Default 0x01011012: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0x2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150111/181207d2/attachment.html>


More information about the pulseaudio-discuss mailing list