Thread View: muc.lists.freebsd.bugs
1 messages
1 total messages
Started by bugzilla-noreply
Sat, 14 Nov 2026 02:08
[Bug 275203] ABNT2 keyboard doesn't work right
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads