Bug 140169

Summary: Hangul and Hangul_Hanja keycode in Hangul 106keyboard
Product: [Fedora] Fedora Reporter: sangu <sangu.fedora>
Component: xorg-x11Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: eng-i18n-bugs, mitr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-17 05:42:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sangu 2004-11-20 16:03:27 UTC
Description of problem:
No event

Version-Release number of selected component (if applicable):

kbd-1.12-2

How reproducible:

Steps to Reproduce:
1. execute xev
2. click Hangul , Hangul_Hanja key 
3. 
  
Actual results:
No event

Expected results:

KeyRelease event, serial 28, synthetic NO, window 0x3800001,
    root 0x38, subw 0x0, time 14397139, (113,113), root:(133,218),
    state 0x0, keycode 209 (keysym 0xff34, Hangul_Hanja), same_screen YES,
    XKeysymToKeycode returns keycode: 121
    XLookupString gives 0 bytes:

KeyPress event, serial 28, synthetic NO, window 0x3800001,
    root 0x38, subw 0x0, time 14402058, (113,113), root:(133,218),
    state 0x0, keycode 210 (keysym 0xff31, Hangul), same_screen YES,
    XKeysymToKeycode returns keycode: 122
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False


Additional info:
kernel-2.6.9-1.681_FC3

cat /etc/sysconfig/keyboard
KEYBOARDTYPE="pc"
KEYTABLE="us-acentos"

$setkeycodes 71 122
$setkeycodes 72 123
$xmodmap -e 'keycode 210 = Hangul'
$xmodmap -e 'keycode 209 = Hangul_Hanja'

Comment 1 Miloslav Trmač 2005-02-19 19:51:20 UTC
After the setkeycodes commands, what is the output of (showkey -s) and (showkey
-k) when run on the console?

Comment 2 sangu 2005-02-20 04:35:52 UTC
               Hangul / Hangul_Hanja
* showkey -s   0xf2   / 0xf1

-----------------------------------------------------------
               Hangul               / Hangul_Hanja
* showkey -k   keycodes 123 press   / keycodes 122 press
               keycodes 123 release / key codes 122 release

Comment 3 Miloslav Trmač 2005-02-20 10:06:03 UTC
Thanks.
It seems that the keycodes for Hangul and Hangul_Hanja (123/122) are reversed,
Hangul should be, from looking at /usr/include/linux/input.h, keycode 122;
but that's probably not the reason why xev doesn't show the keys.

On the other hand, looking at /usr/X11R6/lib/X11/xkb/keycodes/xfree86, the
keycodes should be 121/122; maybe I just don't understand XKB well enough.

Anyway, the keys seems to be set up correctly enough on the console, so keys
not showing up with xev should be solved within X.

Comment 4 Mike A. Harris 2005-04-15 12:17:56 UTC
Please report this problem directly to X.Org by filing a bug report
in the X.Org bugzilla located at http://bugs.freedesktop.org in the
"xorg" component.

Once you've filed your bug report to X.Org, if you paste the new
bug URL here, Red Hat will continue to track the issue in the
centralized X.Org bug tracker, and will review any bug fixes that
become available for consideration in future updates.

Setting status to NEEDINFO, awaiting upstream bug report URL for
tracking.

Comment 5 Mike A. Harris 2005-05-17 05:42:58 UTC
It's been over a month since our request for this to be reported to X.Org
and nobody has provided a URL for us to track.  I assume the problem has
been resolved in an update, and nobody is interested in Red Hat tracking
this any further.

If the problem still exists however, and you do want Red Hat to track it
follow the instructions in comment #4 above and set the status back to
"REOPENED".

Closing bug "CURRENTRELEASE", and assuming the problem is fixed due to
lack of feedback/response.