VirtualBox

Ticket #599 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

VirtualBox 1.5 - keyboard issues with Linux hosts => try again with VirtualBox 2.0.0

Reported by: nvivo Owned by:
Priority: critical Component: GUI
Version: VirtualBox 1.6.4 Keywords:
Cc: Guest type: other
Host type: other

Description

I'm Brazilian and have an ABNT2 keyboard.

Everything was fine with 1.4.0, but after the upgrade to 1.5.0, the slash/question mark key stopped working.

I use Ubuntu 7.04 host and tried Ubuntu and Windows XP guests. Both have the same problem, even after updating the guest additions.

I saw that this happened sometime ago but was fixed:  http://www.virtualbox.org/ticket/205

Also, I know that VMWare allow to remap keys in the config files. This could also be a way to solve this.

Attachments

write_xkb Download (10.6 KB) - added by michael 6 years ago.
Programme to print out the current host layout, built for recent 32bit hosts
write_xkb.cc Download (2.2 KB) - added by michael 6 years ago.
The source code of the previous binary
VBoxKeyboard.so Download (70.6 KB) - added by michael 6 years ago.
Updated keyboard handler library for VirtualBox 1.5.4, 32bit Linux hosts
vboxkeyboard.tar.gz Download (34.4 KB) - added by michael 6 years ago.
Source code for the keyboard library
VBox.log Download (32.1 KB) - added by macias 6 years ago.
vbox.log

Change History

comment:1 Changed 7 years ago by michael

nvivo and osmeest: I will upload a new copy of the file VBoxKeyboard.so which should fix your respective problems. It would be great if you could test it and report back. The file was built on a Ubuntu 7.04 i386 box, so it will only work on i386 systems with glibc 2.4 or above. Please let me know if you need something different for your systems.

comment:2 Changed 7 years ago by michael

nvivo: could you please test to make sure that the other keys on your keyboard work alright? Notably the dot key on the number pad and the ]/} key?

comment:3 Changed 7 years ago by michael

Ticket #609 has been marked a duplicate of this one.

comment:4 Changed 7 years ago by nvivo

I did some tests, and I saw with the default 1.5.0 keyboard handler, the "." on the numpad was actually a ",".

After instaling the new handler, that is what I got:

On the numpad, it is the same... , where should be . The rest is ok. All the keys next to Enter are OK (´`[]{}~;:) but the slash now gives me a "9" and Shift+Slash that should be question mark gives me nothing.

Is there any tool I can use here to give you better information?

comment:5 Changed 7 years ago by michael

nvivo: here is another handler library to try. If this doesn't solve the problem, I can build one which produces some debug output.

comment:6 Changed 7 years ago by michael

Note: please rename the file to VBoxKeyboard.so - unfortunately the ticket tracker renamed it automatically.

comment:7 Changed 7 years ago by osmeest

Using the latest version of VirtualBox packaged for Feisty (1.5.0-24069-1_Ubuntu_feisty), I still have the problem on my laptop.

However, the very same version in the very same Linux platform (both up-to-date Feisty) works like a charm on my personal desktop that has a pure French keyboard...

Michael, I did not test the newly provided keyboard handler yet. I'll do that tomorrow.

comment:8 Changed 7 years ago by nvivo

I have tested the VBoxKeyboard.2.so and it works almost OK for me.

All the previous keys like the numpad, the questionmark and slash are ok.

But now, the \ and | (backslash and pipe) (the key between left-shift and Z) don't work anymore.

comment:9 Changed 7 years ago by sandervl73

Another report; probably related.  http://forums.virtualbox.org/viewtopic.php?t=1561

comment:10 Changed 7 years ago by nvivo

This last one works perfect for me!

comment:11 Changed 7 years ago by michael

Ticket #641 has been marked a duplicate of this one.

masoris: I'm dvorak layout user on Ubuntu 7.04 64bit host. I had install edubuntu on Virtualbox and I use qwerty layout on guest. In 1.4.0 I had no problem to use dvorak on host, qwerty on guest. But after installing 1.5.0, I found problem that qwerty on guest works as drovak layout, and I cannot use qwerty layout on guest any more. To use qwerty layout in guest, I should change host layout to qwerty and reboot the host.

comment:13 Changed 7 years ago by michael

osmeest: by the way, the new handler should also handle multimedia keys, or at least those that the host does not grab exclusively.

comment:14 Changed 7 years ago by osmeest

Michael: I can happily confirm that the new keyboard driver fixes the issues that I encountered with the released 1.5.0 version.

Impatiently waiting for the next official release :-)

comment:15 Changed 7 years ago by Biochem

I tested your new keyboard driver but it doesn't work with the Canadian multilingual keyboard. The / à è ç keys are not working.

I changed the layout in the guest to US but the equivalent key are still not working.

comment:16 Changed 7 years ago by michael

Biochem: are you referring to this layout?

 http://en.wikipedia.org/wiki/Keyboard_layout#Canadian_Multilingual_Standard

If so, please send me a mail (my nick at innotek dot de) and I will send you an updated handler library to test.

comment:17 Changed 7 years ago by michael

Fix for the Canadian international keyboard confirmed.

comment:18 Changed 7 years ago by michael

  • Version changed from VirtualBox 1.4.0 to VirtualBox 1.5.0

comment:19 Changed 7 years ago by michael

The above issues are all fixed in VirtualBox 1.5.2, due to be released in a few days. Please do not hesitate to add comments though if you have Linux host keyboard issues not mentioned here.

comment:20 Changed 7 years ago by turing

Same problem here.

Vbox 1.5.0. Host: Arch Linux. Guest: windows XP & 2000 Pro.

Problem: special Spanish characters not working in the windows guest.

Keyboard: Generic 105-key (Intl) PC.

comment:21 follow-up: ↓ 22 Changed 7 years ago by michael

turing: a couple of questions.

  • Did you choose the Spanish keyboard layout inside the guest?
  • Are you seeing some keys which the guest does not recognise at all?
  • Are you using the standard Spanish keyboard layout or a special version (i.e. nodeadkeys or similar)?

comment:22 in reply to: ↑ 21 Changed 7 years ago by turing

  • Did you choose the Spanish keyboard layout inside the guest?

Yes.

  • Are you seeing some keys which the guest does not recognise at all?

Just dead-keys.

  • Are you using the standard Spanish keyboard layout or a special version (i.e. nodeadkeys or similar)?

'Default' as Kcontrol says. No special version at all.

comment:23 Changed 7 years ago by michael

It works here. I tested with KDE on the host, keyboard layouts enabled and generic 105-key intl, Spanish layout default variant. I set up the XP guest to use the standard Spanish layout. I suggest that you retry when version 1.5.2 is released (no date set, but probably in a week or two).

comment:24 follow-up: ↓ 25 Changed 7 years ago by michael

comment:25 in reply to: ↑ 24 Changed 7 years ago by turing

Replying to michael:

OK, thanks. Looking forward to it.

comment:26 Changed 6 years ago by turing

Fortunately VBox 1.5.2 solved this to me.

Tested with Arch Linux (host) and Windows XP & W2K (guests). Special characters work perfectly under both.

Thank you.

comment:27 follow-up: ↓ 28 Changed 6 years ago by msma

I have similar problem. Keys with diacritical marks ˇ ´ ¨ ˚ don't work in W2K and WinXP guests. I use Czech keyuboard layout in guests. If I change layout to English problem still exists (in this case marks = + \ ~). Host is Gentoo with czech layout. VirtualBox 1.5.0 and 1.5.2

comment:28 in reply to: ↑ 27 Changed 6 years ago by michael

Replying to msma:

I have similar problem. Keys with diacritical marks ˇ ´ ¨ ˚ don't work in W2K and WinXP guests. I use Czech keyuboard layout in guests. If I change layout to English problem still exists (in this case marks = + \ ~). Host is Gentoo with czech layout. VirtualBox 1.5.0 and 1.5.2

I have sent you an updated handler which you can try out by private mail. Let me know if it works for you.

comment:29 Changed 6 years ago by michael

  • Summary changed from VirtualBox 1.5.0 - Slash and question mark don't work in guests anymore to VirtualBox 1.5 - keyboard issues with Linux hosts

comment:30 Changed 6 years ago by alexis

VirtualBox 1.5.2, both x86 and AMD64, spanish keyboard on both host and guest:

  • host debian 4.0 x86, guest windows XP, it works ok
  • host ubuntu 7.10 AMD64, guest windows 2000 and XP, fails with backslash and some driacriticals ( works, but ' or " no)
  • host windows xp 32 bits, guest, windows xp, it works ok

comment:31 Changed 6 years ago by blux

Running Windows XP on a Linux host, pressing alt-tab when not in full screen mode brings up Windows' application switcher. When in fullscreen mode, I get Metacity's application switcher instead. I've enabled mouse integration and auto capture keyboard.

comment:32 Changed 6 years ago by AHt

I have similar problem, with diacritical characters, for VirtualBox 1.5.2 :

  • host Mandriva 2008.1 Cooker with a Generic 105-key (Intl) with a french layout;
  • guest Windows XP SP2 (french layout).

comment:33 follow-up: ↓ 34 Changed 6 years ago by tautrimas

Host: Sabayon Linux 3.4f Guest: Win XP

My custom layout is completely wrong. All letters changes positions and some characters are not possible to print at all. *Unless*, you choose default "us" layout – then guest's custom layout works perfectly.

Layout is here:  http://lekp.info (at the very bottom).

comment:34 in reply to: ↑ 33 Changed 6 years ago by tautrimas

Sorry for duplication. My VBox version is 1.5.2

comment:35 follow-up: ↓ 37 Changed 6 years ago by will3b

I have a similar problem with some french characters (like ê, î, ô, ï, ö, etc) with virtualbox 1.5.2 on a gentoo host, with a win XP guest. Tested with a generic 105 keys keyboard, and with a dell latitude 630 laptop keyboard. FYI, these characters are printed using a 2-keys combination, first pressing a special accent key, then the letter. And in my windows guest, it seems like the "accent" key is not detected at all (it's the same physical key for both accents, normal for î and shift for ï).

You can see the french layout  here

The key I'm missing is between 'p' and '$'.

comment:36 Changed 6 years ago by gyako

Same problem here. Accent keys(áéíóúã and so on) are not detected. Using Portuguese(Brazilian ABNT2) as Input Language in Windows XP on a Arch Linux host.

Virtualbox 1.5.2

comment:37 in reply to: ↑ 35 Changed 6 years ago by will3b

Replying to will3b:

I have a similar problem with some french characters (like ê, î, ô, ï, ö, etc) with virtualbox 1.5.2 on a gentoo host, with a win XP guest. Tested with a generic 105 keys keyboard, and with a dell latitude 630 laptop keyboard. FYI, these characters are printed using a 2-keys combination, first pressing a special accent key, then the letter. And in my windows guest, it seems like the "accent" key is not detected at all (it's the same physical key for both accents, normal for î and shift for ï).

You can see the french layout  here

The key I'm missing is between 'p' and '$'.

just a quick note to say the problem is still there in 1.5.4

comment:38 follow-up: ↓ 39 Changed 6 years ago by michael

Sorry for not responding to this ticket for a while. A quick summary of what has been happening follows. Since VirtualBox 1.5 is the stable branch, I have been rather conservative up until now in applying fixes. In the mean time, since the code in 1.5 (which is basically taken from Wine) seems to have some major problems, I have done a major rewrite for version 1.6., which has been through reasonable testing now. However, due to the number of people who are still having problems with keyboard layouts in 1.5, I have backported the new code and it will be available in 1.5.6 if we release it. However if anyone would like to test the new code I am happy to send a copy of the keyboard library which will work with 1.5.4 for you to try out. Just add a comment here, mentioning whether you need an i386 or an AMD64 version, and I will send it to the e-mail address registered in the ticket database.

comment:39 in reply to: ↑ 38 Changed 6 years ago by RenanBirck

I need an i386 version of the new library... Please send it to me.

comment:40 Changed 6 years ago by gyako

Please, send me the i386 version too.

comment:41 follow-up: ↓ 42 Changed 6 years ago by cunyat

same problem with ES layout and using VB 1.5.4 and Windows xp under Ubuntu 7.10 on fresh install cunyat@portatil:~$ uname -a Linux portatil 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

comment:42 in reply to: ↑ 41 Changed 6 years ago by cunyat

Replying to cunyat:

same problem with ES layout and using VB 1.5.4 and Windows xp under Ubuntu 7.10 on fresh install cunyat@portatil:~$ uname -a Linux portatil 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

If you can send me it I will be pleased to try it out if it works :>

comment:43 Changed 6 years ago by michael

I have uploaded an updated keyboard driver for 32bit hosts. Just replace the VBoxKeyboard.so file in your VirtualBox installation with the one in the archive, backing up your old one just in case. Use at your own risk of course, and please add confirmations that it works (or doesn't!) for a particular host layout to this ticket. Please note that this handler will not work with custom keyboard layouts, as it relies on a table of known layouts. This will hopefully be fixed by the time VirtualBox 1.6 is released.

comment:44 Changed 6 years ago by cunyat

now working! thanks!

comment:45 follow-up: ↓ 46 Changed 6 years ago by okekarito

Same "accents problems" with 1.5.4 and ES keyboard. I have tried to download the updated keyboard handler, but perhaps the file is corrupted or something similar because I can not open it. Michael, could send it to me and I will try if it works? Many thanks.

comment:46 in reply to: ↑ 45 Changed 6 years ago by michael

Replying to okekarito:

Same "accents problems" with 1.5.4 and ES keyboard. I have tried to download the updated keyboard handler, but perhaps the file is corrupted or something similar because I can not open it. Michael, could send it to me and I will try if it works? Many thanks.

okekarito: I'm afraid that your e-mail address is not in the database. Could you sent a mail to michael at innotek dot de? I will send you the handler by way of reply. I assume that you need a handler library for a 32bit host.

comment:47 Changed 6 years ago by AHt

Hello,

I am interesting in an i386 copy of the keyboard library.

With all my thanks for your work,

host Mandriva 2008.1 Cooker with a Generic 105-key (Intl) and french layout; - guest Windows XP SP2 (french layout)

comment:48 follow-up: ↓ 49 Changed 6 years ago by frank

You can simply download the attached file. But make sure to unpack it twice after downloading, this trac system somehow compresses the .tgz archive with gzip again.

comment:49 in reply to: ↑ 48 Changed 6 years ago by michael

Replying to frank:

You can simply download the attached file. But make sure to unpack it twice after downloading, this trac system somehow compresses the .tgz archive with gzip again.

Thanks for pointing that out Frank. It is fixed now.

comment:50 Changed 6 years ago by AHt

Sorry, but, for me, the file VBoxKeyboard-1.5.4-i386.tar.gz is not 210.0 kB but 49,6.

comment:51 Changed 6 years ago by gyako

"Sorry, but, for me, the file VBoxKeyboard-1.5.4-i386.tar.gz is not 210.0 kB but 49,6."

Same thing here.

comment:52 Changed 6 years ago by michael

That is just trac being silly. It is reporting the un-gzip-ed size of the tar.gz archive. The archive is about 50K compressed, and 210K if you un-gzip it without untar-ing it. If you ignore the size, can you download and extract it?

comment:53 follow-up: ↓ 54 Changed 6 years ago by okekarito

Michael, thank you very much for sending the updated keyboard handler. Once I replace the old file with this new one something curious happens, VirtualBox doesn't start. Replacing again with the old handler makes the application run again. I have done it severel times (even rebooting) and is always the same. Any idea? (Running Virtual-Box 1.5.4 in Gutsy)

comment:54 in reply to: ↑ 53 ; follow-up: ↓ 55 Changed 6 years ago by michael

Replying to okekarito:

Michael, thank you very much for sending the updated keyboard handler. Once I replace the old file with this new one something curious happens, VirtualBox doesn't start. Replacing again with the old handler makes the application run again. I have done it severel times (even rebooting) and is always the same. Any idea? (Running Virtual-Box 1.5.4 in Gutsy)

A couple of questions to try to see what is going wrong:

  • Are you definitely running the 32bit Linux host package and not the 64bit Linux host one?
  • If you start VirtualBox from the command line with the new handler library in place (using the command "VirtualBox -startvm <your VM name>" does it print any text onto the terminal?
  • When you try to start a virtual machine, does it create a log file? (You can see the log file using the machine selector window, or in the folder "~/.VirtualBox/Machines/<your VM name>/Logs". Check the start time shown in the log file to see if the log is new or old).

comment:55 in reply to: ↑ 54 ; follow-up: ↓ 56 Changed 6 years ago by okekarito

Replying to michael:

Replying to okekarito:

Michael, thank you very much for sending the updated keyboard handler. Once I replace the old file with this new one something curious happens, VirtualBox doesn't start. Replacing again with the old handler makes the application run again. I have done it severel times (even rebooting) and is always the same. Any idea? (Running Virtual-Box 1.5.4 in Gutsy)

A couple of questions to try to see what is going wrong:

  • Are you definitely running the 32bit Linux host package and not the 64bit Linux host one?
  • If you start VirtualBox from the command line with the new handler library in place (using the command "VirtualBox -startvm <your VM name>" does it print any text onto the terminal?
  • When you try to start a virtual machine, does it create a log file? (You can see the log file using the machine selector window, or in the folder "~/.VirtualBox/Machines/<your VM name>/Logs". Check the start time shown in the log file to see if the log is new or old).

1) Yes I'm running 32 bit Linux host package (1.5.4-27034 Gutsy) 2) When trying to start from command with the new keyboard handler this error is printed:

/usr/lib/virtualbox/VirtualBox: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

3) When trying to start VirtualBox with the new handler it does not create any new log, in fact, it does not happens anything (I can not even start VirtualBox, not just the virtual machine)

comment:56 in reply to: ↑ 55 ; follow-up: ↓ 57 Changed 6 years ago by michael

Replying to okekarito:

2) When trying to start from command with the new keyboard handler this error is printed:

/usr/lib/virtualbox/VirtualBox: error while loading shared libraries: libstdc++.so.5:

Number 2) was the reason. Please install libstdc++.so.5 on your host system. On Ubuntu Gutsy the package is called libstdc++5.

comment:57 in reply to: ↑ 56 Changed 6 years ago by okekarito

Replying to michael:

Replying to okekarito:

2) When trying to start from command with the new keyboard handler this error is printed:

/usr/lib/virtualbox/VirtualBox: error while loading shared libraries: libstdc++.so.5:

Number 2) was the reason. Please install libstdc++.so.5 on your host system. On Ubuntu Gutsy the package is called libstdc++5.

Thank you. Now VirtualBox works and keyboard problem is fixed. Thank you again.

comment:58 follow-up: ↓ 59 Changed 6 years ago by AHt

Replying to okekarito:

Michael, thank you very much for sending the updated keyboard handler. Once I replace the old file with this new one something curious happens, VirtualBox doesn't start. Replacing again with the old handler makes the application run again. I have done it severel times (even rebooting) and is always the same. Any idea? (Running Virtual-Box 1.5.4 in Gutsy)

Size is OK, Thanks

Same problem than okekarito after installing new library (Virtual-Box 1.5.4 / Mandriva 2008.1 Cooker)

  • Are you definitely running the 32bit Linux host package and not the 64bit Linux host one?

YES

  • If you start VirtualBox from the command line with the new handler library in place (using the command "VirtualBox -startvm <your VM name>" does it print any text onto the terminal?

The output is : VirtualBox -startvm XpPro Qt WARNING: X Error: BadWindow (invalid Window parameter) 3

Major opcode: 3 Minor opcode: 0 Resource id: 0x38001d8

Erreur de segmentation

  • When you try to start a virtual machine, does it create a log file? (You can see the log file using the machine selector window, or in the folder "~/.VirtualBox/Machines/<your VM name>/Logs". Check the start time shown in the log file to see if the log is new or old).

No log generated.

libstdc++5 is installed, and the version of QT is 3.3.8.

comment:59 in reply to: ↑ 58 Changed 6 years ago by michael

Replying to AHt:

The output is : VirtualBox -startvm XpPro Qt WARNING: X Error: BadWindow (invalid Window parameter) 3

Major opcode: 3 Minor opcode: 0 Resource id: 0x38001d8

Erreur de segmentation

I will send you a build produced on a more recent system by private mail which you can try out.

comment:60 Changed 6 years ago by AHt

Ok, Thanks.

comment:61 Changed 6 years ago by will3b

Hi,

thanks for the work, the fix works great for me. Just a quick note while I'm at it, for my fr layout, I had to change my variant from latin9 to latin9_nodeadkeys to get my accents to work in my windows xp vm.

comment:62 Changed 6 years ago by RenanBirck

Unfortunately, for me it doesn't work. Still no deadkeys on my Windows 2000 VM. The host OS is ArchLinux.

The file is there.

[22:54:54] [renan@crimson:/opt/VirtualBox-1.5.4]$ ls -la VBoxKeyboard.so -rwxr-xr-x 1 root root 71707 2008-01-25 18:32 VBoxKeyboard.so

I'm using the closed-source edition, not the OSE version, if that matters.

comment:63 follow-up: ↓ 69 Changed 6 years ago by michael

For those who still have problems with unrecognised layouts with the new driver, I will post a small programme to print out information about your current layout. Please run it (while the host layout which doesn't work is active) and add the output to this ticket, along with the name of the layout in X11. Note that we can't support custom layouts yet.

Please also make sure that it is a problem with the host layout and not just a problem of guest setup - to do this, try switching your host to the US keyboard layout and start VirtualBox again. If this fixes the problem then it is probably a host problem, and you should post your layout.

Changed 6 years ago by michael

Programme to print out the current host layout, built for recent 32bit hosts

Changed 6 years ago by michael

The source code of the previous binary

comment:64 follow-up: ↓ 65 Changed 6 years ago by gyako

Switching the host layout to us keyboard fixes the problem and guest layout(Brazilian ABNT2) works perfectly.

The output: "'\"","1!","2@","3#","4$","5%","6W","7&","8*","9(","0)","-_","=+", "qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","QP","[{", "aA","sS","dD","fF","gG","hH","jJ","kK","lL","\xe7\xc7","SR","]}", "zZ","xX","cC","vV","bB","nN","mM",",<",".>",";:","\|","/?","\x0\x0"

Layout: br-abnt2

Changed 6 years ago by michael

Updated keyboard handler library for VirtualBox 1.5.4, 32bit Linux hosts

Changed 6 years ago by michael

Source code for the keyboard library

comment:65 in reply to: ↑ 64 Changed 6 years ago by michael

Replying to gyako:

Switching the host layout to us keyboard fixes the problem and guest layout(Brazilian ABNT2) works perfectly.

gyako, please try the new library which I have attached.

comment:66 follow-up: ↓ 67 Changed 6 years ago by msma

us layout works. Output of write_xkb (layout cz_qwerty): ";X","+1","\xec""2","\xb9""3","\xe8""4","\xf8""5","\xbe""6","\xfd""7","\xe1""8","\xed""9","\xe9""0","=%","QZ", "qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","\xfa/",")(", "aA","sS","dD","fF","gG","hH","jJ","kK","lL","\xf9\"","\xa7!","W'", "zZ","xX","cC","vV","bB","nN","mM",",?",".:","-_","\|","\x0\x0","\x0\x0"

comment:67 in reply to: ↑ 66 ; follow-up: ↓ 68 Changed 6 years ago by michael

Replying to msma:

us layout works. Output of write_xkb (layout cz_qwerty):

Did you try the updated handler which I attached? The layout which you supplied is identical to the one in the library.

comment:68 in reply to: ↑ 67 Changed 6 years ago by msma

Replying to michael:

Replying to msma:

Did you try the updated handler which I attached? The layout which you supplied is identical to the one in the library.

Yes, I did it. I tried another layouts ("de", "sk") and some keys didn't work too. However, If I set multiple layout "us,cz" and switch to "cz", keys work. If I set layout "cz,us", keys don't work.

comment:69 in reply to: ↑ 63 ; follow-up: ↓ 70 Changed 6 years ago by eager2no

Replying to michael:

For those who still have problems with unrecognised layouts with the new driver, I will post a small programme to print out information about your current layout. Please run it (while the host layout which doesn't work is active) and add the output to this ticket, along with the name of the layout in X11. Note that we can't support custom layouts yet.

Please also make sure that it is a problem with the host layout and not just a problem of guest setup - to do this, try switching your host to the US keyboard layout and start VirtualBox again. If this fixes the problem then it is probably a host problem, and you should post your layout.

Same problem here with a Hungarian keyboard:

Everything seems fine, except odiaeresis (o double acute) and udiaeresis (u double acute) are dead.

Running PCLinuxOS, VirtualBox 1.5.4 (non-OSE). Keyboard: Generic 105-key (Intl) PC Keyboard layout Hungary,hu. Also tried various other settings, but no change in behavior. write_xkb output: "0\xa7","1'","2\"","3+","4!","5%","6/","7=","8(","9)","\xf6\xd6","\xfc\xdc","\xf3\xd3", "qQ","wW","eE","rR","tT","zZ","uU","iI","oO","pP","\xf5\xd5","\xfa\xda", "aA","sS","dD","fF","gG","hH","jJ","kK","lL","\xe9\xc9","\xe1\xc1","\xfb\xdb", "yY","xX","cC","vV","bB","nN","mM",",?",".:","-_","\xed\xcd","\x0\x0","\x0\x0"

If there is a new VBoxKeyboard.so, I'd love to try it.

comment:70 in reply to: ↑ 69 Changed 6 years ago by eager2no

Replying to eager2no:

Replying to michael:

For those who still have problems with unrecognised layouts with the new driver, I will post a small programme to print out information about your current layout. Please run it (while the host layout which doesn't work is active) and add the output to this ticket, along with the name of the layout in X11. Note that we can't support custom layouts yet.

Please also make sure that it is a problem with the host layout and not just a problem of guest setup - to do this, try switching your host to the US keyboard layout and start VirtualBox again. If this fixes the problem then it is probably a host problem, and you should post your layout.

Same problem here with a Hungarian keyboard:

Everything seems fine, except odiaeresis (o double acute) and udiaeresis (u double acute) are dead.

Running PCLinuxOS, VirtualBox 1.5.4 (non-OSE). Keyboard: Generic 105-key (Intl) PC Keyboard layout Hungary,hu. Also tried various other settings, but no change in behavior. write_xkb output: "0\xa7","1'","2\"","3+","4!","5%","6/","7=","8(","9)","\xf6\xd6","\xfc\xdc","\xf3\xd3", "qQ","wW","eE","rR","tT","zZ","uU","iI","oO","pP","\xf5\xd5","\xfa\xda", "aA","sS","dD","fF","gG","hH","jJ","kK","lL","\xe9\xc9","\xe1\xc1","\xfb\xdb", "yY","xX","cC","vV","bB","nN","mM",",?",".:","-_","\xed\xcd","\x0\x0","\x0\x0"

If there is a new VBoxKeyboard.so, I'd love to try it.

Please disregard, I didn't read michael's instructions carefully enough. Switching to US solved the issue.

comment:71 follow-up: ↓ 72 Changed 6 years ago by michael

eager2no: if you use the updated keyboard library attached to this ticket, does your keyboard work when the host is set to your normal (i.e. Hungarian) layout?

comment:72 in reply to: ↑ 71 ; follow-up: ↓ 73 Changed 6 years ago by eager2no

Replying to michael:

eager2no: if you use the updated keyboard library attached to this ticket, does your keyboard work when the host is set to your normal (i.e. Hungarian) layout?

Sorry, should have mentioned: I first tried the updated library, which caused VirtualBox to not start up at all. (There was an eror message, but it was weeks ago and I foreget whait it was...) Currently, a 105-key (Intl) Hungarian keyboard is specified, Hung. and US English layout active (in this order). PCLinuxOS now treats all characters properly (except in the console, where the two problem characterss are dead although 'nodeadkeys' is spcified).

comment:73 in reply to: ↑ 72 Changed 6 years ago by eager2no

Replying to eager2no:

Replying to michael:

eager2no: if you use the updated keyboard library attached to this ticket, does your keyboard work when the host is set to your normal (i.e. Hungarian) layout?

Sorry, should have mentioned: I first tried the updated library, which caused VirtualBox to not start up at all. (There was an eror message, but it was weeks ago and I foreget whait it was...) Currently, a 105-key (Intl) Hungarian keyboard is specified, Hung. and US English layout active (in this order). PCLinuxOS now treats all characters properly (except in the console, where the two problem characterss are dead although 'nodeadkeys' is spcified).

Just checked: Accents OK in PCLinuxOS, BUT still dead keys in VirtualBox on the two special Hungarian characters. Would be happy to try a new libaray version if available.

comment:74 Changed 6 years ago by michael

eager2no: would you be able to check what the error message was that you got with the attached library?

comment:75 follow-ups: ↓ 76 ↓ 77 ↓ 88 Changed 6 years ago by michael

msma: are you using any special keyboard set up? I.e. connecting over ssh or something similar? Is your keyboard a normal PC one? I am still rather stuck as to what could be going wrong, as when I set cz_qwerty layout on my test machine it is recognised perfectly.

comment:76 in reply to: ↑ 75 Changed 6 years ago by eager2no

Replying to michael:

msma: are you using any special keyboard set up? I.e. connecting over ssh or something similar? Is your keyboard a normal PC one? I am still rather stuck as to what could be going wrong, as when I set cz_qwerty layout on my test machine it is recognised perfectly.

I can do so in about 4-5 hours (pressing job in progress). Additional info: <Ctrl> <left arrow> and <Ctrl> <right arrow> (used in Word and other programs for moving the cursor to the prev/next word) don't work either.

comment:77 in reply to: ↑ 75 Changed 6 years ago by eager2no

Replying to michael:

msma: are you using any special keyboard set up? I.e. connecting over ssh or something similar? Is your keyboard a normal PC one? I am still rather stuck as to what could be going wrong, as when I set cz_qwerty layout on my test machine it is recognised perfectly.

Starting from the GUI it just puts 'Aborted' under the machine's name, nothing else happens.

Starting from the command line the output is:

VirtualBox -startvm XPtest2

Qt WARNING: X Error: BadWindow (invalid Window parameter) 3

Major opcode: 3

Minor opcode: 0

Resource id: 0x26001d8Segmentation fault

comment:78 Changed 6 years ago by michael

ATh, eager2no: I have investigated the segmentation fault that you see based on AHt's core dump, and unfortunately it seems that my new library triggers a known bug in VirtualBox on your systems (I was able to reproduce it myself on a Mandriva 2008 system). So I'm afraid that you will have to wait for VirtualBox 1.5.6, where this bug is fixed to try out the new library.

comment:79 follow-up: ↓ 80 Changed 6 years ago by michael

Sorry, AHt. Actually if you like, I can mail you both a version of the main VirtualBox executable file with this bug fixed. I built it on Mandriva 2008, but it should also work on a recent PCLinuxOS.

comment:80 in reply to: ↑ 79 ; follow-up: ↓ 81 Changed 6 years ago by eager2no

Replying to michael:

Sorry, AHt. Actually if you like, I can mail you both a version of the main VirtualBox executable file with this bug fixed. I built it on Mandriva 2008, but it should also work on a recent PCLinuxOS.

michael, I'd be more than happy to try it. I sorely need my virtual XP to work.

comment:81 in reply to: ↑ 80 Changed 6 years ago by AHt

Replying to eager2no:

Replying to michael:

Sorry, AHt. Actually if you like, I can mail you both a version of the main VirtualBox executable file with this bug fixed. I built it on Mandriva 2008, but it should also work on a recent PCLinuxOS.

michael, I'd be more than happy to try it. I sorely need my virtual XP to work.

Thanks a lot for all your work. I will wait for for VirtualBox 1.5.6.

comment:82 follow-up: ↓ 83 Changed 6 years ago by michael

eager2no: I have sent you the updated VirtualBox executable by private mail. As usual, please back up the original first in case of problems.

comment:83 in reply to: ↑ 82 Changed 6 years ago by eager2no

Replying to michael:

eager2no: I have sent you the updated VirtualBox executable by private mail. As usual, please back up the original first in case of problems.

Thank you, received. Doesn't do anything from the GUI. Produces 'floating point exception' error from the command line. Keyboard handler library _not_ your new one. Should I try that with the new executable?

comment:84 Changed 6 years ago by luisfcosta

I am also having problems with the punctuation keys. I am running the snv version and I hve a Portuguese keyboard. here is the output of the program:

"\|","1!","2\"","3#","4$","5%","6&","7/","8(","9)","0=","'?","\xab\xbb", "qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","+*","QP", "aA","sS","dD","fF","gG","hH","jJ","kK","lL","\xe7\xc7","\xba\xaa","SR", "zZ","xX","cC","vV","bB","nN","mM",",;",".:","-_","<>","\x0\x0","\x0\x0"

comment:85 follow-ups: ↓ 86 ↓ 87 Changed 6 years ago by michael

Anyone with keyboard problems who is running the svn development version might want to upgrade to the latest revision. I have added some keyboard logging code to try to see better what is going wrong. If you set the environment variable "LOG_KB_PRIMARY" before starting the virtual machine you will get informational output on the console, and if you set "LOG_KB_SECONDARY" you will get more detailed information. For example:

$ LOG_KB_SECONDARY=yes VirtualBox -startvm <your VM name>

will start the VM "your VM name" and print out information about the keyboard detection. Just attach what it prints out here.

By the way, are those of you still having problems using any special types of keyboards? 101-key, 104-key, whatever? I am still unable to reproduce the issues whatever I set my host layout to.

comment:86 in reply to: ↑ 85 Changed 6 years ago by eager2no

Replying to michael:

Anyone with keyboard problems who is running the svn development version might want to upgrade to the latest revision. I have added some keyboard logging code to try to see better what is going wrong. If you set the environment variable "LOG_KB_PRIMARY" before starting the virtual machine you will get informational output on the console, and if you set "LOG_KB_SECONDARY" you will get more detailed information. For example:

$ LOG_KB_SECONDARY=yes VirtualBox -startvm <your VM name>

will start the VM "your VM name" and print out information about the keyboard detection. Just attach what it prints out here.

By the way, are those of you still having problems using any special types of keyboards? 101-key, 104-key, whatever? I am still unable to reproduce the issues whatever I set my host layout to.

Mine is identified as a 'Generic 105-key (Intl) PC' model, layout is Hungarian, layout variant is Default.

comment:87 in reply to: ↑ 85 Changed 6 years ago by eager2no

Replying to michael:

Anyone with keyboard problems who is running the svn development version might want to upgrade to the latest revision. I have added some keyboard logging code to try to see better what is going wrong. If you set the environment variable "LOG_KB_PRIMARY" before starting the virtual machine you will get informational output on the console, and if you set "LOG_KB_SECONDARY" you will get more detailed information. For example:

$ LOG_KB_SECONDARY=yes VirtualBox -startvm <your VM name>

will start the VM "your VM name" and print out information about the keyboard detection. Just attach what it prints out here.

By the way, are those of you still having problems using any special types of keyboards? 101-key, 104-key, whatever? I am still unable to reproduce the issues whatever I set my host layout to.

OOps, forgot ot add something: Mine is identified as a 'Generic 105-key (Intl) PC' model, layout is Hungarian, layout variant is Default. Make is Chicony, model KB-9810

comment:88 in reply to: ↑ 75 ; follow-up: ↓ 89 Changed 6 years ago by msma

Replying to michael:

msma: are you using any special keyboard set up? I.e. connecting over ssh or something similar? Is your keyboard a normal PC one? I am still rather stuck as to what could be going wrong, as when I set cz_qwerty layout on my test machine it is recognised perfectly.

This is my configuration:

Section "InputDevice"

Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyborard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cz,us"
Option "XkbVariant" "qwerty,"
Option "XkbOptions" "grp:shift_toggle,grp_led:scroll"

EndSection

I set same configuration in Ubuntu and everything works fine. It seems to be a problem only in my Gentoo workstation. I don't have idea what is wrong.

comment:89 in reply to: ↑ 88 Changed 6 years ago by michael

Replying to msma:

I set same configuration in Ubuntu and everything works fine. It seems to be a problem only in my Gentoo workstation. I don't have idea what is wrong.

Thanks for that last bit of information. I will see if I can reproduce the problem using different host systems.

comment:90 follow-up: ↓ 91 Changed 6 years ago by frank

VirtualBox 1.5.6 was released with some keyboard-related changes. You might want to try this version.

comment:91 in reply to: ↑ 90 Changed 6 years ago by eager2no

Replying to frank:

VirtualBox 1.5.6 was released with some keyboard-related changes. You might want to try this version.

Sorry, didn't see Reply button for Frank's announcement: "VirtualBox 1.5.6 was released with some keyboard-related changes. You might want to try this version." THANK YOU VERY MUCH!!! Hungarian accents (odiaeresis, udiaeresis) working fine in the XP guest under v1.5.6. YIPPPEEEEEEEEEEEE!!!! <literally jumping with joy>

comment:92 follow-up: ↓ 93 Changed 6 years ago by sadsam

Version 1.5.6 still presents the same problem on Ubuntu 7.10 Portuguese keyboard.

"\|","1!","2\"","3#","4$","5%","6&","7/","8(","9)","0=","'?","\xab\xbb", "qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","+*","QP", "aA","sS","dD","fF","gG","hH","jJ","kK","lL","\xe7\xc7","\xba\xaa","SR", "zZ","xX","cC","vV","bB","nN","mM",",;",".:","-_","<>","\x0\x0","\x0\x0"

comment:93 in reply to: ↑ 92 Changed 6 years ago by michael

Replying to sadsam:

Version 1.5.6 still presents the same problem on Ubuntu 7.10 Portuguese keyboard.

sadsam, can you try starting your VM with

$ LOG_KB_SECONDARY=yes VirtualBox -startvm <your VM name>

and posting the output? Thanks.

comment:94 follow-up: ↓ 95 Changed 6 years ago by AHt

Same problem for me with 1.5.6 on Mandriva 2008.1 (cooker).

Here is the (long) output for LOG_KB_SECONDARY=yes VirtualBox -startvm <your VM name> :

Attempting to match against "U.S. English" Matches=28, seq=25 Attempting to match against "U.S. English, International (with dead keys)" Matches=28, seq=25 Attempting to match against "U.S. English, Dvorak" Matches=28, seq=15 Attempting to match against "U.S. English, Left handed Dvorak" Matches=28, seq=15 Attempting to match against "U.S. English, Right handed Dvorak" Matches=28, seq=15 Attempting to match against "U.S. English, Classic Dvorak" Matches=28, seq=15 Attempting to match against "U.S. English, Russian phonetic" Matches=1, seq=1 Attempting to match against "Afghanistan" Matches=1, seq=1 Attempting to match against "Afghanistan, Pashto" Matches=1, seq=1 Attempting to match against "Afghanistan, Southern Uzbek" Matches=1, seq=1 Attempting to match against "Arabic" Matches=2, seq=2 Attempting to match against "Arabic, azerty" Matches=13, seq=13 Attempting to match against "Arabic, azerty/digits" Matches=3, seq=3 Attempting to match against "Arabic, digits" Matches=2, seq=2 Attempting to match against "Arabic, Buckwalter" Matches=2, seq=2 Attempting to match against "Albania" Matches=28, seq=23 Attempting to match against "Armenia" Matches=0, seq=0 Attempting to match against "Armenia, Phonetic" Matches=0, seq=0 Attempting to match against "Armenia, Eastern" Matches=1, seq=1 Attempting to match against "Armenia, Western" Matches=1, seq=1 Attempting to match against "Armenia, Alternative Eastern" Matches=1, seq=1 Attempting to match against "Azerbaijan" Matches=26, seq=23 Attempting to match against "Azerbaijan, Cyrillic" Matches=1, seq=1 Attempting to match against "Belarus" Matches=0, seq=0 Attempting to match against "Belarus, Winkeys" Matches=0, seq=0 Attempting to match against "Belgium" Matches=42, seq=41 Attempting to match against "Belgium, Eliminate dead keys" Matches=41, seq=40 Attempting to match against "Belgium, Sun dead keys" Matches=41, seq=40 Attempting to match against "Bangladesh" Matches=2, seq=2 Attempting to match against "Bangladesh, Probhat" Matches=1, seq=1 Attempting to match against "India" Matches=1, seq=1 Attempting to match against "India, Bengali" Matches=2, seq=2 Attempting to match against "India, Gujarati" Matches=2, seq=2 Attempting to match against "India, Gurmukhi" Matches=2, seq=2 Attempting to match against "India, Kannada" Matches=1, seq=1 Attempting to match against "India, Malayalam" Matches=1, seq=1 Attempting to match against "India, Oriya" Matches=1, seq=1 Attempting to match against "India, Tamil Unicode" Matches=1, seq=1 Attempting to match against "India, Tamil TAB Typewriter" Matches=1, seq=1 Attempting to match against "India, Tamil TSCII Typewriter" Matches=1, seq=1 Attempting to match against "India, Tamil" Matches=1, seq=1 Attempting to match against "India, Telugu" Matches=1, seq=1 Attempting to match against "India, Urdu" Matches=2, seq=2 Attempting to match against "Bosnia and Herzegovina" Matches=27, seq=22 Attempting to match against "Bosnia and Herzegovina, Use Bosnian digraphs" Matches=23, seq=20 Attempting to match against "Bosnia and Herzegovina, US keyboard with Bosnian digraphs" Matches=23, seq=21 Attempting to match against "Bosnia and Herzegovina, US keyboard with Bosnian letters" Matches=27, seq=24 Attempting to match against "Brazil" Matches=27, seq=24 Attempting to match against "Brazil, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Brazil, Alternative 102" Matches=28, seq=25 Attempting to match against "Brazil, Alternative 102, Eliminate dead keys" Matches=28, seq=25 Attempting to match against "Bulgaria" Matches=1, seq=1 Attempting to match against "Bulgaria, Phonetic" Matches=2, seq=2 Attempting to match against "Myanmar" Matches=1, seq=1 Attempting to match against "Canada" Matches=28, seq=24 Attempting to match against "Canada, French Dvorak" Matches=28, seq=15 Attempting to match against "Canada, French (legacy)" Matches=27, seq=24 Attempting to match against "Canada, Multilingual" Matches=28, seq=25 Attempting to match against "Canada, Multilingual, second part" Matches=0, seq=0 Attempting to match against "Canada, Inuktitut" Matches=0, seq=0 Attempting to match against "Congo, Democratic Republic of the" Matches=28, seq=26 Attempting to match against "Czechia" Matches=27, seq=22 Attempting to match against "Czechia, With <|> key" Matches=27, seq=22 Attempting to match against "Czechia, qwerty" Matches=27, seq=24 Attempting to match against "Czechia, qwerty, extended Backslash" Matches=27, seq=24 Attempting to match against "Denmark" Matches=27, seq=24 Attempting to match against "Denmark, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Netherlands" Matches=27, seq=23 Attempting to match against "Bhutan" Matches=0, seq=0 Attempting to match against "Estonia" Matches=27, seq=24 Attempting to match against "Estonia, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Iran" Matches=2, seq=2 Attempting to match against "Iran, Kurdish, Latin Q" Matches=27, seq=24 Attempting to match against "Iran, Kurdish, (F)" Matches=27, seq=15 Attempting to match against "Iran, Kurdish, Arabic-Latin" Matches=2, seq=2 Attempting to match against "Faroe Islands" Matches=27, seq=24 Attempting to match against "Finland" Matches=27, seq=24 Attempting to match against "Finland, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Finland, Northern Saami" Matches=23, seq=21 Attempting to match against "Finland, Macintosh" Matches=27, seq=24 Attempting to match against "France" Matches=48, seq=47 Attempting to match against "France, Eliminate dead keys" Matches=47, seq=46 Attempting to match against "France, Sun dead keys" Matches=47, seq=46 Attempting to match against "France, Alternative" Matches=47, seq=47 Attempting to match against "France, Alternative, eliminate dead keys" Matches=46, seq=46 Attempting to match against "France, Alternative, Sun dead keys" Matches=46, seq=46 Attempting to match against "France, (Legacy) Alternative" Matches=47, seq=47 Attempting to match against "France, (Legacy) Alternative, eliminate dead keys" Matches=46, seq=46 Attempting to match against "France, (Legacy) Alternative, Sun dead keys" Matches=46, seq=46 Attempting to match against "France, Dvorak" Matches=26, seq=14 Attempting to match against "France, Macintosh" Matches=42, seq=41 Attempting to match against "Ghana" Matches=28, seq=25 Attempting to match against "Ghana, Akan" Matches=26, seq=24 Attempting to match against "Ghana, Ewe" Matches=25, seq=23 Attempting to match against "Ghana, Fula" Matches=24, seq=22 Attempting to match against "Ghana, Ga" Matches=25, seq=23 Attempting to match against "Georgia" Matches=0, seq=0 Attempting to match against "Georgia, Russian" Matches=0, seq=0 Attempting to match against "Germany" Matches=27, seq=22 Attempting to match against "Germany, Dead acute" Matches=27, seq=22 Attempting to match against "Germany, Dead grave acute" Matches=27, seq=22 Attempting to match against "Germany, Eliminate dead keys" Matches=27, seq=22 Attempting to match against "Germany, Eliminate dead keys, acute replaced by apostrophe" Matches=27, seq=22 Attempting to match against "Germany, Dvorak" Matches=27, seq=12 Attempting to match against "Germany, Neostyle" Matches=27, seq=15 Attempting to match against "Greece" Matches=1, seq=1 Attempting to match against "Greece, Eliminate dead keys" Matches=1, seq=1 Attempting to match against "Greece, Polytonic" Matches=1, seq=1 Attempting to match against "Hungary" Matches=27, seq=22 Attempting to match against "Hungary, qwerty" Matches=28, seq=25 Attempting to match against "Hungary, 101/qwertz/comma/Dead keys" Matches=28, seq=23 Attempting to match against "Hungary, 102/qwerty/comma/Dead keys" Matches=27, seq=24 Attempting to match against "Iceland" Matches=27, seq=24 Attempting to match against "Iceland, Sun dead keys" Matches=27, seq=24 Attempting to match against "Iceland, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Iceland, Macintosh" Matches=27, seq=24 Attempting to match against "Israel" Matches=2, seq=2 Attempting to match against "Israel, lyx" Matches=1, seq=1 Attempting to match against "Israel, Phonetic" Matches=2, seq=2 Attempting to match against "Italy" Matches=27, seq=24 Attempting to match against "Italy, Macintosh" Matches=33, seq=31 Attempting to match against "Japan" Matches=27, seq=24 Attempting to match against "Kyrgyzstan" Matches=1, seq=1 Attempting to match against "Cambodia" Matches=1, seq=1 Attempting to match against "Kazakhstan" Matches=1, seq=1 Attempting to match against "Kazakhstan, Russian with Kazakh" Matches=2, seq=2 Attempting to match against "Kazakhstan, Kazakh with Russian" Matches=2, seq=2 Attempting to match against "Laos" Matches=1, seq=1 Attempting to match against "Latin American" Matches=27, seq=24 Attempting to match against "Latin American, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Latin American, Sun dead keys" Matches=27, seq=24 Attempting to match against "Lithuania" Matches=26, seq=23 Attempting to match against "Lithuania, Standard" Matches=27, seq=22 Attempting to match against "Lithuania, US keyboard with Lithuanian letters" Matches=27, seq=24 Attempting to match against "Lithuania, IBM (LST 1205-92)" Matches=24, seq=22 Attempting to match against "Latvia, Apostrophe (') variant" Matches=28, seq=25 Attempting to match against "Latvia, Tilde (~) variant" Matches=28, seq=25 Attempting to match against "Latvia, F-letter (F) variant" Matches=27, seq=24 Attempting to match against "Macedonia" Matches=2, seq=2 Attempting to match against "Macedonia, Eliminate dead keys" Matches=2, seq=2 Attempting to match against "Malta" Matches=27, seq=24 Attempting to match against "Malta, Maltese keyboard with US layout" Matches=27, seq=24 Attempting to match against "Mongolia" Matches=1, seq=1 Attempting to match against "Norway" Matches=27, seq=24 Attempting to match against "Norway, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Norway, Dvorak" Matches=27, seq=14 Attempting to match against "Norway, Northern Saami" Matches=23, seq=21 Attempting to match against "Norway, Macintosh" Matches=27, seq=24 Attempting to match against "Norway, Macintosh, eliminate dead keys" Matches=27, seq=24 Attempting to match against "Poland, qwertz" Matches=27, seq=22 Attempting to match against "Portugal" Matches=27, seq=24 Attempting to match against "Portugal, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Portugal, Sun dead keys" Matches=27, seq=24 Attempting to match against "Portugal, Macintosh" Matches=27, seq=24 Attempting to match against "Portugal, Macintosh, eliminate dead keys" Matches=27, seq=24 Attempting to match against "Portugal, Macintosh, Sun dead keys" Matches=27, seq=24 Attempting to match against "Romania" Matches=27, seq=24 Attempting to match against "Romania, Standard" Matches=27, seq=24 Attempting to match against "Romania, Standard (Commabelow)" Matches=27, seq=24 Attempting to match against "Romania, Winkeys" Matches=27, seq=22 Attempting to match against "Russia" Matches=1, seq=1 Attempting to match against "Russia, Phonetic" Matches=0, seq=0 Attempting to match against "Russia, Typewriter" Matches=2, seq=2 Attempting to match against "Russia, Tatar" Matches=1, seq=1 Attempting to match against "Russia, Ossetian" Matches=1, seq=1 Attempting to match against "Russia, Ossetian, Winkeys" Matches=1, seq=1 Attempting to match against "Serbia and Montenegro" Matches=1, seq=1 Attempting to match against "Serbia and Montenegro, Z and ZHE swapped" Matches=1, seq=1 Attempting to match against "Slovakia" Matches=27, seq=22 Attempting to match against "Slovakia, Extended Backslash" Matches=27, seq=22 Attempting to match against "Slovakia, qwerty" Matches=27, seq=24 Attempting to match against "Slovakia, qwerty, extended Backslash" Matches=27, seq=24 Attempting to match against "Spain" Matches=27, seq=24 Attempting to match against "Spain, Eliminate dead keys" Matches=27, seq=24 Attempting to match against "Spain, Sun dead keys" Matches=27, seq=24 Attempting to match against "Spain, Dvorak" Matches=27, seq=15 Attempting to match against "Sweden, Dvorak" Matches=27, seq=14 Attempting to match against "Sweden, Russian phonetic" Matches=0, seq=0 Attempting to match against "Switzerland" Matches=28, seq=23 Attempting to match against "Switzerland, German, eliminate dead keys" Matches=28, seq=23 Attempting to match against "Switzerland, German, Sun dead keys" Matches=28, seq=23 Attempting to match against "Switzerland, French" Matches=28, seq=23 Attempting to match against "Switzerland, French, eliminate dead keys" Matches=28, seq=23 Attempting to match against "Switzerland, French, Sun dead keys" Matches=28, seq=23 Attempting to match against "Syria, Syriac" Matches=2, seq=2 Attempting to match against "Syria, Syriac phonetic" Matches=3, seq=2 Attempting to match against "Tajikistan" Matches=1, seq=1 Attempting to match against "Sri Lanka" Matches=2, seq=2 Attempting to match against "Thailand" Matches=1, seq=1 Attempting to match against "Thailand, TIS-820.2538" Matches=1, seq=1 Attempting to match against "Thailand, Pattachote" Matches=2, seq=2 Attempting to match against "Turkey" Matches=26, seq=23 Attempting to match against "Turkey, (F)" Matches=26, seq=15 Attempting to match against "Ukraine" Matches=1, seq=1 Attempting to match against "Ukraine, Phonetic" Matches=1, seq=1 Attempting to match against "Ukraine, Typewriter" Matches=2, seq=2 Attempting to match against "Ukraine, Winkeys" Matches=1, seq=1 Attempting to match against "Ukraine, Standard RSTU" Matches=1, seq=1 Attempting to match against "Ukraine, Standard RSTU on Russian layout" Matches=1, seq=1 Attempting to match against "United Kingdom" Matches=27, seq=24 Attempting to match against "United Kingdom, International (with dead keys)" Matches=27, seq=24 Attempting to match against "United Kingdom, Dvorak" Matches=27, seq=14 Attempting to match against "United Kingdom, Macintosh" Matches=28, seq=25 Attempting to match against "Uzbekistan" Matches=0, seq=0 Attempting to match against "Vietnam" Matches=27, seq=24 Attempting to match against "Japan (PC-98xx Series)" Matches=27, seq=24 Attempting to match against "Ireland, Ogham" Matches=0, seq=0 Attempting to match against "Ireland, Ogham IS434" Matches=27, seq=24 Attempting to match against "Maldives" Matches=1, seq=1 Attempting to match against "Esperanto" Matches=24, seq=22 Attempting to match against "Nepal" Matches=1, seq=1 Attempting to match against "Nigeria" Matches=28, seq=25 Attempting to match against "Nigeria, Igbo" Matches=26, seq=24 Attempting to match against "Nigeria, Yoruba" Matches=25, seq=23 Attempting to match against "Nigeria, Hausa" Matches=24, seq=22 Detected layout is "France", matches=48, seq=47 Finished mapping keyboard, matches=48, entries=48

comment:95 in reply to: ↑ 94 ; follow-up: ↓ 96 Changed 6 years ago by michael

Replying to AHt:

Same problem for me with 1.5.6 on Mandriva 2008.1 (cooker).

AHt: All of that output looked correct. I wonder whether I am not looking for the problem in the wrong place. Could you try the following?

1) Set your host keyboard layout to US.

2) Start a virtual machine and check that the keyboard is working alright.

3) Change your host keyboard layout to FR while the virtual machine is still running and see if it continues to work alright.

Thanks!

comment:96 in reply to: ↑ 95 ; follow-up: ↓ 97 Changed 6 years ago by AHt

Replying to michael:

Replying to AHt:

Same problem for me with 1.5.6 on Mandriva 2008.1 (cooker).

AHt: All of that output looked correct. I wonder whether I am not looking for the problem in the wrong place. Could you try the following?

1) Set your host keyboard layout to US.

Done

2) Start a virtual machine and check that the keyboard is working alright.

the keyboard is working alright

3) Change your host keyboard layout to FR while the virtual machine is still running and see if it continues to work alright.

Doesn't work no more

Thanks!

comment:97 in reply to: ↑ 96 Changed 6 years ago by michael

3) Change your host keyboard layout to FR while the virtual machine is still running and see if it continues to work alright.

Doesn't work no more

Just to be sure again, you changed the keymap while the virtual machine was running? In that case, can you do the following test for me?

1) Set the host keymap to US.

2) Start the "xev" application in a console window.

3) Select the xev application, press one of the keys which is causing problems and paste the text which appears (just the text related to the keypress) in this ticket.

4) Switch to FR keymap and do the same, pressing the same key (you don't need to restart xev).

Thanks.

comment:99 Changed 6 years ago by sadsam

Sorry for the delay in replying...

ssantos@7SANTOSS2:~$ LOG_KB_SECONDARY=yes VirtualBox -startvm "Microsoft Windows XP" Attempting to match against "U.S. English" Matches=33, seq=32 Attempting to match against "U.S. English, International (with dead keys)" Matches=33, seq=32 Attempting to match against "U.S. English, Dvorak" Matches=33, seq=20 Attempting to match against "U.S. English, Left handed Dvorak" Matches=33, seq=16 Attempting to match against "U.S. English, Right handed Dvorak" Matches=33, seq=18 Attempting to match against "U.S. English, Classic Dvorak" Matches=33, seq=18 Attempting to match against "U.S. English, Russian phonetic" Matches=6, seq=6 Attempting to match against "Afghanistan" Matches=2, seq=2 Attempting to match against "Afghanistan, Pashto" Matches=2, seq=2 Attempting to match against "Afghanistan, Southern Uzbek" Matches=2, seq=2 Attempting to match against "Arabic" Matches=6, seq=6 Attempting to match against "Arabic, azerty" Matches=1, seq=1 Attempting to match against "Arabic, azerty/digits" Matches=1, seq=1 Attempting to match against "Arabic, digits" Matches=2, seq=2 Attempting to match against "Arabic, Buckwalter" Matches=1, seq=1 Attempting to match against "Albania" Matches=37, seq=33 Attempting to match against "Armenia" Matches=0, seq=0 Attempting to match against "Armenia, Phonetic" Matches=0, seq=0 Attempting to match against "Armenia, Eastern" Matches=1, seq=1 Attempting to match against "Armenia, Western" Matches=1, seq=1 Attempting to match against "Armenia, Alternative Eastern" Matches=1, seq=1 Attempting to match against "Azerbaijan" Matches=33, seq=31 Attempting to match against "Azerbaijan, Cyrillic" Matches=5, seq=4 Attempting to match against "Belarus" Matches=2, seq=2 Attempting to match against "Belarus, Winkeys" Matches=3, seq=3 Attempting to match against "Belgium" Matches=28, seq=23 Attempting to match against "Belgium, Eliminate dead keys" Matches=28, seq=23 Attempting to match against "Belgium, Sun dead keys" Matches=28, seq=23 Attempting to match against "Bangladesh" Matches=3, seq=2 Attempting to match against "Bangladesh, Probhat" Matches=1, seq=1 Attempting to match against "India" Matches=1, seq=1 Attempting to match against "India, Bengali" Matches=3, seq=3 Attempting to match against "India, Gujarati" Matches=2, seq=2 Attempting to match against "India, Gurmukhi" Matches=3, seq=3 Attempting to match against "India, Kannada" Matches=2, seq=2 Attempting to match against "India, Malayalam" Matches=2, seq=2 Attempting to match against "India, Oriya" Matches=2, seq=2 Attempting to match against "India, Tamil Unicode" Matches=2, seq=2 Attempting to match against "India, Tamil TAB Typewriter" Matches=2, seq=2 Attempting to match against "India, Tamil TSCII Typewriter" Matches=2, seq=2 Attempting to match against "India, Tamil" Matches=2, seq=2 Attempting to match against "India, Telugu" Matches=2, seq=2 Attempting to match against "India, Urdu" Matches=3, seq=2 Attempting to match against "Bosnia and Herzegovina" Matches=42, seq=39 Attempting to match against "Bosnia and Herzegovina, Use Bosnian digraphs" Matches=38, seq=36 Attempting to match against "Bosnia and Herzegovina, US keyboard with Bosnian digraphs" Matches=38, seq=37 Attempting to match against "Bosnia and Herzegovina, US keyboard with Bosnian letters" Matches=42, seq=41 Attempting to match against "Brazil" Matches=35, seq=33 Attempting to match against "Brazil, Eliminate dead keys" Matches=33, seq=31 Attempting to match against "Brazil, Alternative 102" Matches=35, seq=34 Attempting to match against "Brazil, Alternative 102, Eliminate dead keys" Matches=33, seq=32 Attempting to match against "Bulgaria" Matches=3, seq=3 Attempting to match against "Bulgaria, Phonetic" Matches=6, seq=6 Attempting to match against "Myanmar" Matches=1, seq=1 Attempting to match against "Canada" Matches=33, seq=31 Attempting to match against "Canada, French Dvorak" Matches=33, seq=19 Attempting to match against "Canada, French (legacy)" Matches=33, seq=31 Attempting to match against "Canada, Multilingual" Matches=32, seq=30 Attempting to match against "Canada, Multilingual, second part" Matches=0, seq=0 Attempting to match against "Canada, Inuktitut" Matches=2, seq=1 Attempting to match against "Congo, Democratic Republic of the" Matches=28, seq=23 Attempting to match against "Czechia" Matches=29, seq=27 Attempting to match against "Czechia, With <|> key" Matches=29, seq=27 Attempting to match against "Czechia, qwerty" Matches=29, seq=28 Attempting to match against "Czechia, qwerty, extended Backslash" Matches=29, seq=29 Attempting to match against "Denmark" Matches=40, seq=39 Attempting to match against "Denmark, Eliminate dead keys" Matches=39, seq=39 Attempting to match against "Netherlands" Matches=37, seq=36 Attempting to match against "Bhutan" Matches=0, seq=0 Attempting to match against "Estonia" Matches=40, seq=39 Attempting to match against "Estonia, Eliminate dead keys" Matches=39, seq=39 Attempting to match against "Iran" Matches=2, seq=2 Attempting to match against "Iran, Kurdish, Latin Q" Matches=39, seq=35 Attempting to match against "Iran, Kurdish, (F)" Matches=41, seq=28 Attempting to match against "Iran, Kurdish, Arabic-Latin" Matches=7, seq=7 Attempting to match against "Faroe Islands" Matches=40, seq=39 Attempting to match against "Finland" Matches=40, seq=39 Attempting to match against "Finland, Eliminate dead keys" Matches=39, seq=39 Attempting to match against "Finland, Northern Saami" Matches=36, seq=36 Attempting to match against "Finland, Macintosh" Matches=39, seq=39 Attempting to match against "France" Matches=27, seq=23 Attempting to match against "France, Eliminate dead keys" Matches=27, seq=23 Attempting to match against "France, Sun dead keys" Matches=27, seq=23 Attempting to match against "France, Alternative" Matches=27, seq=23 Attempting to match against "France, Alternative, eliminate dead keys" Matches=27, seq=23 Attempting to match against "France, Alternative, Sun dead keys" Matches=27, seq=23 Attempting to match against "France, (Legacy) Alternative" Matches=27, seq=23 Attempting to match against "France, (Legacy) Alternative, eliminate dead keys" Matches=27, seq=23 Attempting to match against "France, (Legacy) Alternative, Sun dead keys" Matches=27, seq=23 Attempting to match against "France, Dvorak" Matches=28, seq=15 Attempting to match against "France, Macintosh" Matches=28, seq=23 Attempting to match against "Ghana" Matches=32, seq=31 Attempting to match against "Ghana, Akan" Matches=30, seq=29 Attempting to match against "Ghana, Ewe" Matches=29, seq=28 Attempting to match against "Ghana, Fula" Matches=30, seq=28 Attempting to match against "Ghana, Ga" Matches=29, seq=28 Attempting to match against "Georgia" Matches=2, seq=1 Attempting to match against "Georgia, Russian" Matches=5, seq=3 Attempting to match against "Germany" Matches=41, seq=38 Attempting to match against "Germany, Dead acute" Matches=40, seq=38 Attempting to match against "Germany, Dead grave acute" Matches=41, seq=38 Attempting to match against "Germany, Eliminate dead keys" Matches=40, seq=38 Attempting to match against "Germany, Eliminate dead keys, acute replaced by apostrophe" Matches=40, seq=38 Attempting to match against "Germany, Dvorak" Matches=40, seq=24 Attempting to match against "Germany, Neostyle" Matches=41, seq=29 Attempting to match against "Greece" Matches=8, seq=6 Attempting to match against "Greece, Eliminate dead keys" Matches=8, seq=6 Attempting to match against "Greece, Polytonic" Matches=8, seq=6 Attempting to match against "Hungary" Matches=32, seq=30 Attempting to match against "Hungary, qwerty" Matches=33, seq=33 Attempting to match against "Hungary, 101/qwertz/comma/Dead keys" Matches=33, seq=31 Attempting to match against "Hungary, 102/qwerty/comma/Dead keys" Matches=32, seq=32 Attempting to match against "Iceland" Matches=42, seq=39 Attempting to match against "Iceland, Sun dead keys" Matches=40, seq=40 Attempting to match against "Iceland, Eliminate dead keys" Matches=40, seq=40 Attempting to match against "Iceland, Macintosh" Matches=42, seq=39 Attempting to match against "Israel" Matches=7, seq=7 Attempting to match against "Israel, lyx" Matches=3, seq=3 Attempting to match against "Israel, Phonetic" Matches=2, seq=2 Attempting to match against "Italy" Matches=42, seq=41 Attempting to match against "Italy, Macintosh" Matches=28, seq=24 Attempting to match against "Japan" Matches=36, seq=35 Attempting to match against "Kyrgyzstan" Matches=4, seq=4 Attempting to match against "Cambodia" Matches=2, seq=2 Attempting to match against "Kazakhstan" Matches=3, seq=3 Attempting to match against "Kazakhstan, Russian with Kazakh" Matches=5, seq=5 Attempting to match against "Kazakhstan, Kazakh with Russian" Matches=5, seq=5 Attempting to match against "Laos" Matches=1, seq=1 Attempting to match against "Latin American" Matches=42, seq=42 Attempting to match against "Latin American, Eliminate dead keys" Matches=43, seq=43 Attempting to match against "Latin American, Sun dead keys" Matches=42, seq=42 Attempting to match against "Lithuania" Matches=29, seq=27 Attempting to match against "Lithuania, Standard" Matches=28, seq=23 Attempting to match against "Lithuania, US keyboard with Lithuanian letters" Matches=32, seq=31 Attempting to match against "Lithuania, IBM (LST 1205-92)" Matches=26, seq=25 Attempting to match against "Latvia, Apostrophe (') variant" Matches=33, seq=32 Attempting to match against "Latvia, Tilde (~) variant" Matches=33, seq=32 Attempting to match against "Latvia, F-letter (F) variant" Matches=32, seq=31 Attempting to match against "Macedonia" Matches=7, seq=6 Attempting to match against "Macedonia, Eliminate dead keys" Matches=7, seq=6 Attempting to match against "Malta" Matches=31, seq=30 Attempting to match against "Malta, Maltese keyboard with US layout" Matches=30, seq=29 Attempting to match against "Mongolia" Matches=0, seq=0 Attempting to match against "Norway" Matches=39, seq=39 Attempting to match against "Norway, Eliminate dead keys" Matches=39, seq=39 Attempting to match against "Norway, Dvorak" Matches=40, seq=27 Attempting to match against "Norway, Northern Saami" Matches=36, seq=36 Attempting to match against "Norway, Macintosh" Matches=39, seq=39 Attempting to match against "Norway, Macintosh, eliminate dead keys" Matches=39, seq=39 Attempting to match against "Poland, qwertz" Matches=40, seq=38 Attempting to match against "Portugal" Matches=48, seq=47 Attempting to match against "Portugal, Eliminate dead keys" Matches=46, seq=45 Attempting to match against "Portugal, Sun dead keys" Matches=46, seq=45 Attempting to match against "Portugal, Macintosh" Matches=47, seq=44 Attempting to match against "Portugal, Macintosh, eliminate dead keys" Matches=45, seq=43 Attempting to match against "Portugal, Macintosh, Sun dead keys" Matches=45, seq=43 Attempting to match against "Romania" Matches=32, seq=31 Attempting to match against "Romania, Standard" Matches=35, seq=33 Attempting to match against "Romania, Standard (Commabelow)" Matches=34, seq=32 Attempting to match against "Romania, Winkeys" Matches=40, seq=38 Attempting to match against "Russia" Matches=5, seq=4 Attempting to match against "Russia, Phonetic" Matches=1, seq=1 Attempting to match against "Russia, Typewriter" Matches=1, seq=1 Attempting to match against "Russia, Tatar" Matches=4, seq=4 Attempting to match against "Russia, Ossetian" Matches=5, seq=4 Attempting to match against "Russia, Ossetian, Winkeys" Matches=4, seq=4 Attempting to match against "Serbia and Montenegro" Matches=17, seq=16 Attempting to match against "Serbia and Montenegro, Z and ZHE swapped" Matches=17, seq=16 Attempting to match against "Slovakia" Matches=29, seq=27 Attempting to match against "Slovakia, Extended Backslash" Matches=29, seq=27 Attempting to match against "Slovakia, qwerty" Matches=29, seq=28 Attempting to match against "Slovakia, qwerty, extended Backslash" Matches=29, seq=29 Attempting to match against "Spain" Matches=43, seq=42 Attempting to match against "Spain, Eliminate dead keys" Matches=43, seq=42 Attempting to match against "Spain, Sun dead keys" Matches=43, seq=42 Attempting to match against "Spain, Dvorak" Matches=43, seq=29 Attempting to match against "Sweden, Dvorak" Matches=40, seq=25 Attempting to match against "Sweden, Russian phonetic" Matches=12, seq=12 Attempting to match against "Switzerland" Matches=38, seq=36 Attempting to match against "Switzerland, German, eliminate dead keys" Matches=38, seq=36 Attempting to match against "Switzerland, German, Sun dead keys" Matches=38, seq=36 Attempting to match against "Switzerland, French" Matches=38, seq=36 Attempting to match against "Switzerland, French, eliminate dead keys" Matches=38, seq=36 Attempting to match against "Switzerland, French, Sun dead keys" Matches=38, seq=36 Attempting to match against "Syria, Syriac" Matches=4, seq=4 Attempting to match against "Syria, Syriac phonetic" Matches=3, seq=3 Attempting to match against "Tajikistan" Matches=4, seq=3 Attempting to match against "Sri Lanka" Matches=7, seq=6 Attempting to match against "Thailand" Matches=1, seq=1 Attempting to match against "Thailand, TIS-820.2538" Matches=1, seq=1 Attempting to match against "Thailand, Pattachote" Matches=1, seq=1 Attempting to match against "Turkey" Matches=38, seq=35 Attempting to match against "Turkey, (F)" Matches=40, seq=27 Attempting to match against "Ukraine" Matches=4, seq=4 Attempting to match against "Ukraine, Phonetic" Matches=4, seq=4 Attempting to match against "Ukraine, Typewriter" Matches=1, seq=1 Attempting to match against "Ukraine, Winkeys" Matches=4, seq=4 Attempting to match against "Ukraine, Standard RSTU" Matches=2, seq=2 Attempting to match against "Ukraine, Standard RSTU on Russian layout" Matches=2, seq=2 Attempting to match against "United Kingdom" Matches=32, seq=30 Attempting to match against "United Kingdom, International (with dead keys)" Matches=31, seq=29 Attempting to match against "United Kingdom, Dvorak" Matches=32, seq=18 Attempting to match against "United Kingdom, Macintosh" Matches=32, seq=31 Attempting to match against "Uzbekistan" Matches=5, seq=5 Attempting to match against "Vietnam" Matches=29, seq=28 Attempting to match against "Japan (PC-98xx Series)" Matches=36, seq=36 Attempting to match against "Ireland, Ogham" Matches=0, seq=0 Attempting to match against "Ireland, Ogham IS434" Matches=32, seq=30 Attempting to match against "Maldives" Matches=6, seq=5 Attempting to match against "Esperanto" Matches=32, seq=31 Attempting to match against "Nepal" Matches=1, seq=1 Attempting to match against "Nigeria" Matches=32, seq=31 Attempting to match against "Nigeria, Igbo" Matches=30, seq=29 Attempting to match against "Nigeria, Yoruba" Matches=29, seq=28 Attempting to match against "Nigeria, Hausa" Matches=30, seq=28 Detected layout is "Portugal", matches=48, seq=47 Finished mapping keyboard, matches=48, entries=48

comment:100 Changed 6 years ago by michael

I can reproduce the issue with the French keyboard on VirtualBox 1.5.6 and a Mandriva host. Very convenient that version 1.5.6 will run inside another VM...

comment:101 follow-up: ↓ 103 Changed 6 years ago by gentoobox

I'm running 1.5.2 (OSE) on gentoo (32-bit). I had the same problem with the special characters in Turkish(q) kb layout. Just replacing vboxkeyboard.so for the 1.5.4 fixed the problem & nothing broken AFAICS. Just reporting.

comment:102 Changed 6 years ago by doucettom

I got the same problem on Linux Host, Mandriva 2008, VirtualBox 1.5.6, French Canadian Keyboard mapping on Linux host and French (Canada) - French (Canada)in XP guest, the é is working but àèêîôûâç aren't working at all, and I'm not sure but I think it's since I installed Guest addition.

Thanks a lot !

comment:103 in reply to: ↑ 101 Changed 6 years ago by gentoobox

Replying to gentoobox:

I'm running 1.5.2 (OSE) on gentoo (32-bit). I had the same problem with the special characters in Turkish(q) kb layout. Just replacing vboxkeyboard.so for the 1.5.4 fixed the problem & nothing broken AFAICS. Just reporting.

Although this thread seems to be dead now, reporting for those who are interested. I updated Vbox to 1.5.4 OSE (from 1.5.2) and the problem came back. For sure the keyboard driver is different from the file you can download here. I replaced it with the one provided above and this fixed the problem again & everything works fine.

comment:104 Changed 6 years ago by michael

There is still some work scheduled here, although it is currently not at the top of my priority list.

comment:105 Changed 6 years ago by michael

As far as I can see, Mandriva 2008 and Gentoo apply patches to Qt 3.3.8 which cause problems with VirtualBox's keyboard handling. The patches contain code similar to what Qt 4 contains, but the development version of VirtualBox works well with Qt4, so it is possible that Mandriva and Gentoo made a mistake when they applied their patches.

comment:106 Changed 6 years ago by STaRMaN

Hello. I'm having this problem in VirtualBox 1.5.6 included in (k)ubuntu hardy (HOST). I can't use accents in áéíóú , neither `, ,ü. Spanish (Spain) keyboard, in laptop. In KDE all this characters are working ok.

All systems configured in spanish (Other ubuntu, Win XP, Win Vista...), and in all i have this problem.

I tried with Virtualbox / Virtualbox OSE, installing guest tools, without them... but not positive result .

I put the output of LOG_KB_SECUNDARY=yes. If you need more info, tell me.

LOG_KB_SECONDARY=yes VirtualBox -startvm "Windows XP Pro" Attempting to match against "U.S. English" Matches=31, seq=30 Attempting to match against "U.S. English, International (with dead keys)" Matches=32, seq=31 Attempting to match against "U.S. English, Dvorak" Matches=31, seq=18 Attempting to match against "U.S. English, Left handed Dvorak" Matches=31, seq=16 Attempting to match against "U.S. English, Right handed Dvorak" Matches=31, seq=17 Attempting to match against "U.S. English, Classic Dvorak" Matches=31, seq=17 Attempting to match against "U.S. English, Russian phonetic" Matches=5, seq=5 Attempting to match against "Afghanistan" Matches=1, seq=1 Attempting to match against "Afghanistan, Pashto" Matches=1, seq=1 Attempting to match against "Afghanistan, Southern Uzbek" Matches=1, seq=1 Attempting to match against "Arabic" Matches=5, seq=5 Attempting to match against "Arabic, azerty" Matches=1, seq=1 Attempting to match against "Arabic, azerty/digits" Matches=1, seq=1 Attempting to match against "Arabic, digits" Matches=2, seq=2 Attempting to match against "Arabic, Buckwalter" Matches=1, seq=1 Attempting to match against "Albania" Matches=35, seq=31 Attempting to match against "Armenia" Matches=0, seq=0 Attempting to match against "Armenia, Phonetic" Matches=0, seq=0 Attempting to match against "Armenia, Eastern" Matches=1, seq=1 Attempting to match against "Armenia, Western" Matches=1, seq=1 Attempting to match against "Armenia, Alternative Eastern" Matches=1, seq=1 Attempting to match against "Azerbaijan" Matches=31, seq=28 Attempting to match against "Azerbaijan, Cyrillic" Matches=3, seq=3 Attempting to match against "Belarus" Matches=2, seq=2 Attempting to match against "Belarus, Winkeys" Matches=2, seq=2 Attempting to match against "Belgium" Matches=28, seq=23 Attempting to match against "Belgium, Eliminate dead keys" Matches=28, seq=23 Attempting to match against "Belgium, Sun dead keys" Matches=28, seq=23 Attempting to match against "Bangladesh" Matches=2, seq=2 Attempting to match against "Bangladesh, Probhat" Matches=1, seq=1 Attempting to match against "India" Matches=1, seq=1 Attempting to match against "India, Bengali" Matches=2, seq=2 Attempting to match against "India, Gujarati" Matches=2, seq=2 Attempting to match against "India, Gurmukhi" Matches=2, seq=2 Attempting to match against "India, Kannada" Matches=1, seq=1 Attempting to match against "India, Malayalam" Matches=1, seq=1 Attempting to match against "India, Oriya" Matches=1, seq=1 Attempting to match against "India, Tamil Unicode" Matches=1, seq=1 Attempting to match against "India, Tamil TAB Typewriter" Matches=1, seq=1 Attempting to match against "India, Tamil TSCII Typewriter" Matches=1, seq=1 Attempting to match against "India, Tamil" Matches=1, seq=1 Attempting to match against "India, Telugu" Matches=1, seq=1 Attempting to match against "India, Urdu" Matches=2, seq=2 Attempting to match against "Bosnia and Herzegovina" Matches=41, seq=38 Attempting to match against "Bosnia and Herzegovina, Use Bosnian digraphs" Matches=37, seq=35 Attempting to match against "Bosnia and Herzegovina, US keyboard with Bosnian digraphs" Matches=37, seq=36 Attempting to match against "Bosnia and Herzegovina, US keyboard with Bosnian letters" Matches=41, seq=40 Attempting to match against "Brazil" Matches=31, seq=30 Attempting to match against "Brazil, Eliminate dead keys" Matches=31, seq=30 Attempting to match against "Brazil, Alternative 102" Matches=32, seq=31 Attempting to match against "Brazil, Alternative 102, Eliminate dead keys" Matches=32, seq=31 Attempting to match against "Bulgaria" Matches=3, seq=3 Attempting to match against "Bulgaria, Phonetic" Matches=5, seq=5 Attempting to match against "Myanmar" Matches=1, seq=1 Attempting to match against "Canada" Matches=32, seq=31 Attempting to match against "Canada, French Dvorak" Matches=32, seq=19 Attempting to match against "Canada, French (legacy)" Matches=32, seq=30 Attempting to match against "Canada, Multilingual" Matches=31, seq=29 Attempting to match against "Canada, Multilingual, second part" Matches=0, seq=0 Attempting to match against "Canada, Inuktitut" Matches=1, seq=1 Attempting to match against "Congo, Democratic Republic of the" Matches=27, seq=23 Attempting to match against "Czechia" Matches=28, seq=26 Attempting to match against "Czechia, With <|> key" Matches=28, seq=26 Attempting to match against "Czechia, qwerty" Matches=28, seq=28 Attempting to match against "Czechia, qwerty, extended Backslash" Matches=28, seq=28 Attempting to match against "Denmark" Matches=38, seq=38 Attempting to match against "Denmark, Eliminate dead keys" Matches=38, seq=38 Attempting to match against "Netherlands" Matches=36, seq=35 Attempting to match against "Bhutan" Matches=0, seq=0 Attempting to match against "Estonia" Matches=38, seq=38 Attempting to match against "Estonia, Eliminate dead keys" Matches=38, seq=38 Attempting to match against "Iran" Matches=1, seq=1 Attempting to match against "Iran, Kurdish, Latin Q" Matches=39, seq=35 Attempting to match against "Iran, Kurdish, (F)" Matches=41, seq=29 Attempting to match against "Iran, Kurdish, Arabic-Latin" Matches=5, seq=5 Attempting to match against "Faroe Islands" Matches=38, seq=38 Attempting to match against "Finland" Matches=38, seq=38 Attempting to match against "Finland, Eliminate dead keys" Matches=38, seq=38 Attempting to match against "Finland, Northern Saami" Matches=35, seq=35 Attempting to match against "Finland, Macintosh" Matches=38, seq=38 Attempting to match against "France" Matches=27, seq=23 Attempting to match against "France, Eliminate dead keys" Matches=27, seq=23 Attempting to match against "France, Sun dead keys" Matches=27, seq=23 Attempting to match against "France, Alternative" Matches=27, seq=23 Attempting to match against "France, Alternative, eliminate dead keys" Matches=27, seq=23 Attempting to match against "France, Alternative, Sun dead keys" Matches=27, seq=23 Attempting to match against "France, (Legacy) Alternative" Matches=27, seq=23 Attempting to match against "France, (Legacy) Alternative, eliminate dead keys" Matches=27, seq=23 Attempting to match against "France, (Legacy) Alternative, Sun dead keys" Matches=27, seq=23 Attempting to match against "France, Dvorak" Matches=28, seq=15 Attempting to match against "France, Macintosh" Matches=28, seq=23 Attempting to match against "Ghana" Matches=30, seq=29 Attempting to match against "Ghana, Akan" Matches=28, seq=27 Attempting to match against "Ghana, Ewe" Matches=27, seq=26 Attempting to match against "Ghana, Fula" Matches=29, seq=26 Attempting to match against "Ghana, Ga" Matches=27, seq=26 Attempting to match against "Georgia" Matches=0, seq=0 Attempting to match against "Georgia, Russian" Matches=2, seq=2 Attempting to match against "Germany" Matches=40, seq=38 Attempting to match against "Germany, Dead acute" Matches=40, seq=38 Attempting to match against "Germany, Dead grave acute" Matches=40, seq=38 Attempting to match against "Germany, Eliminate dead keys" Matches=40, seq=38 Attempting to match against "Germany, Eliminate dead keys, acute replaced by apostrophe" Matches=40, seq=38 Attempting to match against "Germany, Dvorak" Matches=40, seq=24 Attempting to match against "Germany, Neostyle" Matches=40, seq=29 Attempting to match against "Greece" Matches=7, seq=5 Attempting to match against "Greece, Eliminate dead keys" Matches=6, seq=5 Attempting to match against "Greece, Polytonic" Matches=6, seq=5 Attempting to match against "Hungary" Matches=32, seq=30 Attempting to match against "Hungary, qwerty" Matches=33, seq=33 Attempting to match against "Hungary, 101/qwertz/comma/Dead keys" Matches=33, seq=31 Attempting to match against "Hungary, 102/qwerty/comma/Dead keys" Matches=32, seq=32 Attempting to match against "Iceland" Matches=41, seq=38 Attempting to match against "Iceland, Sun dead keys" Matches=39, seq=39 Attempting to match against "Iceland, Eliminate dead keys" Matches=39, seq=39 Attempting to match against "Iceland, Macintosh" Matches=42, seq=39 Attempting to match against "Israel" Matches=6, seq=6 Attempting to match against "Israel, lyx" Matches=2, seq=2 Attempting to match against "Israel, Phonetic" Matches=1, seq=1 Attempting to match against "Italy" Matches=41, seq=41 Attempting to match against "Italy, Macintosh" Matches=28, seq=24 Attempting to match against "Japan" Matches=34, seq=34 Attempting to match against "Kyrgyzstan" Matches=4, seq=4 Attempting to match against "Cambodia" Matches=1, seq=1 Attempting to match against "Kazakhstan" Matches=3, seq=3 Attempting to match against "Kazakhstan, Russian with Kazakh" Matches=5, seq=5 Attempting to match against "Kazakhstan, Kazakh with Russian" Matches=5, seq=5 Attempting to match against "Laos" Matches=1, seq=1 Attempting to match against "Latin American" Matches=43, seq=42 Attempting to match against "Latin American, Eliminate dead keys" Matches=43, seq=43 Attempting to match against "Latin American, Sun dead keys" Matches=42, seq=42 Attempting to match against "Lithuania" Matches=28, seq=26 Attempting to match against "Lithuania, Standard" Matches=28, seq=23 Attempting to match against "Lithuania, US keyboard with Lithuanian letters" Matches=30, seq=29 Attempting to match against "Lithuania, IBM (LST 1205-92)" Matches=25, seq=24 Attempting to match against "Latvia, Apostrophe (') variant" Matches=31, seq=30 Attempting to match against "Latvia, Tilde (~) variant" Matches=31, seq=30 Attempting to match against "Latvia, F-letter (F) variant" Matches=30, seq=29 Attempting to match against "Macedonia" Matches=7, seq=6 Attempting to match against "Macedonia, Eliminate dead keys" Matches=7, seq=6 Attempting to match against "Malta" Matches=30, seq=29 Attempting to match against "Malta, Maltese keyboard with US layout" Matches=30, seq=29 Attempting to match against "Mongolia" Matches=0, seq=0 Attempting to match against "Norway" Matches=38, seq=38 Attempting to match against "Norway, Eliminate dead keys" Matches=38, seq=38 Attempting to match against "Norway, Dvorak" Matches=39, seq=26 Attempting to match against "Norway, Northern Saami" Matches=35, seq=35 Attempting to match against "Norway, Macintosh" Matches=38, seq=38 Attempting to match against "Norway, Macintosh, eliminate dead keys" Matches=38, seq=38 Attempting to match against "Poland, qwertz" Matches=39, seq=37 Attempting to match against "Portugal" Matches=43, seq=42 Attempting to match against "Portugal, Eliminate dead keys" Matches=43, seq=42 Attempting to match against "Portugal, Sun dead keys" Matches=43, seq=42 Attempting to match against "Portugal, Macintosh" Matches=43, seq=41 Attempting to match against "Portugal, Macintosh, eliminate dead keys" Matches=43, seq=41 Attempting to match against "Portugal, Macintosh, Sun dead keys" Matches=43, seq=41 Attempting to match against "Romania" Matches=30, seq=29 Attempting to match against "Romania, Standard" Matches=33, seq=32 Attempting to match against "Romania, Standard (Commabelow)" Matches=32, seq=31 Attempting to match against "Romania, Winkeys" Matches=39, seq=37 Attempting to match against "Russia" Matches=3, seq=3 Attempting to match against "Russia, Phonetic" Matches=1, seq=1 Attempting to match against "Russia, Typewriter" Matches=1, seq=1 Attempting to match against "Russia, Tatar" Matches=4, seq=4 Attempting to match against "Russia, Ossetian" Matches=3, seq=3 Attempting to match against "Russia, Ossetian, Winkeys" Matches=4, seq=4 Attempting to match against "Serbia and Montenegro" Matches=15, seq=15 Attempting to match against "Serbia and Montenegro, Z and ZHE swapped" Matches=15, seq=15 Attempting to match against "Slovakia" Matches=28, seq=26 Attempting to match against "Slovakia, Extended Backslash" Matches=28, seq=26 Attempting to match against "Slovakia, qwerty" Matches=28, seq=28 Attempting to match against "Slovakia, qwerty, extended Backslash" Matches=28, seq=28 Attempting to match against "Spain" Matches=48, seq=47 Attempting to match against "Spain, Eliminate dead keys" Matches=46, seq=45 Attempting to match against "Spain, Sun dead keys" Matches=46, seq=45 Attempting to match against "Spain, Dvorak" Matches=48, seq=33 Attempting to match against "Sweden, Dvorak" Matches=38, seq=24 Attempting to match against "Sweden, Russian phonetic" Matches=11, seq=11 Attempting to match against "Switzerland" Matches=38, seq=36 Attempting to match against "Switzerland, German, eliminate dead keys" Matches=38, seq=36 Attempting to match against "Switzerland, German, Sun dead keys" Matches=38, seq=36 Attempting to match against "Switzerland, French" Matches=38, seq=36 Attempting to match against "Switzerland, French, eliminate dead keys" Matches=38, seq=36 Attempting to match against "Switzerland, French, Sun dead keys" Matches=38, seq=36 Attempting to match against "Syria, Syriac" Matches=4, seq=4 Attempting to match against "Syria, Syriac phonetic" Matches=3, seq=3 Attempting to match against "Tajikistan" Matches=3, seq=3 Attempting to match against "Sri Lanka" Matches=5, seq=5 Attempting to match against "Thailand" Matches=1, seq=1 Attempting to match against "Thailand, TIS-820.2538" Matches=1, seq=1 Attempting to match against "Thailand, Pattachote" Matches=1, seq=1 Attempting to match against "Turkey" Matches=38, seq=35 Attempting to match against "Turkey, (F)" Matches=40, seq=28 Attempting to match against "Ukraine" Matches=3, seq=3 Attempting to match against "Ukraine, Phonetic" Matches=3, seq=3 Attempting to match against "Ukraine, Typewriter" Matches=1, seq=1 Attempting to match against "Ukraine, Winkeys" Matches=4, seq=4 Attempting to match against "Ukraine, Standard RSTU" Matches=2, seq=2 Attempting to match against "Ukraine, Standard RSTU on Russian layout" Matches=2, seq=2 Attempting to match against "United Kingdom" Matches=31, seq=30 Attempting to match against "United Kingdom, International (with dead keys)" Matches=30, seq=29 Attempting to match against "United Kingdom, Dvorak" Matches=31, seq=18 Attempting to match against "United Kingdom, Macintosh" Matches=31, seq=30 Attempting to match against "Uzbekistan" Matches=3, seq=3 Attempting to match against "Vietnam" Matches=28, seq=27 Attempting to match against "Japan (PC-98xx Series)" Matches=34, seq=34 Attempting to match against "Ireland, Ogham" Matches=0, seq=0 Attempting to match against "Ireland, Ogham IS434" Matches=31, seq=30 Attempting to match against "Maldives" Matches=4, seq=4 Attempting to match against "Esperanto" Matches=30, seq=29 Attempting to match against "Nepal" Matches=1, seq=1 Attempting to match against "Nigeria" Matches=30, seq=29 Attempting to match against "Nigeria, Igbo" Matches=28, seq=27 Attempting to match against "Nigeria, Yoruba" Matches=27, seq=26 Attempting to match against "Nigeria, Hausa" Matches=29, seq=26 Detected layout is "Spain", matches=48, seq=47 Finished mapping keyboard, matches=48, entries=48

Thanks.

comment:107 Changed 6 years ago by STaRMaN

Hi again. I built the svn version (1.5.51_OSE) , and the problem persist. (using qt3).

Now, i'm going to test compiling with qt4.

comment:108 follow-up: ↓ 109 Changed 6 years ago by STaRMaN

I compiled it with libqt4-dev installed, but i dont know if compiling process use 3 or 4. I removed the package libqt3-headers and libqt3-mt-dev to force use qt4, but then ./configure give me and error telling that it don't find qt3.

anyway to force using qt4 in configure?

comment:109 in reply to: ↑ 108 Changed 6 years ago by michael

Replying to STaRMaN:

I compiled it with libqt4-dev installed, but i dont know if compiling process use 3 or 4. I removed the package libqt3-headers and libqt3-mt-dev to force use qt4, but then ./configure give me and error telling that it don't find qt3.

anyway to force using qt4 in configure?

As far as I remember, configure will pick up Qt4 automatically if it is installed. You should see a message telling you about this in the configure output. You will then get two separate binaries (VirtualBox and VirtualBox4 - the second is unsurprisingly the one using Qt4).

comment:110 Changed 6 years ago by michael

Update - these problems seem to affect many (or all?) distributions using Qt 3.3.8. Now that I have updated my development system to Kubuntu Hardy I get the same problems (host dead keys are not usable in the guest). The current workaround is to switch to a US keyboard layout in the host.

comment:111 follow-up: ↓ 113 Changed 6 years ago by STaRMaN

I haven't got nothing with 4...

Configure:

Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.2.3, OK.
Checking for as86: found version 0.16.17, OK.
Checking for bcc: found version 0.16.17, OK.
Checking for iasl: found version 20061109, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.6.31, OK.
Checking for libxslt: found version 1.1.22, OK.
Checking for libIDL: found version 0.8.10, OK.
Checking for zlib: found version 1.2.3.3, OK.
Checking for libpng: found version 1.2.15beta5, OK.
Checking for SDL: found version 1.2.12, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Qt3: found version 3.3.8b, OK.
Checking for Qt3 devtools: found version 3.3.8b, OK.
Checking for Qt4: found version 4.3.4, OK.
Checking for Qt4 devtools: found version 4.3.4, OK.
Checking for Qt4 uic3: found version 4.3.4, OK.
Checking for static stc++ library: found, OK.
Checking for Linux kernel sources: found version 2.6.24, OK.
Checking for ALSA: found version 1.0.15, OK.
Checking for PulseAudio: found version 0.9.10 API version 11, OK.
Checking for compiler.h: compiler.h not found, OK.

Successfully generated '/usr/src/virtualbox/vbox/AutoConfig.kmk' and '/usr/src/virtualbox/vbox/env.sh'.
Source '/usr/src/virtualbox/vbox/env.sh' once before you start to build VBox:

  source /usr/src/virtualbox/vbox/env.sh
  kmk

To compile the kernel module, do:

  cd ./out/linux.x86/release/bin/src
  make

Enjoy!
root@PC-JAVI-PORT:/usr/src/virtualbox/vbox#

After compile....

root@PC-JAVI-PORT:/usr/src/virtualbox/vbox/out/linux.x86/release/bin# find . -name "*4*"
./additions/vboxmouse_drv_14.so
./additions/vboxvideo_drv_14.so
./sdk/include/xpcom/nsprpub/plbase64.h
./sdk/include/xpcom/nsprpub/md/_solaris64.cfg
./sdk/include/xpcom/nsprpub/md/_l4v2.h
./sdk/include/xpcom/nsprpub/md/_l4v2.cfg
./sdk/include/xpcom/xpcom/nsInt64.h
./testcase/tstTime-4
./testcase/tstLdr-4


root@PC-JAVI-PORT:/usr/src/virtualbox/vbox/out/linux.x86/release/bin# ls -lh
total 30M
drwxr-sr-x  3 root src 4,0K 2008-04-15 11:26 additions
drwxr-sr-x  2 root src 4,0K 2008-04-15 11:31 components
drwxr-sr-x  2 root src 4,0K 2008-04-15 11:32 nls
drwxr-sr-x  6 root src 4,0K 2008-04-15 11:17 sdk
drwxr-sr-x 11 root src 4,0K 2008-04-15 11:32 src
-rwxr-xr-x  1 root src 8,7K 2008-04-15 11:23 SUPInstall
-rwxr-xr-x  1 root src 8,8K 2008-04-15 11:23 SUPUninstall
drwxr-sr-x  2 root src 4,0K 2008-04-15 11:31 testcase
-rwxr-xr-x  1 root src  48K 2008-04-15 11:23 tstAnimate
-rwxr-xr-x  1 root src 249K 2008-04-15 11:26 tstAPI
-rwxr-xr-x  1 root src  39K 2008-04-15 11:23 tstAsmStructsGC
-rwxr-xr-x  1 root src  76K 2008-04-15 11:24 tstDeviceStructSize
-rwxr-xr-x  1 root src  57K 2008-04-15 11:24 tstDeviceStructSizeGC
-rwxr-xr-x  1 root src 235K 2008-04-15 11:27 tstHeadless2
-rwxr-xr-x  1 root src  20K 2008-04-15 11:23 tstInt
-rwxr-xr-x  1 root src  26K 2008-04-15 11:23 tstMicro
-rw-r--r--  1 root src  34K 2008-04-15 11:23 tstMicroGC.gc
-rwxr-xr-x  1 root src  11K 2008-04-15 11:23 tstnsIFileEnumerator
-rwxr-xr-x  1 root src  20K 2008-04-15 11:23 tstnsIFileTest
-rwxr-xr-x  1 root src  11K 2008-04-15 11:23 tstPrimitiveTest
-rwxr-xr-x  1 root src  11K 2008-04-15 11:23 tstSimpleTypeLib
-rwxr-xr-x  1 root src  15K 2008-04-15 11:23 tstTestArray
-rwxr-xr-x  1 root src  12K 2008-04-15 11:23 tstTestAtoms
-rwxr-xr-x  1 root src 8,0K 2008-04-15 11:23 tstTestAutoLock
-rwxr-xr-x  1 root src  25K 2008-04-15 11:23 tstTestAutoPtr
-rwxr-xr-x  1 root src  12K 2008-04-15 11:23 tstTestCallTemplates
-rwxr-xr-x  1 root src  21K 2008-04-15 11:23 tstTestCOMPtr
-rwxr-xr-x  1 root src 7,3K 2008-04-15 11:23 tstTestCOMPtrEq
-rwxr-xr-x  1 root src 8,8K 2008-04-15 11:23 tstTestCRT
-rwxr-xr-x  1 root src  11K 2008-04-15 11:23 tstTestDeque
-rwxr-xr-x  1 root src  13K 2008-04-15 11:23 tstTestFactory
-rwxr-xr-x  1 root src  45K 2008-04-15 11:23 tstTestHashtables
-rwxr-xr-x  1 root src 8,4K 2008-04-15 11:23 tstTestID
-rwxr-xr-x  1 root src  12K 2008-04-15 11:23 tstTestMinStringAPI
-rwxr-xr-x  1 root src  17K 2008-04-15 11:23 tstTestObserverService
-rwxr-xr-x  1 root src  19K 2008-04-15 11:23 tstTestPipes
-rwxr-xr-x  1 root src 9,1K 2008-04-15 11:23 tstTestServMgr
-rwxr-xr-x  1 root src  29K 2008-04-15 11:23 tstTestStrings
-rwxr-xr-x  1 root src  15K 2008-04-15 11:23 tstTestThreads
-rwxr-xr-x  1 root src 8,0K 2008-04-15 11:23 tstTestXPIDLString
-rwxr-xr-x  1 root src 132K 2008-04-15 11:26 tstVBoxAPILinux
-rwxr-xr-x  1 root src  14K 2008-04-15 11:23 tstVMM
-rwxr-xr-x  1 root src  24K 2008-04-15 11:23 tstVMM-2
-rwxr-xr-x  1 root src  16K 2008-04-15 11:23 tstVMMFork
-rwxr-xr-x  1 root src  15K 2008-04-15 11:23 tstVMM-HwAccm
-rwxr-xr-x  1 root src  14K 2008-04-15 11:23 tstVMMR0CallHost-1
-rwxr-xr-x  1 root src  22K 2008-04-15 11:23 tstVMREQ
-rwxr-xr-x  1 root src 126K 2008-04-15 11:23 tstVMStructGC
-rwxr-xr-x  1 root src  23K 2008-04-15 11:23 tstXptDump
-rwxr-xr-x  1 root src  17K 2008-04-15 11:23 tstXptLink
-rwxr-xr-x  1 root src 668K 2008-04-15 11:27 VBoxBFE
-rw-r--r--  1 root src 3,1M 2008-04-15 11:22 VBoxC.so
-rw-r--r--  1 root src 9,3K 2008-04-15 11:24 VBoxDD2GC.gc
-rw-r--r--  1 root src 9,4K 2008-04-15 11:24 VBoxDD2R0.r0
-rw-r--r--  1 root src 232K 2008-04-15 11:21 VBoxDD2.so
-rw-r--r--  1 root src  43K 2008-04-15 11:24 VBoxDDGC.gc
-rw-r--r--  1 root src  43K 2008-04-15 11:24 VBoxDDR0.r0
-rw-r--r--  1 root src 2,4M 2008-04-15 11:21 VBoxDD.so
-rw-r--r--  1 root src 370K 2008-04-15 11:21 VBoxDDU.so
-rw-r--r--  1 root src  62K 2008-04-15 11:23 vboxdrv.ko
-rwxr-xr-x  1 root src 265K 2008-04-15 11:27 VBoxHeadless
-rw-r--r--  1 root src  68K 2008-04-15 11:22 VBoxKeyboard.so
-rw-r--r--  1 root src  33K 2008-04-15 11:32 vboxkeyboard.tar.gz
-rwxr-xr-x  1 root src 1,5M 2008-04-15 11:27 VBoxManage
-rw-r--r--  1 root src 2,2K 2008-04-15 04:18 VBox.png
-rw-r--r--  1 root src  14K 2008-04-15 11:20 VBoxREMImp.so
-rw-r--r--  1 root src 1,2M 2008-04-15 11:23 VBoxREM.so
-rwxr-xr-x  1 root src 1,1M 2008-04-15 11:21 VBoxRT.so
-rwxr-xr-x  1 root src 604K 2008-04-15 11:27 VBoxSDL
-rw-r--r--  1 root src 252K 2008-04-15 11:21 VBoxSettings.so
-rwxr-xr-x  1 root src 3,5K 2008-04-15 04:18 VBox.sh
-rw-r--r--  1 root src 113K 2008-04-15 11:21 VBoxSharedClipboard.so
-rw-r--r--  1 root src  84K 2008-04-15 11:21 VBoxSharedFolders.so
-rw-r--r--  1 root src 191K 2008-04-15 11:21 VBoxSharedOpenGL.so
-rwxr-xr-x  1 root src 7,0M 2008-04-15 11:26 VBoxSVC
-rw-r--r--  1 root src  73K 2008-04-15 11:22 VBoxSVCM.so
-rwxr-xr-x  1 root src 4,2K 2008-04-15 04:18 VBoxSysInfo.sh
-rwxr-xr-x  1 root src  15K 2008-04-15 11:31 VBoxTunctl
-rw-r--r--  1 root src 3,2M 2008-04-15 11:21 VBoxVMM.so
-rw-r--r--  1 root src  24K 2008-04-15 11:32 VBoxXPCOMBase.xpt
-rw-r--r--  1 root src 160K 2008-04-15 11:21 VBoxXPCOMIPCC.so
-rwxr-xr-x  1 root src  32K 2008-04-15 11:23 VBoxXPCOMIPCD
-rw-r--r--  1 root src 1,3M 2008-04-15 11:21 VBoxXPCOM.so
-rwxr-xr-x  1 root src  27K 2008-04-15 11:24 vditool
-rwxr-xr-x  1 root src 3,1M 2008-04-15 11:31 VirtualBox
-rw-r--r--  1 root src  25K 2008-04-15 11:20 VirtualBox_XPCOM.xpt
-rw-r--r--  1 root src 377K 2008-04-15 11:24 VMMGC.gc
-rw-r--r--  1 root src 404K 2008-04-15 11:24 VMMR0.r0
root@PC-JAVI-PORT:/usr/src/virtualbox/vbox/out/linux.x86/release/bin#

comment:112 Changed 6 years ago by STaRMaN

Thanks by your replies michael. I have hardy , as you. :)

comment:113 in reply to: ↑ 111 ; follow-up: ↓ 114 Changed 6 years ago by michael

Replying to STaRMaN:

I haven't got nothing with 4...

Ah, I forgot, you have to create a file called LocalConfig.kmk containing the line

VBOX_WITH_QT4GUI := 1

Configure:

...

Checking for Qt3: found version 3.3.8b, OK.
Checking for Qt3 devtools: found version 3.3.8b, OK.
Checking for Qt4: found version 4.3.4, OK.
Checking for Qt4 devtools: found version 4.3.4, OK.
Checking for Qt4 uic3: found version 4.3.4, OK.

That looks right though.

comment:114 in reply to: ↑ 113 Changed 6 years ago by michael

Replying to michael:

Ah, I forgot, you have to create a file called LocalConfig.kmk containing the line

That is,

LocalConfig.kmk

comment:115 follow-up: ↓ 117 Changed 6 years ago by STaRMaN

The compilation process stop after a lot of time compiling with:

..........
...........
kmk[4]: *** No rule to make target `include/QIAbstractWizard.h', needed by `/usr/src/virtualbox/vbox/out/linux.x86/release/obj/src/VBox/Frontends/VirtualBox4/VirtualBox/moc/moc_QIAbstractWizard.cpp'.  Stop.
kmk[4]: Leaving directory `/usr/src/virtualbox/vbox/src/VBox/Frontends/VirtualBox4'
kmk[3]: *** [pass_binaries_after] Error 2
kmk[3]: Leaving directory `/usr/src/virtualbox/vbox/src/VBox/Frontends'
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `/usr/src/virtualbox/vbox/src/VBox'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `/usr/src/virtualbox/vbox/src'
kmk: *** [pass_binaries_before] Error 2

