Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ucm2: sof-essx8336: don't use disdevall for this device #258

Closed
wants to merge 1 commit into from

Conversation

mchehab
Copy link
Contributor

@mchehab mchehab commented Dec 24, 2022

disdevall causes undesired side effects on this device, as it breaks main microphone's detection, and makes hdmi outputs invisible at pavucontrol (tested with pipewire-pulse).

So, rely on cset to disable what's not needed at the enable sequence.

Fixes: 15a1250 ("ucm2: put disdevall to HDA/Soundwire configs")
Signed-off-by: Mauro Carvalho Chehab mchehab@kernel.org

disdevall causes undesired side effects on this device, as it breaks
main microphone's detection, and makes hdmi outputs invisible at
pavucontrol (tested with pipewire-pulse).

So, rely on cset to disable what's not needed at the enable sequence.

Fixes: 15a1250 ("ucm2: put disdevall to HDA/Soundwire configs")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
@perexg
Copy link
Member

perexg commented Jan 5, 2023

I think that the problem may be somewhere else. When I track the commands in the DisableSequence for devices:

Analog Mic:               cset "name='Internal Mic Switch' off"
Speaker:                  cset "name='Speaker Switch' off"
Headset:                  cset "name='Headset Switch' on"
HDMI devices:             cset "name='IEC958 Playback Switch',index=${eval:($__Number-1)} off"

The headset sequence looks suspicious and 'Speaker Switch' initialization is not in the verb's Enable sequence.

For HDMI - those switches should not affect the PCM device accessibility. Could you gather any logs from wireplumber to see more details, why those devices are not detected ?

@ChronosXYZ
Copy link

Is there a way to enable internal microphone? Speaker works, but micro is not, unfortunately :(

@perexg
Copy link
Member

perexg commented Jun 28, 2023

May be fixed with PR #328 . Closing, reopen if the issue persists.

@perexg perexg closed this Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants