lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 03 Aug 2010 07:42:16 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	Leandro Lucarella <luca@...cax.com.ar>
Cc:	linux-kernel@...r.kernel.org, Jaroslav Kysela <perex@...ex.cz>,
	Kailang Yang <kailang@...ltek.com>,
	Daniel T Chen <crimsun@...ntu.com>,
	alsa-devel@...a-project.org
Subject: Re: Regression 2.6.35: Intel N10/ICH 7 Family HDA (Realtek ALC662 rev1) beep broken

At Tue, 3 Aug 2010 01:00:54 -0300,
Leandro Lucarella wrote:
> 
> 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).

So, you want to hook the beep over codec but it doesn't work, right.
Do you get "Beep" mixer elements and the dedicated input device?
Please give alsa-info.sh output.


> 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.

Hm, this should work.  At least, you should have beep mixer & co with
this.


> 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).

This is no problem.  The model entry is only for special cases.
For normal machines, no quirks are needed.


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