Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754852Ab0HCEaH (ORCPT ); Tue, 3 Aug 2010 00:30:07 -0400 Received: from alerce.vps.bitfolk.com ([212.13.194.134]:3936 "EHLO alerce.vps.bitfolk.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074Ab0HCEaE (ORCPT ); Tue, 3 Aug 2010 00:30:04 -0400 X-Greylist: delayed 1673 seconds by postgrey-1.27 at vger.kernel.org; Tue, 03 Aug 2010 00:30:04 EDT Date: Tue, 3 Aug 2010 01:00:54 -0300 From: Leandro Lucarella To: linux-kernel@vger.kernel.org Cc: Jaroslav Kysela , Takashi Iwai , Kailang Yang , Daniel T Chen , alsa-devel@alsa-project.org Subject: Regression 2.6.35: Intel N10/ICH 7 Family HDA (Realtek ALC662 rev1) beep broken Message-ID: <20100803040054.GX3508@llucax.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Paranoid: Just because you're paranoid, don't mean they're not after you. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 15089 Lines: 377 Hi. I've upgraded from kernel 2.6.34 to 2.6.35 and the beep through the sound card stopped working. I found a very similar problem[1] (commit[2]). [1] http://lkml.org/lkml/2010/7/28/228 [2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=dc1eae256cfac03bf17bf3eb016e3a6423d3f9d5 I've tried to manually enabling the beep with the steps in the e-mail thread I found: # echo -n 1 > /sys/class/sound/hwC0D2/subsystem_id # echo -n 1 > /sys/class/sound/hwC0D2/reconfig But it didn't work (the beep still goes through the pcspkr). I've tried to naively (I'm not a kernel hacker, so I was just guessing) add a new entry with the quirks beep_white_list by copying the entry for ASUS like this: diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 596ea2f..ca3ed12 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5183,6 +5183,7 @@ static void fillup_priv_adc_nids(struct hda_codec *codec, hda_nid_t *nid static struct snd_pci_quirk beep_white_list[] = { SND_PCI_QUIRK(0x1043, 0x829f, "ASUS", 1), + SND_PCI_QUIRK(0x8086, 0xd613, "INTEL", 1), {} }; But it didn't work either. Then I noticed, if I'm understanding the source code (sound/pci/hda/patch_realtek.c) and documentation (Documentation/sound/alsa/HD-Audio-Models.txt) right, that my card is not present in the models listing, but it worked fine in 2.6.34 (and previous) kernel(s). I would appreciate if somebody can give me some hints on how to get the beep back. Thank you. Here is some data about my card, please let me know (Cc me please) if you need any other information. # lspci -vvs00:1b.0 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01) Subsystem: Intel Corporation Device d613 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-