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] [day] [month] [year] [list]
Date:	Mon, 05 Jul 2010 08:11:40 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	Shérab <Sebastien.Hinderer@...-lyon.org>
Cc:	Matthew Ranostay <mranostay@...eddedalley.com>,
	PeiSen Hou <pshou@...ltek.com.tw>, matt.jared@...el.com,
	andy.kopp@...el.com, dan.d.kogan@...el.com,
	Jaroslav Kysela <perex@...ex.cz>,
	Wu Fengguang <fengguang.wu@...el.com>,
	Daniel T Chen <crimsun@...ntu.com>,
	Lydia Wang <lydiawang@...tech.com.cn>,
	alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: PC Beeps not working with HDA Intel module

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