From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Fedora Subject: Re: PROBLEM: [Lenovo ThinkPad X61s] Speaker volume mutes itself in random intervals after upgrading from 3.11 to 3.15. Date: Mon, 02 Jun 2014 02:49:16 -0700 Message-ID: <538C489C.1030508@gmail.com> References: <538ACE22.9020306@gmail.com> <538C3BF4.2000706@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com [209.85.160.45]) by alsa0.perex.cz (Postfix) with ESMTP id EC4122610AB for ; Mon, 2 Jun 2014 11:49:19 +0200 (CEST) Received: by mail-pb0-f45.google.com with SMTP id um1so4042620pbc.4 for ; Mon, 02 Jun 2014 02:49:18 -0700 (PDT) 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: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 06/02/2014 02:15 AM, Takashi Iwai wrote: > At Mon, 02 Jun 2014 01:55:16 -0700, > Alex Fedora wrote: >> On 06/02/2014 01:03 AM, Takashi Iwai wrote: >>> At Sat, 31 May 2014 23:54:26 -0700, >>> Alex Fedora wrote: >>>> Hi, >>>> >>>> Please see problem description below. I've captured alsa info output for >>>> the latest kernel. Kernel just before the regression. And info from the >>>> kernel with the offending commit. But I had to calculate diff from first >>>> one to fit to 100K limit. If you want, I can send all 3 files as an >>>> attachments. Also the latest version of the kernel was took from >>>> http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/linux-image-3.15.0-999-generic_3.15.0-999.201405310205_amd64.deb >>>> . >>>> >>>> Thank you, >>>> Alex >>>> >>>> [1.] One line summary of the problem: [Lenovo ThinkPad X61s] Speaker >>>> volume mutes itself in random intervals after upgrade to latest kernel >>>> [2.] Full description of the problem/report: >>>> >>>> Speaker mutes itself in random intervals. Headphones are working fine at >>>> that moment. I can see what volume of the Speaker drops to 0% and then >>>> back to 100% using alsamixer. It seems like Internal Mic Boost also >>>> jumps from 100% to 0% and back. It is regression from >>>> 5ccc618fee67f0f0b2122dd4b32a02fd2b6a1569 (ALSA: hda - Remove static >>>> quirks for AD1884/1984 & variants). I've tested previous commit >>>> aa95d61b43e0fcb0b2ce68e5efa37174fd9e5cd3 (ALSA: hda - Remove static >>>> quirks for AD1882) and audio works as expected. >>>> >>>> New kernel shows two controls "Headphone Playback Volume" and "Speaker >>>> Playback Volume". But old one shows single control "PCM Playback >>>> Volume". "Speaker Playback Volume" is the one which gets muted randomly. >>> Are you using PulseAudio? If yes, does the problem happen without PA? >>> This kind of random mute/unmute tends to be an issue of bogus >>> headphone or mic jack detection. >>> >>> >>> Takashi >>> >> Hi Takashi, >> >> Yes, I'm using PulseAudio. I've removed it and issue gone away. It >> returned back after reinstalling it. This is still driver bug, right? > Yes. So PA seems confused by some bogus information by the driver. > > Try to run "alsactl monitor 0", maybe better without PA at first. > Do you see occasional events about the jack detection even if you > don't plug/unplug? And, try it also with PA. > > > Takashi > Yes, I can see a lot of events even if I don't plug/unplug anything. Even more if I'm using PA. No pulseaudio: card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #22 (0,0,0,Mic Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE Pulseaudio: card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #23 (0,0,0,Headphone Jack,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #3 (2,0,0,Speaker Playback Volume,0) VALUE card 0, #4 (2,0,0,Speaker Playback Switch,0) VALUE Thank you, Alex