Bug 27008 - kernel function sysbeep(xxx, 0) does produce sound
Summary: kernel function sysbeep(xxx, 0) does produce sound
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-01 12:40 UTC by Alex Kapranoff
Modified: 2023-03-17 08:19 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.34 KB, patch)
2001-05-01 12:40 UTC, Alex Kapranoff
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)