[Bug 282474] bell: unable to enable bell

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Nov 2024 20:58:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282474

--- Comment #3 from Ed Maste <emaste@freebsd.org> ---
> So, bell ring only works on "pc speaker"?

Both sc(4) and vt(4) have kernel support only for the "pc speaker," calling
sysbeep().

vt(4) can also generate a notification when the bell needs to ring, but I don't
believe we have a well documented way to use that to set up a bell via a sound
card.

For reference:

commit 4ac3d08a9693c27c1bd2ddd67b2808ac9e18f4c5
Author: Warner Losh <imp@FreeBSD.org>
Date:   Wed Nov 3 15:55:48 2021 -0600

    vt: Add devctl message for bells

    Generate VT events when the bell beeps. When coupled with disabling the
    bell,this allows custom bells to be rung when we'd otherwise beep.

    Reviewed by:    kevans
    Differential Revision:  https://reviews.freebsd.org/D32656

-- 
You are receiving this mail because:
You are the assignee for the bug.