I've had the issue with the mouse buttons not working in the guest OS and haven't been able to find a solution on the web. After much trial and error I believe I've hit on a resolution to the issue.
I'm running Gentoo X86 guest on Windows 7 Home Premium using VirtualBox V3.0.10r54097
I fixed the issue by doing the following:
1. Re-compiled kernel (2.6.30-r8) with the mouse and event interfaces as modules:
Code: Select all
Device Driver --->
Input device support --->
<M> Mouse interface
<M> Event interface
<M> Event debugging
<*> Mice
<M> PS/2 mouse
2. Adjusted /etc/make.conf from:
Code: Select all
INPUT_DEVICES="keyboard virtualbox evdev"
VIDEO_CARDS="virtualbox"
to:
Code: Select all
INPUT_DEVICES="keyboard virtualbox evdev mouse"
VIDEO_CARDS="virtualbox"
3. Adjusted relevant sections of /etc/X11/xorg.xonf to:
Code: Select all
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "vboxmouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
4. Updated world:
The last step seemed to do the trick - it picked up the extra 'mouse' reference in my INPUT_DEVICES section of /etc/make.conf and pulled in a re-emerge of xorg-server and the mouse driver among other packages. I notice that 'psmouse' is now showing up when I run:
All I've got to get working now is seamless mode and dynamic re-sizing of the guest OS screen. I hope the above helps someone out!
Regards,
Euge