root@PC-JAVI-PORT:/usr/src/virtualbox/vbox#

comment:116 Changed 6 years ago by STaRMaN

(using qt4)

comment:117 in reply to: ↑ 115 Changed 6 years ago by michael

Replying to STaRMaN:

The compilation process stop after a lot of time compiling with:

This is not really the right place to discuss compilation problems. You might like to try the mailing list (vbox-dev) or the irc channels

comment:118 follow-ups: ↓ 119 ↓ 120 ↓ 121 Changed 6 years ago by STaRMaN

Solved in Kubuntu Hardy selecting in KDE->System Configuration -> Language-> Keyboard : Keyboard spanish, es. And selecting the checkbox which says "Incluir diseño latino", in english will be "include latin design/layout".

All this for spanish of spain language.

Greetings.

comment:119 in reply to: ↑ 118 Changed 6 years ago by michael

Replying to STaRMaN:

Solved in Kubuntu Hardy selecting in KDE->System Configuration -> Language-> Keyboard : Keyboard spanish, es. And selecting the checkbox which says "Incluir diseño latino", in english will be "include latin design/layout".

All this for spanish of spain language.

Thanks for this bit of information. I have successfully tested it here with a German keyboard layout. Anyone else experiencing problems (and using KDE) might also want to try it.

