Ticket #2263 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Some keys on Japanese keyboard are not recoginzed on Solaris host.

Reported by: sayama Owned by:
Priority: major Component: other
Version: VirtualBox 2.0.2 Keywords:
Cc: Guest type: other
Host type: Solaris


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?


VBoxKeyboard-jp106-sun.patch Download (932 bytes) - added by sayama 10 years ago.
Patch for this problem

Change History

Changed 10 years ago by sayama

Patch for this problem

comment:1 Changed 10 years ago by sayama

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 SolarisXorg on Linux
Katakana/Hiragana (AT scan=70)keycode=129keycode=208
Muhenkan (AT scan=7B)keycode=139keycode=131
Henkan (AT scan=79)keycode=138keycode=129

comment:2 Changed 10 years ago by michael

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 Changed 10 years ago by sayama

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.

comment:4 Changed 10 years ago by michael

  • Status changed from new to closed
  • Resolution set to fixed

Done. Thanks a lot.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use