-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Hi,
The recent linux-kernel (6.18.9) breaks audio on my laptop and I have tracked the issue down to this commit. This commit was to fix the issue of sound playing on speakers even when headphones were attached, but why did it break sound on my device?
Turns out that the gpio pin that the driver thinks is headphone-enable needs to be active in order for the speaker to work. When that pin is inactive the speaker doesn't work even if the speakers-enable pin is set active, but this conflicts with the change done in that commit.
This sound card has been problematic since start (#5406). But enabling the SOF_ES8336_HEADPHONE_GPIO quirk made speakers work in the past but now sound doesn't come back after a suspend (idle, mute, output profie switch). It needs a complete reboot to get working sound again.
After plugging-in and out headphone once, even the headphone stops working but it starts working after doing a profile reset while plugged in.
System info:
Infinix Inbook X2 Plus
Intel tiger lake i3 1115G4
Codec: es8326
Board driver (in use): es8336
Motherboard: EM_TG325_200B_V1.0
Serial Number: 0205972290801918
Arch Linux
linux 6.18.9
Pipewire 1.4.10
My current (temporary) fix is a dkms pkg to override the sound driver.
I've tried enabling SOF_ES8336_SPEAKERS_EN_GPIO1_QUIRK so that the gpio pins of the headphone and speakers will be reversed (sof_es8336#L732) thinking that the current mapping might be incorrect but the behaviour remains the same plus it breaks headphone audio.
With the commit reverted, SOF_ES8336_SPEAKERS_EN_GPIO1_QUIRK doesn't change anything. The speaker works correctly, plugging in headphones switches the audio correctly.