comment:120 in reply to: ↑ 118 Changed 6 years ago by outreal

Replying to STaRMaN:

Solved in Kubuntu Hardy selecting in KDE->System Configuration -> Language-> Keyboard : Keyboard spanish, es. And selecting the checkbox which says "Incluir diseño latino", in english will be "include latin design/layout".

All this for spanish of spain language.

I can confirm that ST'arMaN's "hint" works also with a french keyboard. Thanks!

comment:121 in reply to: ↑ 118 Changed 6 years ago by AHt

Replying to STaRMaN:

Solved in Kubuntu Hardy selecting in KDE->System Configuration -> Language-> Keyboard : Keyboard spanish, es. And selecting the checkbox which says "Incluir diseño latino", in english will be "include latin design/layout".

All this for spanish of spain language.

Greetings.

I confirm too. It works for me with 1.5.6 on Mandriva 2008.1 and a french keyboard. Thanks a lot.

comment:122 Changed 6 years ago by STaRMaN

An user called corvis given a solution for this in Gnome in Ubuntu Launchpad: "In Gnome just go to System -> Administration -> Language Support and click on "Enable support to enter complex characters".

After a reboot it should work just fine."

 https://bugs.launchpad.net/ubuntu/+source/virtualbox-ose/+bug/217057

comment:123 Changed 6 years ago by michael

