Re: [PATCH] bytcht-es8316: fix Speaker or Headphone no sound if enable Mic or Headset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2020-04-15 16:04 GMT+08:00, Hans de Goede <hdegoede@xxxxxxxxxx>:
> Hi,
>
> On 4/15/20 8:26 AM, youling 257 wrote:
>> boot enter ubuntu no sound at all if EnableSeq.conf disable all output.
>> “ The PA should activate HiFi verb only once.” i don't think so.
>
> Which version of pulseaudio does the Ubuntu you are using have?
pulseaudio (1:13.99.1-1ubuntu2) packages.ubuntu.com/focal/pulseaudio
what patch?
> There was a bug in pulseaudio 13.99.1 wrt the handling of UCM
> profiles. The pulseaudio from Fedora 31 updates has a fix
> for this, maybe Ubuntu's version is missing this fix?
>
> Regards,
>
> Hans
>
>
>
>
>
>
>
>>
>>
>> 2020-04-14 16:07 GMT+08:00, Jaroslav Kysela <perex@xxxxxxxx>:
>>> Dne 13. 04. 20 v 17:46 Hans de Goede napsal(a):
>>>> Hi,
>>>>
>>>> On 4/13/20 4:59 PM, youling257 wrote:
>>>>> alsaucm -c bytcht-es8316 set _verb HiFi set _enadev Mic, Speaker will
>>>>> no
>>>>> sound.
>>>>> alsaucm -c bytcht-es8316 set _verb HiFi set _enadev Headset, Headphone
>>>>> will no sound.
>>>>
>>>> I see the problem, so the idea of the global EnableSequence is
>>>> to set defaults and then the EnableSequence of currently active
>>>> devices run on top.
>>>
>>> It's ok, it's just a wrong use of the alsaucm command. The PA should
>>> activate
>>> HiFi verb only once. Those two commands run the verb EnableSequence
>>> twice.
>>>
>>> The correct test should be:
>>>
>>> alsaucm -i -c bytcht-es8316 set _verb HiFi
>>> alsaucm>> set _enadev Speaker
>>> alsaucm>> set _enadev Headphone
>>> alsaucm>> set _enadev Mic
>>> alsaucm>> set _enadev Headset
>>>
>>> ... you may run the enable commands with a delay for tests.
>>>
>>> The current UCM is designed for one task (application). I am playing with
>>> an
>>>
>>> idea to extend the alsactl state daemon to preserve the UCM settings and
>>> state
>>> for multiple applications using an RPC mechanism (dbus?).
>>>
>>> 						Jaroslav
>>>
>>> --
>>> Jaroslav Kysela <perex@xxxxxxxx>
>>> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
>>>
>>
>
>




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux