From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: how to resume pcm streams in driver? (esp. powermac snapper) Date: Thu, 25 Nov 2004 17:24:49 +0100 Message-ID: References: <877joa1jnv.fsf@fuzz.toojays.net> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <877joa1jnv.fsf@fuzz.toojays.net> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: John Steele Scott Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 25 Nov 2004 17:48:12 +1030, John Steele Scott wrote: > > Hi, > > In the last week or so Benjamin Herrenschmidt has released a kernel patch which > enables the sleep functionality on the iBook G4 and AlBook laptops. > > I have an iBook G4 with Powermac Snapper audio. Most of the suspend/resume > functionality is fine, but one issue I am having a problem with is that pcm > streams are not being resumed. > > The streams _are_ being suspended, but how are the supposed to be resumed? What > is the opposite of snd_pcm_suspend_all()? Nothing. The application is required to call resume by itself (i.e. preparing the PCM status, start the stream again). In the case of OSS emulation, the oss emul module does it. Takashi ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/