Ticket #1456 has been marked a duplicate of this one.

comment:124 Changed 6 years ago by gargamel

Having the same issue with VirtualBox 1.6.0 on Ubuntu Hardy and a French keyboard Layout : Dead keys do not work in Host.

Suggested workaround for gnome works (ie : Enable support to enter complex characters) but this fix causes many other glitches, especially on Java Apps so I had to remove it. I've also tried the provided VBoxKeyboard.so but it immediately crashes the host VM as soon as I try to input a character on 1.6.0. Would you recommend another version of this VBoxKeyboard.so ?

Thanks.

comment:125 follow-up: ↓ 126 Changed 6 years ago by bmpvieira

Anyone has a solution for people that doesn't use GNOME or KDE? Like XFCE users for example?

comment:126 in reply to: ↑ 125 Changed 6 years ago by michael

Replying to bmpvieira:

Anyone has a solution for people that doesn't use GNOME or KDE? Like XFCE users for example?

The KDE workaround just changes the setxkbmap used by KDE to set the keyboard layout. Normally, this would be

setxkbmap -model pc105 -layout de

for me. When I activate the option "include latin layout", this changes to

setxkbmap -model pc105 -layout de,us

You could always enter this command (adjusted for your keyboard layout of course) in an XTerm if Xfce doesn't have something similar.

