According to http://www.virtualbox.org/ticket/3213 xf86-input-virtualbox needs xf86-input-mouse to function as user expects without input-mouse, pointer can be moved, but buttons cannot be clicked. currently virtualbox-guest-additions rdepend's on input-virtualbox only also, /etc/X11/xorg.conf needs these lines for proper mouse integration: Section "InputDevice" Identifier "Configured Mouse" Driver "vboxmouse" Option "CorePointer" EndSection without these lines, pointer works but is not synchronized with host screen. version info: kasang ~ # ls /var/db/pkg/* |grep virtualbox virtualbox-guest-additions-3.2.12 xf86-input-virtualbox-3.2.12 xf86-video-virtualbox-3.2.12 kasang ~ # ls /var/db/pkg/* |grep xorg xorg-drivers-1.7 xorg-server-1.7.7-r1 Reproducible: Always
I've added this as runtime dependency to x11-drivers/xf86-input-virtualbox (only latest version at the moment). + 31 Dec 2010; Lars Wendler <polynomial-c@gentoo.org> + xf86-input-virtualbox-3.2.12.ebuild: + Added x11-drivers/xf86-input-mouse to RDEPEND. Thanks to Dima Tisnek for + reporting this in bug #348813. + (In reply to comment #0) > also, /etc/X11/xorg.conf needs these lines for proper mouse integration: > Section "InputDevice" > Identifier "Configured Mouse" > Driver "vboxmouse" > Option "CorePointer" > EndSection This is already part of the sample xorg.conf which can be found in the /usr/share/doc/virtualbox-guest-additions-${VERSION} directory.
Hm, I am not sure if I agree with this fix. I for my part do not use xf86-input-mouse but xf86-input-evdev. This works perfectly. Your fix would now force me to also install xf86-input-mouse which creates potential conflicts. I believe a better fix would be to tell the user that they additionally need a full mouse driver (like e.g. xf86-input-mouse OR xf86-input-evdev) for things to work as expected and not to prescribe a particular one. Just my 2 cents. (Side note: The whole thing is a bit messy at the moment since xorg-server stopped supporting hal in newer versions. This means the pointer to the .fdi file is useless for these versions. While/if you edit the postinst message, you may want to clarify that users should use the xorg.conf OR the .fdi depending on their xorg-server version.)
I've added x11-drivers/xf86-input-evdev as RDEPEND, too. So now each of these two packages satisfy the dependency. As soon as I am at my dev machine again I will look into your suggestion regarding the .fdi file.