From patchwork Thu Oct 22 08:38:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Gugulea X-Patchwork-Id: 7462991 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 17424BEEA4 for ; Thu, 22 Oct 2015 08:38:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 40057209A6 for ; Thu, 22 Oct 2015 08:38:57 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B6AB82076E for ; Thu, 22 Oct 2015 08:38:55 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id E9678266A33; Thu, 22 Oct 2015 10:38:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, OBFU_TEXT_ATTACH, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 35499266485; Thu, 22 Oct 2015 10:38:46 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 792B726696F; Thu, 22 Oct 2015 10:38:44 +0200 (CEST) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by alsa0.perex.cz (Postfix) with ESMTP id 444132661DE for ; Thu, 22 Oct 2015 10:38:38 +0200 (CEST) Received: by lfbn126 with SMTP id n126so5252049lfb.2 for ; Thu, 22 Oct 2015 01:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CrEhsiEpW16L1t22nYjZKYAHaDswOWdX6EuI2vDMRWU=; b=Cp/3ldZuxYmTOHoQ9dUEsumDtmjHT4rOVliAwLh7+z4X49u/ZteTap24VVfZ/HjnUC kQNIlYfLs5OwcwwdRmJ8r86BOXXg5I2DZMzh/3DFzVBYKP1Qf1c8V2tN5uRabT0Axs0L JmMe8zHyMlDGaIVM1pNNgmFD128mnSi1V8ogQcicQRQ2oEiLAFaXoaO41FpZWsthiDSm Z8vE/scGUyfTOcRztcuk6dzH9hUSqDTZemFTBKluxgDI9y8VjXyAiNqizCYWSjEQ/+7V DUtYsKc11HvlALDeAvuLGGuZbh0N8anaihRJcjMEgPlNQLJWs2KYHU9r6fy4LaXkINgV Nu8Q== MIME-Version: 1.0 X-Received: by 10.112.184.196 with SMTP id ew4mr7727287lbc.17.1445503117595; Thu, 22 Oct 2015 01:38:37 -0700 (PDT) Received: by 10.25.196.144 with HTTP; Thu, 22 Oct 2015 01:38:37 -0700 (PDT) Date: Thu, 22 Oct 2015 11:38:37 +0300 Message-ID: From: George Gugulea To: alsa-devel@alsa-project.org Subject: [alsa-devel] No sound after suspend-to-ram X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP After a fresh reboot, the sound works ok but if I put the computer to sleep (pm-suspend), after it wakes up there is no sound anymore. I did try 'alsa force-reload' after suspend but still no sound. After 'pm-hibernate' sound is back again. I found an old thread here: https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems to have the same problem which is still unsolved; maybe I can help with more info. I attached the 'alsa-info.sh' output before and after suspend: 'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to stay below 80k mail size rule: diff -u alsa-info.txt.before alsa-info.txt.after > alsa-info.txt.patch) The only difference between before and after is this one: @@ -241,7 +241,7 @@ Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x12 0x12] - Converter: stream=4, channel=0 + Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x160]: 44100 48000 96000 The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC, but the 2y older version with no touch If I boot into windows (8.1) everything works great, including sound (even after suspend) --- alsa-info.txt.before 2015-10-21 16:41:42.777532532 +0300 +++ alsa-info.txt.after 2015-10-21 16:41:41.269514082 +0300 @@ -3,7 +3,7 @@ !!ALSA Information Script v 0.4.64 !!################################ -!!Script ran on: Tue Oct 20 20:37:31 UTC 2015 +!!Script ran on: Tue Oct 20 20:42:33 UTC 2015 !!Linux Distribution @@ -241,7 +241,7 @@ Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x12 0x12] - Converter: stream=4, channel=0 + Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x160]: 44100 48000 96000 @@ -537,7 +537,7 @@ crw-rw----+ 1 root audio 116, 6 Oct 20 00:10 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 7 Oct 20 00:10 /dev/snd/hwC0D3 crw-rw----+ 1 root audio 116, 4 Oct 20 23:11 /dev/snd/pcmC0D0c -crw-rw----+ 1 root audio 116, 3 Oct 20 23:10 /dev/snd/pcmC0D0p +crw-rw----+ 1 root audio 116, 3 Oct 20 23:42 /dev/snd/pcmC0D0p crw-rw----+ 1 root audio 116, 5 Oct 20 21:33 /dev/snd/pcmC0D3p crw-rw----+ 1 root audio 116, 1 Oct 20 21:33 /dev/snd/seq crw-rw----+ 1 root audio 116, 33 Oct 20 00:10 /dev/snd/timer