Bug 27008

Summary: kernel function sysbeep(xxx, 0) does produce sound
Product: Base System Reporter: Alex Kapranoff <alex>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: jpaetzel
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Alex Kapranoff 2001-05-01 12:40:01 UTC
	kernel function sysbeep takes two arguments: pitch and
	duration. When the duration == 0, it should obviously not produce
	any sound, but it does (probably due to high interrupt latency
	in -current). So lets make duration == 0 a special case.

Fix: I've only tested i386 variant but the patches are identical
except for the alpha case.
How-To-Repeat: 	% kbdcontrol -b off
	% echo "\a"
Comment 1 Josh Paetzel freebsd_committer freebsd_triage 2017-06-27 00:42:17 UTC
Bug scrub.  If this applies to a supported FreeBSD please regenerate the patch.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-03-17 08:19:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0809f75a3222faadbc12434e1acd578cfc83182e

commit 0809f75a3222faadbc12434e1acd578cfc83182e
Author:     Neal Nelson <ports@nicandneal.net>
AuthorDate: 2023-03-16 08:21:38 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2023-03-17 08:13:48 +0000

    lang/nim: Upgrade to 1.6.12

    ChangeLog: https://nim-lang.org/blog/2023/03/10/version-1612-released.html

    PR:             270244 27008
    Reported by:    ports@nicandneal.net (maintainer)

 lang/nim/Makefile  | 10 +++++-----
 lang/nim/distinfo  |  6 +++---
 lang/nim/pkg-plist |  8 +++++---
 3 files changed, 13 insertions(+), 11 deletions(-)