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

David Henningsson david.henningsson at canonical.com
Thu Nov 26 09:33:58 PST 2015


Ok. Let's hope that in the future somebody actually fixes the driver so 
that 2.1 works and we can add it back, but for now, I've pushed your patch.

Thanks for the contribution!

On 2015-11-26 14:33, Nazar Mokrynskyi wrote:
> I was discussing this here once already. In 2.1 mode LFE just doesn't
> work. Instead when I test LFE speaker in sound settings there is weird
> long noise in one of rare speakers. I have no idea about reason of this,
> so instead of 2.1 I'm using 5.1 mode, which works fine.
> My system is Ubuntu 16.04 x64, so packages:
> alsa-base: 1.0.25+dfsg-0ubuntu5
> alsa-utils: 1.0.29-1ubuntu1
>
> If there is any ppa to try newer packages - I can do that.
>
> Sincerely, Nazar Mokrynskyi
> github.com/nazar-pc
> Skype: nazar-pc
> Diaspora: nazarpc at diaspora.mokrynskyi.com
> Tox:
> A9D95C9AA5F7A3ED75D83D0292E22ACE84BA40E912185939414475AF28FD2B2A5C8EF5261249
>
>
> On 26.11.15 13:54, David Henningsson wrote:
>> Hi and thanks for looking after your sound card :-)
>>
>> Just a question w r t the 2.1 stuff - what alsa-lib version are you
>> using? Any release from 2015 should be fine, there was some
>> improvements during 2014 to the 2.1 stuff in specific.
>>
>> On 2015-11-25 09:06, Nazar Mokrynskyi wrote:
>>> Just want to remind once again, that without this patch microphone is
>>> not working with Linux kernel 4.3+
>>>
>>> Sincerely, Nazar Mokrynskyi
>>> github.com/nazar-pc
>>> Skype: nazar-pc
>>> Diaspora:nazarpc at diaspora.mokrynskyi.com
>>> Tox:
>>> A9D95C9AA5F7A3ED75D83D0292E22ACE84BA40E912185939414475AF28FD2B2A5C8EF5261249
>>>
>>>
>>> On 11.10.15 17:52, Nazar Mokrynskyi wrote:
>>>> > 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
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> pulseaudio-discuss mailing list
>>>> pulseaudio-discuss at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>>>
>>>
>>>
>>> _______________________________________________
>>> pulseaudio-discuss mailing list
>>> pulseaudio-discuss at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>>>
>>
>
>
>
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list