Thanks Kailang, I applied the patch and it works. I attached again the diffs, before and after PM (with `echo 1 > /sys/modules/snd_hda_codec/parameters/dump_coef`) so you can see the coefs have the same values.
On Mon, Oct 26, 2015 at 1:39 PM, Takashi Iwai tiwai@suse.de wrote:
On Mon, 26 Oct 2015 08:45:02 +0100, Kailang wrote:
Attach is the patch.
Looks good to me. I'm going to queue it once when George confirms that it works indeed.
thanks,
Takashi
-----Original Message----- From: Takashi Iwai [mailto:tiwai@suse.de] Sent: Monday, October 26, 2015 3:13 PM To: Kailang Cc: George Gugulea; alsa-devel@alsa-project.org Subject: Re: [alsa-devel] No sound after suspend-to-ram
On Mon, 26 Oct 2015 08:00:20 +0100, Kailang wrote:
Hi Takashi,
[ALC275_FIXUP_DELL_XPS] = { .type = HDA_FIXUP_VERBS, .v.verbs = (const struct hda_verb[]) { /* Enables internal speaker */ {0x20, AC_VERB_SET_COEF_INDEX, 0x1f}, {0x20, AC_VERB_SET_PROC_COEF, 0x00c0}, {0x20, AC_VERB_SET_COEF_INDEX, 0x30}, {0x20, AC_VERB_SET_PROC_COEF, 0x00b1}, {} } },
Could I put code as upper? Was it enter to initial state? I think it should be execute atfter resume back. Right?
Yes, these are performed at resume. But the COEF stuff needs a bit care since it's written in multiple places. If you can cook up the patch, I can check it hda-emu, too.
thanks,
Takashi
------Please consider the environment before printing this e-mail.
[2 0000-dell-xps-speaker-no-sound.patch <application/octet-stream (base64)>]