[alsa-devel] No sound after suspend-to-ram

George Gugulea gugulea at gmail.com
Mon Oct 26 10:00:43 CET 2015


I will test the patch on my system as well.

On Mon, Oct 26, 2015 at 9:45 AM, Kailang <kailang at realtek.com> wrote:
>
> Attach is the patch.
>
>> -----Original Message-----
>> From: Takashi Iwai [mailto:tiwai at suse.de]
>> Sent: Monday, October 26, 2015 3:13 PM
>> To: Kailang
>> Cc: George Gugulea; alsa-devel at 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.
>>



-- 
gg


More information about the Alsa-devel mailing list