Opened 16 years ago
Closed 16 years ago
#2263 closed defect (fixed)
Some keys on Japanese keyboard are not recoginzed on Solaris host.
Reported by: | sayama | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 2.0.2 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Solaris |
Description
VirtualBox2.0.0 improved the problem that some keys on localized keyboard are not recognized. However, some keys on Japanese keyboard are not worked correctly on Solaris yet because the meaning of key code is bit different. I tried to test it on OpenSolaris nv_97 with using xev command.
- <Katakana/Hiragana> key is recogized as <Kanji>
- <Henkan> key and <Muhenkan> key are not recogized.
I looked the file under src/VBox/Frontends/VirtualBox4/src/linux/keyboard-types.h and found that these are not correctly mapped. I created the patch for this issue and attached it. Could you please merge it if it is OK?
Attachments (1)
Change History (5)
by , 16 years ago
Attachment: | VBoxKeyboard-jp106-sun.patch added |
---|
comment:1 by , 16 years ago
I should have added the different keycode information between Xorg on Solaris and Xorg on Linux. Here is the table for this and I created the patch based on it.
Xorg on Solaris | Xorg on Linux | |
Katakana/Hiragana (AT scan=70) | keycode=129 | keycode=208 |
Muhenkan (AT scan=7B) | keycode=139 | keycode=131 |
Henkan (AT scan=79) | keycode=138 | keycode=129 |
comment:2 by , 16 years ago
Thanks for your patch. This is already fixed in a different way for VirtualBox 2.1, but I will include your patch (which is a less invasive change) in the stable 2.0.4 release, if we do one. Could you please just confirm that your patch is MIT-licenced to keep the legal people happy?
comment:3 by , 16 years ago
It's good news that this is already fixed in VirtualBox 2.1 and my patch will be included in 2.0.4 release. Thank you very much for your good information. Yes, I confirm that it is MIT-licenced.
Patch for this problem