VirtualBox

Opened 15 years ago

Closed 15 years ago

#2847 closed defect (fixed)

<Henkan_Mode> Key on Japanese keyboard is not recognized on Solaris host => fixed in SVN

Reported by: yukie Owned by:
Component: other Version: VirtualBox 2.1.0
Keywords: Cc:
Guest type: Solaris Host type: Solaris

Description

<Henkan_Mode> key on Japanese keyboard is not worked correctly on Solaris.
Because the meaning of key code is different.

  • <Henkan_Mode> Key is recognized as <kanji(0xff21)> on Solaris host.
  • <Henkan_Mode> key is recognized as <Henkan_Mode(0xff23)> on Ubuntu host.

This was fixed in VirtualBox 2.06 by ticket 2263.
But it is not fixed in VirtualBox 2.10.
I opened a new ticket as a follow to #2263.

Attachments (1)

VBoxKeyboard-2.1.0-jp106-sun.patch (1.4 KB ) - added by sayama 15 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by sayama, 15 years ago

I investigated this issue and found that X11DRV_KeyEvent() uses nonchar_key_scan table instead of main_keyboard_type_scans table on 2.1. Howeven even if using keysym, this problem cannot be fixed because the meaning the keysym is bit different between Solaris and Linux as the historical reason. Here is the difference.

Xorg on SolarisXorg on Linux
Zenkaku-Hankaku key (AT scan=29)Henkan_Mode(0xff23)Zenkaku_Hankaku(0xff2a)
Katakana/Hiragana key (AT scan=70)Kana_Lock(0xff2d)Hiragana_Katakana(0xff27)
Henkan key (AT scan=79)Kanji(0xff21)Henkan_Mode(0xff23)
Muhenkan key (AT scan=7B)Execute(0xff62)Muhenkan(0xff22)

Could you please review attached patch and merge it if it's OK? Yes, this is MIT-licenced.

comment:2 by Michael Thayer, 15 years ago

Resolution: fixed
Status: newclosed
Summary: <Henkan_Mode> Key on Japanese keyboard is not recognized on Solaris host<Henkan_Mode> Key on Japanese keyboard is not recognized on Solaris host => fixed in SVN

Patch merged. Sorry that you had to redo this (I applied your last patch to the 2.0 branch, but I thought that it would not be needed on 2.1). Thanks again.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use