Bug 116425 - keyboard keys outputs wrong characters
Summary: keyboard keys outputs wrong characters
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Beta 3
Hardware: Other All
: P2 - High : Normal
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 04:44 UTC by Thiago Sayao
Modified: 2005-09-21 01:27 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
xorg.conf (5.58 KB, application/octet-stream)
2005-09-18 19:01 UTC, Thiago Sayao
Details
/var/log/Xorg.0.log (41.00 KB, text/x-log)
2005-09-18 19:03 UTC, Thiago Sayao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Sayao 2005-09-12 04:44:31 UTC
My laptop (Acer travelmate 2000) keyboard is an brazilian portuguese abnt2
keyboard. The combination Alt Gr + q should generate a slash and Alt Gr + w
should generate a question mark, but it generates @ and ł respectively.

My configuration is:
Keyboard model: Brazilian ABNT2
layout: Brazil
Comment 1 Stefan Dirsch 2005-09-12 06:16:14 UTC
Should be "br" xkb map. Please attach your /etc/X11/xorg.conf 
and /var/log/Xorg.0.log. 
Comment 2 Stefan Dirsch 2005-09-18 16:39:23 UTC
Still no feedback? WONTFIX. 
Comment 3 Thiago Sayao 2005-09-18 19:01:56 UTC
Created attachment 50252 [details]
xorg.conf

xorg.conf
Comment 4 Thiago Sayao 2005-09-18 19:03:21 UTC
Created attachment 50253 [details]
/var/log/Xorg.0.log
Comment 5 Thiago Sayao 2005-09-18 19:05:07 UTC
Sorry, i didn't saw the request for feedback. I've attached the requested files,
thanks.
Comment 6 Stefan Dirsch 2005-09-18 19:11:29 UTC
This looks like a X11 configuration issue. 
  
/etc/X11/xorg.conf: 
[...] 
Section "InputDevice"  
  Driver       "kbd"  
  Identifier   "Keyboard[0]"  
  Option       "Protocol" "Standard"  
  Option       "XkbLayout" "br,br"  
  Option       "XkbModel" "abnt2"  
  Option       "XkbOptions" "grp:alt_shift_toggle"  
  Option       "XkbRules" "xfree86"  
  Option       "XkbVariant" "xfree86"  
EndSection  
 
Could you pleaes change this to 
 
Section "InputDevice"  
  Driver       "kbd"  
  Identifier   "Keyboard[0]"  
  Option       "Protocol" "Standard"  
  Option       "XkbLayout" "br"  
  Option       "XkbModel" "abnt2"  
  Option       "XkbRules" "xfree86"  
  Option       "XkbVariant" "xfree86"  
EndSection  
 
Does  this help? 
Comment 7 Thiago Sayao 2005-09-19 22:18:25 UTC
Doesn't help. The configuration is actually correct. SuSe generated the most
correct configuration of all distros i've tried. Here is how to correct the problem:

Edit /etc/X11/xkb/symbols and add those lines:
   key <AD01>  { [         q,          Q,        slash,        slash ] };
   key <AD02>  { [         w,          W,     question,     question ] };

I think this is the correct for the br keyboard. I'm not sure how this affects
other brazilian keyboards, but it shouldn't be a problem since most abtn2
keyboards doesn't have those keys. My keyboard has those because its a laptop.
Comment 8 Stefan Dirsch 2005-09-20 14:10:51 UTC
I've made a bugreport. 
 
https://bugs.freedesktop.org/show_bug.cgi?id=4519 
Comment 9 Stefan Dirsch 2005-09-20 16:49:11 UTC
fixed for openSUSE Linux 10.1 alpha1. I'll make sure that this issue will 
fixed upstream (xkeyboard-config project) as well. 
Comment 10 Stefan Dirsch 2005-09-20 22:42:39 UTC
Fixed upstream in CVS now. 
Comment 11 Thiago Sayao 2005-09-21 01:27:16 UTC
very nice, thank you very much :)