Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264184AbUDBVdK (ORCPT ); Fri, 2 Apr 2004 16:33:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264178AbUDBVdJ (ORCPT ); Fri, 2 Apr 2004 16:33:09 -0500 Received: from gprs214-45.eurotel.cz ([160.218.214.45]:7296 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S264184AbUDBVcL (ORCPT ); Fri, 2 Apr 2004 16:32:11 -0500 Date: Fri, 2 Apr 2004 22:57:23 +0200 From: Pavel Machek To: Takashi Iwai Cc: Rajsekar , linux-kernel@vger.kernel.org Subject: Re: alsamixer muting when restoring from suspend. Message-ID: <20040402205723.GJ195@elf.ucw.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 948 Lines: 26 Hi! > > This I think is not a problem but rather a subtle bug. > > > > Alsamixer by default mutes all channels when loaded. > > So when I `swsusp' my comp while I listen to music and restore the music > > plays from where it left alright, but the channels are muted. > > Is there a way to unmute them implicitly when restoring. > > which driver? > not all drivers have suspend/resume callbacks. Could it be solved at higher layer, perhaps? Setting volume is common to all drivers, and some kind of generic_alsa_suspend every alsa driver would call might help... Pavel PS: I know very little about alsa. -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/