comment:127 Changed 6 years ago by gargamel

I've tried michael's solution on Gnone with a French layout keyboard without any success

setxkbmap -model pc105 -layout fr,us

did not change bring back accents and other dead keys

comment:128 Changed 6 years ago by thotypous

I've tried michael's solution with an ABNT2 keyboard without any success

setxkbmap -model abnt2 -layout br,us

did not change bring back accents and other dead keys.

I can get keyboard working perfectly under the Guest OS by doing:

setxkbmap -model abnt2 -layout us

But this obviously make the keyboard act wrong in the Host OS.

I really hope this issue to be corrected soon, because VirtualBox is very nice, but this bug is very annoying and blocks someone from using VirtualBox. Since the first time I tried VirtualBox, a lot of months ago, this bug was already present. I tried VirtualBox under Gentoo and under ArchLinux, using abnt2 and us-intl keyboards, and every setup had this bug.

comment:129 Changed 6 years ago by thotypous

I started debugging the stuff. I had downloaded VirtualBox OSE (1.6) sourcecode, then modified 'src/VBox/Frontends/VirtualBox/src/linux/keyboard-new.c' and added this line to X11DRV_KeyEvent:

printf("[dbg] keyevent received; code: %u; scan code: %u\n", code, keyc2scan[code]);

Then I built VBoxKeyboard.so and replaced the one that comes with the PUEL vbox (1.6).

By pressing the "~" key in my abnt2 keyboard, I got:

[dbg] keyevent received; code: 48; scan code: 40

It's worth nothing that sometimes (when I press the key enough time so the key would be going to repeat) it shows the following just after this message:

[dbg] keyevent received; code: 0; scan code: 0

