ABNT2 (used for brazilian portuguese) laptop keyborads have some extra AltGr codes which current br-latin1-abnt2.map doesn't maps. I created a patch to br-latin1-abnt2.map that includes the necessary mapping. Please consider including it in sys-apps/kbd as more and more ABNT2 laptops are being sold in Brazil nowadays. I sent the same patch upstream but I don't know has fast they will respond.
Created attachment 88863 [details, diff] Support for ABNT2 laptop keyboards.
Created attachment 88992 [details, diff] Patch for br-latin1-abnt2 keymap Patch for br-latin1-abnt2 keymap including AltGr codes for q, w, e, r and c and shifted backslash (= bar)
I updated the patch so it will also fix the current lack of bar as shift backslash (keycode 86) in br-latin1-abnt2 keymap. I've just got a reply from upstream. The patch will probably be applied on next release: "Not soon" so I think it really should be included in the ebuild ASAP.
Created attachment 88996 [details, diff] Patch for br-latin1-abnt2 keymap Fixing some CapsLock issues with the previous patches.
where this patches added to the portage tree? are there any problems with current kbd versions? if there are no problems please close this bug