From: Takashi Iwai Subject: Re: [ALSA] ALSA Power Management, Drivers behaving unexpectedly after suspend/resume cycle Date: Fri, 25 May 2007 11:46:51 +0200 Message-ID: References: <8d6898730705242257k6da2088fi80f0d4034ed78986@mail.gmail.com> 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 mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id AC5C924430 for ; Fri, 25 May 2007 11:46:55 +0200 (CEST) In-Reply-To: <8d6898730705242257k6da2088fi80f0d4034ed78986@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Nobin Mathew Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 25 May 2007 11:27:10 +0530, Nobin Mathew wrote: > > I am implementing power management in my ALSA sound drivers. ALSA > drivers are not working properly after resume. All registers values > are proper and I am able to read back the codec register contents. > > If I do a playback after resume then I am getting lots of "underrun". As Liam already pointed, the underrun is usually irrelevant from the codec registers, as codec chips don't control the DMA transfer. So, it's likely a controller side problem. > After a reboot playback is working fine. > > Is there any known issues with ALSA power management? No. Some drivers may have, but no problem in general. > Why Ubuntu and Redhat does ALSA modules removal before suspend and > insertion after resume? They are either too lazy or too conservative :) Takashi