And I got this same messages both when using "br" layout in X (that doesn't work) and using "us" layout (that does work).

As expected, the xev output for the same "~" key is:

state 0x0, keycode 48 (keysym 0xfe53, dead_tilde), same_screen YES,

And sometimes (when I press the key enough time so the key would be going to repeat), just after this message, it shows:

state 0x0, keycode 0 (keysym 0x7e, asciitilde), same_screen YES,

Showing that the keycode is being captured correctly.

It proves the problem is not in keyboard-new.c, and that keyboard-new.c is fine. I will keep debugging it as I can. I'm reporting only to get things documented.

comment:130 Changed 6 years ago by thotypous

I'm close to get a workaround for this stuff. I noted now that the keycode 0 didn't appear when I was using the "us" layout. The code I'm using that is near working is:

unsigned X11DRV_KeyEvent(KeyCode code)
{
    static KeyCode last_code = 0;
    if(code == 0) code = last_code;
    else last_code = code;
    printf("[thotypous-dbg] keyevent received; code: %u; scan code: %u\n", code, keyc2scan[code]);
    return keyc2scan[code];
}

Now the only problem is that I need two keystrokes to key the key actually working. I will debug it deeply.

comment:131 Changed 6 years ago by thotypous

I put more debugging code, this time in XKeyboard-new.cpp (compiled the entire vbox-ose), at handleXKeyEvent:

KeySym ks = ::XKeycodeToKeysym (event->xkey.display, event->xkey.keycode, 0);
::printf("[thotypous-dbg] keycode: %u; keysym: %u; type: %u\n", keyEvent->keycode, ks, event->type);

and I got:

for the first "~" stroke:

[thotypous-dbg] keycode: 48; keysym: 65107; type: 3

for the second "~" stroke:

[thotypous-dbg] keycode: 0; keysym: 0; type: 2
[thotypous-dbg] keycode: 48; keysym: 65107; type: 3

It explains why my workaround worked if you made two keystrokes for "~" instead of one. Something is blocking the keycode=48 KeyPress events. The only KeyPress event is for keycode=0. So, at the second keystroke, my workaround would do the correct sequence: "~" KeyPress, then "~" KeyRelease.

I will investigate now why the KeyPress events for deadkeys are not being dispatched.

comment:132 Changed 6 years ago by thotypous

Now I think it's very difficulty this to be a VirtualBox itself bug.

I compiled Qt 3.3.8 near vanilla (using only build-system related patches), and the problem persists, so perhaps it's not a distribution-related bug, but perhaps a Qt bug.

A workaround could be made directly in VirtualBox code (for example dispatching an artificial KeyPress if a KeyRelease is received for a keycode that is not the latest KeyPressed key), but perhaps it's not a good idea.

So I'd kindly ask you guys to release a PUEL version for Qt4 soon, as a lot of people need for example USB emulation support.

comment:133 Changed 6 years ago by thotypous

VBoxSDL works OK. I'd advise everyone who has problems with keyboard to use VBoxSDL and VBoxManage. Thanks for the VirtualBox developers for this great VBoxSDL stuff.

If someone really needs the Qt3 frontend (VirtualBox app) for actually running the VMs, the workaround I posted above can be used to get the keys "working" (but using two keystrokes instead of only one keystroke for the deadkeys/accents).

comment:134 Changed 6 years ago by michael

thotypous, this seems to be related to X11 input methods and the way Qt uses them. The problem occurs with Qt 3.3.8, but didn't with 3.3.7 and doesn't with the upcoming Qt 4 version of VirtualBox. The keycode of zero is what you see when the input method wants to deal with the keyboard event. Qt was changed in version 3.3.8 and no longer provides a way to get the keypress event in this case. I don't know if this can be considered a "bug" in Qt, as our usage is rather unusual - most people are interested in getting text character input, whereas are interested in the actual physical key being pressed.

comment:135 Changed 6 years ago by gargamel

I've also tried VBoxSDL under gnome (ubuntu Hardy) and everything works fine with dead keys. Unfortunately it is missing seamless mode which is a great feature of the Qt3 frontend. I might try to use the the workaround suggested by thotypous when I have some free time on my hands.

comment:136 Changed 6 years ago by macias

VirtualBox 1.6, host: opensuse 10.3, guests: both windows xp and opensuse 11.0RC1

Guests run via VBoxManage: some keys do not work, namely: 90-=[]\;'

Guests run via VBoxSDL: all keys work fine.

comment:137 Changed 6 years ago by michael

An update to the comment where I suggested setting the keymap using setxkbmap - try also putting "-option" with no options at the end of the command line. Examples:

French keyboard: setxkbmap -model pc105 -layout fr,us -option
Swiss-German:    setxkbmap -model pc105 -layout ch,us -variant de -option

macias: can you check the VBox.log file to see if there is any keyboard information at the top of it?

comment:138 follow-up: ↓ 139 Changed 6 years ago by macias

Micheal, no problem, but which VBox should I use -- SDL or Manage?

comment:139 in reply to: ↑ 138 Changed 6 years ago by michael

Replying to macias:

Micheal, no problem, but which VBox should I use -- SDL or Manage?

VBoxManage or VirtualBox.

Changed 6 years ago by macias

vbox.log

comment:140 follow-up: ↓ 141 Changed 6 years ago by macias

Yes, there was a reference to keyboard, so I attached the whole file as requested (in log file).

comment:141 in reply to: ↑ 140 Changed 6 years ago by michael

Replying to macias:

Yes, there was a reference to keyboard, so I attached the whole file as requested (in log file).

I forgot to ask, what keyboard layout are you using?

comment:142 Changed 6 years ago by macias

I assume you ask about host: extended Polish (this is custom Xkb layout, with polish, german, and typographic characters like these: — – × § ‰ ° € „ “ ” … ).

comment:143 Changed 6 years ago by michael

I was wondering. We currently only support standard host layouts - I will fix this sometime when I have time. Sorry.

comment:144 Changed 6 years ago by r_mano

I see problems with dead keys on 1.6.2, too. It seems that if the host (ubuntu hardy, spanish keyboard, working ok in the host) I have no dead keys on the XP guests.

On another PC, I have configured the gnome keyboard layout switcher, and playing with spanish/american switch on the host and on the guest at least I have them working, but it's all a bit flaky.

Is there an HOWTO or some solution for this problem? It's a real show-stopper here.

comment:145 Changed 6 years ago by r_mano

I tried the "workaround" of using the SCIM input method. (ie, activate the complex char input). On one box it worked, on the other one simply made the keyboard not work at all in the guest.

In both cases, VBoxSDL worked ok.

Help?

comment:146 Changed 6 years ago by michael

For the people with problems with dead keys not working, here is another workaround to try - start VirtualBox from the command line as

QT_IM_MODULE="" VirtualBox

Please let me know if it helps.

comment:147 Changed 6 years ago by macias

It does not work for me (VB1.6.0, custom keyboard, host: linux, guest: xp+linux).

comment:148 Changed 6 years ago by michael

Just noticed that that environment variable is a Debian change to Qt, so it will likely only work on Debian and Ubuntu.

comment:149 Changed 6 years ago by r_mano

(Sorry for the format, I tried to reply via email and received a "trac@…" non routable error...)

No change here, Ubuntu Hardy under gnome.

To explain what happens to me on my two computers, a laptop and a desktop, in details:

LAPTOP: I have two keyboard groups on the laptop, "USA standard" and "Spanish (with dead key)". USA is the default one, because the keyboard physically is USA, and I use the laptop mainly in English. On the other hand, the guest is a spanish XP, which default to spanish keyboard.

If I start VirtualBox with the USA group dead keys *do* works. If then I change the group via my key-combo (alt+shift) to the spanish group, they stop working. If I change group again to USA, the *guest* change language to EN, and dead keys do not work. If I change manually back the guest to ES, they work again.

If I select "input complex char", no key works in the guest. No one.

DESKTOP: same software, but the default group is spanish. Same guest. Dead keys do not work whichever action I do. But if I select "input complex char", all works ok.

It's a mess. All over all this, VBoxSDL *does* work correctly. I will stick the key combinations on a postit and use it :-)

And speaking about keyboard: if you select the gnome accessibility "show mouse pointer when pressing ctrl", you lose the ctrl key on the guests. Gaaahhh.

comment:150 Changed 6 years ago by r_mano

Hi, reading above it seems that the problem will be fixed in the future qt4 release... is it confirmed?

Any new on this big? It is quite important... activating SCIM methods is not a good solution, it breaks a lot of other things (e.g., skype).

comment:151 Changed 6 years ago by r_mano

There is a (little) related problem in VBoxSDL, too. If I start it as:

VBoxSDL -vm winxp-work

then the right-ctrl hostkey does not work. I have to run it as

VBoxSDL -hostkey 314 0 -vm winxp-work

(314 0 is what VBoxSDL -detecthostkey outputs when I press the right-ctrl)

maybe it's related to the same keycode-0 problem...

comment:152 Changed 6 years ago by leoadias

michael,

I use Virtualbox 1.6.4 on Gentoo 64bits(kernel 2.6.23). After read the posts here, I got Guest XP working with accents in host OS with a brazilian abnt2 keyboard.

The solution found was working with us layout: 'setxkbmap -model abnt2 -layout us'.

But this obviously make the keyboard accent wrong in the Host OS

The problem is that the key '/' doesn't work on guest. When I press this key, nothing happen.That is the only key that doesn't work.

Here is the output of write_xkb: "`~","1!","2@","3#","4$","5%","6","7&","8*","9(","0)","-_","=+", "qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","[{","]}", "aA","sS","dD","fF","gG","hH","jJ","kK","lL",";:","'\"","\|", "zZ","xX","cC","vV","bB","nN","mM",",<",".>","/?","\x0\x0","\x0\x0","\x0\x0"

Any help?

comment:153 Changed 6 years ago by leoadias

I forgot to say...

The key '/' is the same as '?'. So, it's a big problem.

comment:154 Changed 6 years ago by frank

  • Version changed from VirtualBox 1.5.0 to VirtualBox 1.6.4
  • Component changed from other to GUI

comment:155 Changed 6 years ago by fboaventura

I'm running VirtualBox 1.6.4_OSE on a Gentoo Host. My computer is a HP dv6000 Notebook, with US keyboard, since I'm from Brazil and need punctuation marks, I use the International variant with Xorg-x11.

Setting the layout to US, without variant, the punctuation works, even if I change the layout with the VM running. But, as soon as I set the "variant intl" the dead keys stop working.

Starting my VM with LOG_KB_SECUNDARY=yes, gives me the following match:

Detected layout is "U.S. English, International (with dead keys)", matches=48, seq=47
No match found for keycode 126, keysym "  " (0xffffffb1 0xffffffb1)
No match found for keycode 187, keysym "((" (0x28 0x28)
No match found for keycode 188, keysym "))" (0x29 0x29)
Finished mapping keyboard, matches=48, entries=48

and the output of write_xkb is:

"PS","1!","2@","3#","4$","5%","6R","7&","8*","9(","0)","-_","=+",
"qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","[{","]}",
"aA","sS","dD","fF","gG","hH","jJ","kK","lL",";:","QW","\|",
"zZ","xX","cC","vV","bB","nN","mM",",<",".>","/?","<>","DD","\xeb\xeb"
"PS","1!","2@","3#","4$","5%","6R","7&","8*","9(","0)","-_","=+",
"qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","[{","]}",
"aA","sS","dD","fF","gG","hH","jJ","kK","lL",";:","QW","\|",
"zZ","xX","cC","vV","bB","nN","mM",",<",".>","/?","<>","DD","\xeb\xeb"

If I start the Remote Desktop support and connect to my VM trough it, everything works just fine.

Any ideas of how I may put this working?

comment:156 Changed 6 years ago by Xenfiz

Hi,

I have same problem that leoadias. But beyond key "/", the keypad "." also does not work.

My host is Ubuntu 8.04 (Linux 2.6.24-19-generic).

Any ideas?

comment:157 follow-up: ↓ 161 Changed 6 years ago by michael

Could people experiencing problems with Brazilian keyboard and VirtualBox 1.6.4 or 1.6.6 try this library? [http://virtualbox.org/download/testcase/VBoxKeyboard.so-32bits 32bit Linux version?] [http://virtualbox.org/download/testcase/VBoxKeyboard.so-64bits 64bit Linux version?] [http://virtualbox.org/download/testcase/vboxkeyboard.tar.gz source code?] It should contain fixes for the two missing keyboard keys ("/?" and keypad "."), as well as a few fixes for Japanese keyboards. As always, back up your existing version before trying it out.

comment:158 Changed 6 years ago by r_mano

Should I try it for my problem with dead keys on a Spanish keyboard, or it is a different problem? Thanks!

comment:159 follow-up: ↓ 162 Changed 6 years ago by michael

The dead keys problem is a different one. It is due to a change in Qt 3.3.8 (I won't quite call it a bug) and will go away when VirtualBox 2.0 is release using Qt 4.

comment:160 Changed 6 years ago by r_mano

All right --- thanks for the kind answer. Do you have any time frame for that? You know, it's quite a show stopper here... yes, VBoxSDL works, but it's not the same.

comment:161 in reply to: ↑ 157 Changed 6 years ago by hidenosuke

Replying to michael:

Could people experiencing problems with Brazilian keyboard and VirtualBox 1.6.4 or 1.6.6 try this library? [http://virtualbox.org/download/testcase/VBoxKeyboard.so-32bits 32bit Linux version?] [http://virtualbox.org/download/testcase/VBoxKeyboard.so-64bits 64bit Linux version?] [http://virtualbox.org/download/testcase/vboxkeyboard.tar.gz source code?] It should contain fixes for the two missing keyboard keys ("/?" and keypad "."), as well as a few fixes for Japanese keyboards. As always, back up your existing version before trying it out.

I had the problem with Japanese keyboard and VirtualBox 1.6.4. Above VBoxKeyboard.so-32bits solved my problem. Thanks.

comment:162 in reply to: ↑ 159 Changed 6 years ago by r_mano

Replying to michael:

The dead keys problem is a different one. It is due to a change in Qt 3.3.8.

I found a workaround for the dead key problem (posted on #1456 before noticing it was marked as duplicate; I found quite confusing that in this ticket we are discussing two different isuues...).

Post here for the sake of people who can be monitoring this ticket: doing

setxkbmap -model pc105 -layout us -option

the keyboard is set globally to us-layout, making the (Spanish!) layout on the VirtualBox client work ok, dead key included, although now all the other application see (obviously) a us-keyboard. To go back, I can use the same command with "es" layout. It's a horrible hack but it works. Unfortunately, using the gnome applet to switch layout (which does it on a window per window base) does not work.

Nevertheless, this is a big problem. I understand it is an interaction with a new behavior in qt libraries, but... it is not possible to stick to old qt libraries till the problem is solved? This bug makes VirtualBox a lot of damage, much friends of mine simply dismissed it with a "don't work, back to VMware".

comment:163 Changed 6 years ago by pldg

I'm running Ubuntu 8.04 64 bits, US keyboard but typing English and Portuguese (us_intl variant in xorg.conf), xVM 1.6.4. I never got accents in VBox since I started running it, so its use has been limited so far. Using setxkbmap to get momentarily to plain US keyboard makes it work perfectly. Substituting the keyboard library as above makes no difference, and here is the log I get from starting in a shell:

Log created: 2008-09-02T21:19:41.475467000Z Executable: /usr/lib/virtualbox/VirtualBox Arg[0]: /usr/lib/virtualbox/VirtualBox Arg[1]: -startvm Arg[2]: vista2 remR3NotifyTrap: uTrap=3a error=0 next_eip=00000000 eip=81ba5676 cr2=0230ead4 remR3NotifyTrap: uTrap=e error=2 next_eip=818366c5 eip=818366c5 cr2=9983d000 remR3NotifyTrap: uTrap=e error=2 next_eip=818366c5 eip=818366c5 cr2=9983f000

For me setxkbmap is a last resort, since to have usable work done I have to run setxkbmap with appropriate values everytime I switch from guest to host and vice-versa. Doable, but painful...

Any other workaround that I have missed?

Thanks,

comment:164 Changed 6 years ago by pldg

I forgot to mention that I have to modify the Compose file in my machine so I can have ç instead of an acute c. I don't know if this is relevant, but here's the story:

This is a long standing problem due to the way Microsoft chose to fix Windows in Portuguese ages ago, to have cedilla c, which was, of course, by typing acute then c, which clashes with the standard way of generating acute c for Eastern European languages. Since this solution came first and stay to this day, we can't go against the tide, but the Xfree86/Xorg developers don't want to break the Eastern European users and so the problem persists. Every new installation with a US International keyboard needs this patch so one can type cedilla c in the X environment. Recently the Gnome people solved it another way: we edit /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules, but this only works for gtk applications.

comment:165 Changed 6 years ago by muanis

Just to add something,

I'm running Host OS on Ubuntu Hardy Heron (8.04), VirtualBox 1.6.6, and accents still do not work on guest operating system (also a 8.04).

I've managed to create a workaround disabling the "host key auto capture" but it's quite anoying ... VirtualBox seems to be running faster than VMWare, but a bug like this openned for so much time is really disapointing.

comment:166 Changed 6 years ago by michael

Just to be clear - the last library update does *not* fix the accent problem, since that is a problem with the Qt library over which we have no control. The next major release of VirtualBox, due out soon, uses version 4 of Qt, which fixes the problem. The updated library contains a single fix for a problem with the Brazilian keyboard (and possibly for the Japanese one).

comment:167 Changed 6 years ago by lou

I'm using vbox 1.6.4. If I check "Enable support to enter complex characters" in Ubuntu Language support, I cannot log into wine (can' t type the characters needed to log in).

comment:168 follow-up: ↓ 169 Changed 6 years ago by michael

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from VirtualBox 1.5 - keyboard issues with Linux hosts to VirtualBox 1.5 - keyboard issues with Linux hosts => try again with VirtualBox 2.0.0

I am closing this ticket as it has become far too long, and because all problems here known to me should be fixed in VirtualBox 2.0.0. I have created ticket #2052 for problems which appear in the 2.0 series (there will be problems, since this is almost impossible to get right).

comment:169 in reply to: ↑ 168 Changed 6 years ago by r_mano

Replying to michael:

I have created ticket #2052 for problems which appear in the 2.0 series (there will be problems, since this is almost impossible to get right).

Well, it seems to me you were too pessimist. I can say that (at least at a first glance) my problems with the spanish keyboard and the dead keys are gone. Thanks a lot!

comment:170 Changed 6 years ago by nvivo

Brazilian ABNT2 keyboard is working fine for me on 2.0 until now.

Will report on #2052 if I find any problems.

comment:171 Changed 6 years ago by pldg

My experience with 2.0 was good and bad. Solved the accented characters (Brazilian accents on US International keyboard), all I could think of could be inserted as expected. However, to get there I passed through an interesting experience. The Vista guest would crash will loading its kernel and spontaneously/continuously reboot from that point. Removed 2.0, got 1.6.4 back, machine wouldn't boot (only the vista splash of kernel booting would cycle continously, but no disk activity was being reported. Reboots in between of the host did a difference, but no luck yet. In the end, what solved the problem (still same guest machine/virtual disk) was to disable support for hardware virtualization, which was working on 1.6.4. Have too little experience to have noticed any difference in performance, so this isn't an issue for me. Working with xVM (waking up and suspending) is much faster than in VMware...

Now if only I could convince xVM to stop eating 100% of CPU (and thus taking my notebook fan to singing joy)...

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use