From: Takashi Iwai Subject: Re: No sound and systemd journal filling when inserting headphones when power-saving is enabled Date: Tue, 24 Feb 2015 21:57:18 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A9077260464 for ; Tue, 24 Feb 2015 21:57:18 +0100 (CET) In-Reply-To: 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 To: Dang Sananikone Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 24 Feb 2015 20:11:58 +0000, Dang Sananikone wrote: > > Thanks, in that case I'll simply attach the files to this post. There are > two files: > > * alsa-info-notworking.txt: This is the alsa info generated when > power-saving is enabled and after "speaker-test" has been invoked. > * alsa-info-working.txt: This is the alsa info generated when power-saving > is disabled and after "speaker-test" has been invoked. > > > To reproduce the problem: > > Prerequisite: > Set "options snd_hda_intel power_save=1" > > Instructions: > 1. Boot up laptop. > 2. Insert headphone socket into jack. > 3. In terminal, type "speaker-test -c 2". > > Expected Result: > The speaker-test program hangs, and the systemd journal starts filling up > with "sound hdaudioC0D0: hda-codec: out of range cmd 0:1:716:ffffffff" > messages. OK, then try to pass power_save_controller=0 option to snd-hda-intel module. It might be that the controller gets screwed up by some reason by power-saving. If this still doesn't help, we need more logs. Build the kernel with tracing support, and get the HD-audio verb traces as Documentation/sound/alsa/HD-Audio.txt, section Tracepoints. Takashi