[pulseaudio-discuss] [PATCH] alsa-mixer: sb-omni-surround-5.1.conf: remove analog-surround-21, add Linux 4.3+ support

Raymond Yau superquad.vortex2 at gmail.com
Sun Oct 11 01:34:05 PDT 2015


>
> In 2.1 mode LFE is not actually working at all, so it is removed.

Do you mean 2.1 mode won't work with all usb audio since surround 5.1 of
usb audio is already using route plugin

USB-Audio.pcm.surround51.0 {
@args [ CARD ]
@args.CARD { type string }
@func refer
name {
@func concat
strings [
"cards.USB-Audio."
{ @func card_name card $CARD }
".pcm.surround51:CARD=" $CARD
]
}
default {
type route
ttable.0.0 1
ttable.1.1 1
ttable.2.4 1
ttable.3.5 1
ttable.4.2 1
ttable.5.3 1
slave {
pcm {
type hw
card $CARD
device 0
}
channels 6
}
}
}

http://git.alsa-project.org/?p=alsa-lib.git;a=blobdiff;f=src/conf/cards/USB-Audio.conf;h=ce3ae019f7f6fa91ca224074d12891217f242300;hp=8a6d9cac6ead765108e09c61914a84d290482556;hb=1af088e39b75a0a0897c7036487b143e983cd423;hpb=57b5076c30b3453ee843912c0aeb3df8dbee3f68

> With Linux 4.3-rc1+ Mic/Line are hw:%f,0,0 as it should be:
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/usb?id=5ee20bc792467d7d612157e0a9962765aa943b08
> So now we support both Linux 4.2.x- and 4.3-rc1+ setups.
> Also in Linux 4.3-rc1 S/PDIF input was detected incorrectly (there is no
such hardware input), so it is not present in config.
> ---

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1384952

Seem all usb audio with more than two playback devices are affected since
capture device of  U7 is also device 1 before the patch

If you don't have SPDIF output/input, you need to add your card in
USB-AUDIO.conf

  # If a device does not use the first PCM device for digital data, the
device
  # number for the iec958 device can be changed here.
  USB-Audio.pcm.iec958_device {
         # "NoiseBlaster 3000" 42
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20151011/2d87b11e/attachment.html>


More information about the pulseaudio-discuss mailing list