From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759961AbYENKDn (ORCPT ); Wed, 14 May 2008 06:03:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754855AbYENKDd (ORCPT ); Wed, 14 May 2008 06:03:33 -0400 Received: from mx2.suse.de ([195.135.220.15]:57095 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754018AbYENKDc (ORCPT ); Wed, 14 May 2008 06:03:32 -0400 Date: Wed, 14 May 2008 12:03:31 +0200 Message-ID: From: Takashi Iwai To: Roberto Oppedisano Cc: Stas Sergeev , LKML Subject: Re: Non-working snd-pcsp In-Reply-To: <482A7A17.8070706@infracom.it> References: <482737BE.20502@infracom.it> <4827415A.7060101@aknet.ru> <482756F0.8020609@infracom.it> <48275D8D.10500@aknet.ru> <4827F0A1.9090600@infracom.it> <48288ACC.1020909@aknet.ru> <48299F08.2060702@infracom.it> <4829B6A1.90707@infracom.it> <482A7A17.8070706@infracom.it> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta28) (fuki) (+CVS-20070806) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Wed, 14 May 2008 07:35:19 +0200, Roberto Oppedisano wrote: > > Hello. > > Takashi Iwai wrote: > > [Changed the subject since it's no real regression] > > > ACK > > Could you run "alsactl -f somefile store" and show that file? > > This will contain the full mixer information. > > > Attached. You turned off both "Master Playback Switch" and "PC Speaker Playback Switch" of snd-pcsp driver. Then it cannot work. And, since you loaded the sound driver for on-board sound chip, you'll likely have to adjust the mixer of that driver, too. The beep can be hooked to the on-board chip once after initialized. But I'm wondering why "PC Speaker Playback Switch" and Volume don't appear in the on-board driver. Which codec (I suppose it's AC97) on it? > >> With kmix I can toggle the mute setting (alsamixer still sees it off), but > >> no sound comes out from the speaker. > >> I also tried > >> > >> echo -e "\a" > >> > >> without the module loaded (on old kernel), and the speaker is mute. > >> > > When snd-pcsp is built, the input pcspkr is excluded. So, the beep > > won't work unless snd-pcsp is loaded and activated. > > > I tried this on 2.6.25 where: > > roppedisano@poppero1:~$ grep PCSP /boot/config-2.6.25 > roppedisano@poppero1:~$ > > So, if I'm not missing something, I think it should have worked Weird. If CONFIG_INPUT_PCSPKR isn't there, the box shouldn't beep at all. If it still beeps, it must be a bug... thanks, Takashi