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

George Gugulea gugulea at gmail.com
Mon Oct 26 22:51:18 CET 2015


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 at 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 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.
>> >
>> [2 0000-dell-xps-speaker-no-sound.patch <application/octet-stream (base64)>]
>>



-- 
gg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsa-info.txt.4.3-rc6.fix.before
Type: application/octet-stream
Size: 31585 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151026/e106731d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsa-info.txt.4.3-rc6.fix.patch
Type: text/x-patch
Size: 3699 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151026/e106731d/attachment-0001.bin>


More information about the Alsa-devel mailing list