Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752462Ab0GEGLq (ORCPT ); Mon, 5 Jul 2010 02:11:46 -0400 Received: from cantor2.suse.de ([195.135.220.15]:32890 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751727Ab0GEGLp (ORCPT ); Mon, 5 Jul 2010 02:11:45 -0400 Date: Mon, 05 Jul 2010 08:11:40 +0200 Message-ID: From: Takashi Iwai To: =?UTF-8?B?U2jDqXJhYg==?= Cc: Matthew Ranostay , PeiSen Hou , matt.jared@intel.com, andy.kopp@intel.com, dan.d.kogan@intel.com, Jaroslav Kysela , Wu Fengguang , Daniel T Chen , Lydia Wang , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: PC Beeps not working with HDA Intel module In-Reply-To: <20100626112504.GA3365@pema> References: <20100626112504.GA3365@pema> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1246 Lines: 39 At Sat, 26 Jun 2010 13:25:04 +0200, Shérab wrote: > > Dear all, > > The problem is on a computer with an HDA Intel sound card, Intel G45 > DEVCTG chip and appears will all version s of the kernel. > > Running e.g. > beep 440 > produces a beep whose audible frequency is very low, definitely not 440 > Hz. > > However, it is worth notiing that grub is able to produce a beep of the > right frequency at boot time. > > Can this problem be fixed ? There are a few ways. If you build your kernel with SND_HDA_INPUT_BEEP_MODE=2, or set the option of snd-hda-intel module beep_mode=2, you'll be able to switch to the native beep from HD-audio codec digital beep via muting "Beep" mixer switch. Or, if the value above is 0, it'll be always the system-native beep. This can be done also via writing sysfs codec hint, as documented in HD-Audio.txt. Alternatively, you can reload pcspkr module so that it grabs the beep output again over snd-hda-intel, "modprobe -r pcspkr; modprobe pcspkr" Takashi -- 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/