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

Nazar Mokrynskyi nazar at mokrynskyi.com
Sun Oct 11 08:52:47 PDT 2015


 > 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
What do you mean by "all usb audio"? In 4.1/5.1 mode LFE and all other 
outputs work properly, it is just for 2.1, which works as stereo.

 > If you don't have SPDIF output/input, you need to add your card in 
USB-AUDIO.conf
Sound card has S/PDIF output, but not input. Not sure whether output 
works properly though. I do not have speakers or any other hardware with 
S/PDIF input to test it.

Sincerely, Nazar Mokrynskyi
github.com/nazar-pc
Skype: nazar-pc
Diaspora: nazarpc at diaspora.mokrynskyi.com
Tox: A9D95C9AA5F7A3ED75D83D0292E22ACE84BA40E912185939414475AF28FD2B2A5C8EF5261249

On 11.10.15 10:34, Raymond Yau wrote:
>
> >
> > 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
>
>
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20151011/96635d08/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: Кріптографічний підпис S/MIME
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20151011/96635d08/attachment.bin>


More information about the pulseaudio-discuss mailing list