Bug 219697
Summary: | Sound from 3.5mm headphone output is mono after deep suspend on Dell Venue 11 Pro 7130 | ||
---|---|---|---|
Product: | Drivers | Reporter: | andrewthompson1878 (andrewthompson1878) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | RESOLVED CODE_FIX | ||
Severity: | low | CC: | andrewthompson1878, kailang, tiwai |
Priority: | P3 | ||
Hardware: | Intel | ||
OS: | Linux | ||
URL: | https://bugzilla.opensuse.org/show_bug.cgi?id=1235686 | ||
Kernel Version: | 6.12.8 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
alsa-info.sh output, before suspend (with coef)
alsa-info.sh output, after suspend (with coef) 0000-dell-7130.patch alsa-info.sh output - before suspend, kernel 6.13.0-1.gdadfebc-default alsa-info.sh output - after suspend, kernel 6.13.0-1.gdadfebc-default Test fix patch |
Description
andrewthompson1878@gmail.com
2025-01-15 23:42:02 UTC
Created attachment 307491 [details]
alsa-info.sh output, after suspend (with coef)
Kailang, is this COEF bit safe to toggle at resume, right? Any other COEF bits to be restored at resume? Yes.
Maybe need to add 0x0d to restore alc283_coefs table.
> -----Original Message-----
> From: bugzilla-daemon@kernel.org <bugzilla-daemon@kernel.org>
> Sent: Thursday, January 16, 2025 3:47 PM
> To: Kailang <kailang@realtek.com>
> Subject: [Bug 219697] Sound from 3.5mm headphone output is mono after
> deep suspend on Dell Venue 11 Pro 7130
>
>
> External mail.
>
>
>
> https://bugzilla.kernel.org/show_bug.cgi?id=219697
>
> Takashi Iwai (tiwai@suse.de) changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC|
> |kailang@realtek.com
>
> --- Comment #2 from Takashi Iwai (tiwai@suse.de) --- Kailang, is this COEF
> bit
> safe to toggle at resume, right?
> Any other COEF bits to be restored at resume?
>
> --
> You may reply to this email to add a comment.
>
> You are receiving this mail because:
> You are on the CC list for the bug.
Thanks for confirmation. It'd be great if you can submit a fix patch, too ;) Created attachment 307514 [details] 0000-dell-7130.patch Please test attach patch. > -----Original Message----- > From: bugzilla-daemon@kernel.org <bugzilla-daemon@kernel.org> > Sent: Friday, January 17, 2025 6:04 PM > To: Kailang <kailang@realtek.com> > Subject: [Bug 219697] Sound from 3.5mm headphone output is mono after > deep suspend on Dell Venue 11 Pro 7130 > > > External mail. > > > > https://bugzilla.kernel.org/show_bug.cgi?id=219697 > > --- Comment #4 from Takashi Iwai (tiwai@suse.de) --- Thanks for confirmation. > It'd be great if you can submit a fix patch, too ;) > > -- > You may reply to this email to add a comment. > > You are receiving this mail because: > You are on the CC list for the bug. FWIW, openSUSE Tumbleweed kernel based on 6.13 with the patch is being built in OBS home:tiwai:bsc1235686 repo. Once after the build finishes, it'll appear at https://download.opensuse.org/repositories/home:/tiwai:/bsc1235686/standard/ Thanks for the patch. I will test it from the OBS build in the next few days. I have now tested this patch (using Takashi's OBS repo). It has not fixed the problem unfortunately. Hm, could you verify that COEF 0xd isn't updated to 0x2800? In anyway, please give alsa-info.sh output with the broken kernel (after suspend). I have checked and COEF 0xd is not being set to 0x2800 after resuming. It remains at 0x2840. I am attaching alsa-info.sh output before and after suspend. Created attachment 307547 [details]
alsa-info.sh output - before suspend, kernel 6.13.0-1.gdadfebc-default
Created attachment 307548 [details]
alsa-info.sh output - after suspend, kernel 6.13.0-1.gdadfebc-default
OK, then let's try more idiomatic, explicit quirk setup with the COEF 0x0d write. The patch is below. A new kernel is being built in OBS home:tiwai:bsc1235686-2 repo. Once after the build finishes, it'll appear at https://download.opensuse.org/repositories/home:/tiwai:/bsc1235686-2/standard/ Please give it a try later. Created attachment 307550 [details]
Test fix patch
Success. I have tested Takashi's latest patch and it works for me. COEF index 0x0d is correctly set to 0x2800 upon each resume. And headphone out now works correctly after resume. I also confirmed internal speakers have not been adversely affected. Good to hear. Then I'm going to submit it. Hopefully it'll be included in 6.14-rc1 and backported to stable kernels. It's an idiomatic change. If it works, it's fine enough |