From nobody Fri Nov 01 16:55:15 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xg6Rl5fF0z5c5fV for ; Fri, 01 Nov 2024 16:55:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xg6Rl3yPSz44ZD for ; Fri, 1 Nov 2024 16:55:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730480115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ifZf7aZbHXgclMpDr0C3zldRVa28s1DOthU8BtLFi+s=; b=nzYWHVKpU5Lc0rbPZV9cJpw6TfOdxq5Joa2PFWO3UxUyQpXtjX+B/X0Ba8JpyxBgTTRuoK xgEwnyasPlbPgvQa8VWSZwI+otHq/eU2ujH97WI8nIwVg6Pk0quPHm5cU+9C8tYAQ8IbrB AC6dPfCvRcQMcV4gwHb3dH/aAL1pbr3x6LWTPQlzoah69h2MhcSYhiIJp1ceR7bZ+Mbo4O 2vWdO/jZO6Ewoe7gSoh7/OCjp2w2VS7yFLFVnkisC4lXvppZ6zi7UBuZKQ+oDC7wuhWHrd LX2AdzkjRHf+lhmrnS/86ZCnaXJl7S0LMzmn/4ZMVTGyOgvjgP1S+nNOrCcl9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730480115; a=rsa-sha256; cv=none; b=uPm+yqjzS6TvT9JiCAcSNLuLp0aZ+yrMfkQj/h4AJM/dH4vzR/VVQZenv0ifpXw+eitDQm SVPaXlRfJDG+1lRBHrUSfbQnff6kM5Ge8qWXUgXpXZbwKuUQUg2bYOlpf5OoTemae0hrJv d4zKG2IeEYdQGIG3d8nInYRwM4wptXM5FxLa7ej5qLpeTrGqSFNaSelZDL7OC8wHJwZZxe TUnIKuYjpIcl9Gck0HizC/DceKiS6Qtngf2SoHMD99C5Gv8XUrPamuV5ZL5jskujm5jfkE KOzkF/99KuoSR4O0Bl8BRXCBcvekb6RWO7W+lDYACtwoW48nul/VS421Zt/q4g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xg6Rl3ZFqzSdF for ; Fri, 1 Nov 2024 16:55:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4A1GtFN4054266 for ; Fri, 1 Nov 2024 16:55:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A1GtFsi054265 for bugs@FreeBSD.org; Fri, 1 Nov 2024 16:55:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 204837] kbdcontrol -b (bell control) does not work with vt(4) Date: Fri, 01 Nov 2024 16:55:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: vt X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204837 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #1 from Ed Maste --- Support added in: commit 2533eca1c2b9d561c42d28bcb6f1c1c35562fbcc Author: Warner Losh Date: Wed Nov 3 15:55:42 2021 -0600 vt(4): Connect to teken's TP_SETBELLPD Add the glue needed to listen to TP_SETBELLPD which teken uses to inform its client drivers about the results of parsing \e[=3D;B. It converts these to a Hz value for the tone/pitch of the bell and a duration in ms. There's some loss of precision because in the escape seuquence is defined to be (1193182 / pitch) Hz and is in 10ms units. Also note that kbdcontrol also parses 'off' but then doesn't send the proper escape sequence, leading me to wonder if that's another bug since teken appears to parse that sequence properly and I've added code here to treat that as the same as quiet or disabled. In general, Hz from 100 to 2000 is good. Outside that range is possible, but even at 100Hz the square wave is starting to sound bad and above 2000Hz the speaker may not respond. Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D32620 --=20 You are receiving this mail because: You are the assignee for the bug.=