Article View: muc.lists.freebsd.bugs
Article #456[Bug 275203] ABNT2 keyboard doesn't work right
From: bugzilla-noreply
Date: Sat, 14 Nov 2026 02:08
Date: Sat, 14 Nov 2026 02:08
49 lines
3995 bytes
3995 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275203
Adjamilton Junior <jr@ieee.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jr@ieee.org
--- Comment #3 from Adjamilton Junior <jr@ieee.org> ---
I tested this on 15.1-RELEASE (official disc1 ISO, Live System) with a USB
ABNT2 keyboard (HP/Chicony 03f0:104a) passed through to a VM. The "br" keymap
itself looks correct; the symptoms have different causes:
1. ç and accented letters not showing at the sh prompt: sh runs in the C
locale. With LANG=pt_BR.UTF-8 set before starting sh, ç, ã, õ, é, à, ü and ¨
all work. hexdump -C shows the console sends the right UTF-8 bytes (~a -> c3
a3, ~o -> c3 b5, ¨¨ -> c2 a8).
2. "?" instead of ã, õ, ¨: this only happens in VGA text mode (BIOS boot).
vt_vga.c maps characters to CP437 and prints '?' for anything missing; CP437
has ç, â, ü but not ã, õ, ¨. Booting with UEFI (framebuffer console),
everything is displayed correctly.
3. Insert prints "~": the key sends ESC [ 2 ~, which sh does not handle. So,
it's not a keymap problem.
4. Keypad "-" and "+" with NumLock off produce nothing. This is a real bug,
and not specific to "br": it also happens with "us". The keymaps map these
keys to fkey52/fkey56, but vt_processkey() in vt_core.c has no case for
F(52)/F(56), so the keys are silently dropped (syscons sent the fkey strings
"-" and "+").
In conclusion, items 1-3 look like configuration or display limitations rather
than keymap bugs. For item 4, I plan to send a patch to fix it.
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-275203-227-tvsmSEzLNO@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-275203-227@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 275203] ABNT2 keyboard doesn't work right Date: Sat, 14 Nov 2026 02:08:58 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-275203-227-tvsmSEzLNO@https.bugs.freebsd.org/bugzilla/> References: <bug-275203-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="95041"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794622138; 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=wdxCyb2XZ5ex7bha7eFkMdxydK9L5rknAL4uxoIKuGs=; b=WfUEVUNAXWLNQSAXqfrZYVpDyDn/onTeRxVaKCnzH3ULpqBwRBoaFe59flHvfKDUEBwF2o 8VGBO2UWPeuVOnuF3KKSiNpALAooRHIH0SA6jUb7jqAioS08cvj9rD7ohPC8uk2iXGk5A5 uL39GFBS5UqBOEyoOeanLdVGAE0ll8kroe5qv0+N9EFF25NfxTHJ/hXmWut5KzkXuptL3x +mJcuS0yhNPZqs5TyZyIIh5BftHv74vefOzD76yYJ//5joxwSLkHllqc46iw3ix2sDq1Vp xBNHq3MBxdQ3LdmDc6mAKRkhyMhS+9Ab6BkgSDK6z/kui5t5KA0jfc7i02N4oA== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-275203-227@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes