Page 1 of 2

[solved] No mouse integration, the rest works OK

Posted: 25. Oct 2008, 12:36
by snowcat
Hi,
I've installed an Ubuntu 8.10 RC guest on a Mac (Leopard) host, and then installed the guest additions (installation went fine, no errors).

Shared folders work, screen resizing works, seamless mode works (unusable though it be without mouse integration), but I have no mouse integration - the option to disable it is simply greyed out, and it continues to behave just as it did before I installed the guest additions. I'm using the latest (2.0.4) version of VirtualBox.

If anyone has a similar experience or any idea, I would be most grateful.

Re: No mouse integration on Ubuntu 8.10 guest, the rest work

Posted: 25. Oct 2008, 19:26
by vondralbra
snowcat wrote:Hi,
I've installed an Ubuntu 8.10 RC guest on a Mac (Leopard) host, and then installed the guest additions (installation went fine, no errors).

Shared folders work, screen resizing works, seamless mode works (unusable though it be without mouse integration), but I have no mouse integration - the option to disable it is simply greyed out, and it continues to behave just as it did before I installed the guest additions. I'm using the latest (2.0.4) version of VirtualBox.

If anyone has a similar experience or any idea, I would be most grateful.
Yup - same thing here. Intrepid Guest and Intrepid Host. Both RC with most recent upgrades. Xorg.0.log knows the following as far as the mouse is regarded:

Code: Select all

(II) config/hal: Adding input device Macintosh mouse button emulation
(II) LoadModule: "evdev"

(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.5.2, module version = 2.0.99
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.1
Seems like the xorg-HAL does not recognize the vboxmouse_drv.so correctly or refuses to use it for some unclear reasons.

I'll dig further into it.

Best regards

vda

Posted: 25. Oct 2008, 20:11
by vondralbra
back from diggin:
Normally this should not be neccessary, but it worked in my case:
On the guest machine:

1.) Verify that your /usr/lib/xorg/modules/input/ on the guest contains in fact a vboxmouse_drv.so file.

Code: Select all

oot@oraub32:~# ls -la /usr/lib/xorg/modules/input/vbox*
-rw-r--r-- 1 root root 186664 2008-10-25 19:30 /usr/lib/xorg/modules/input/vboxmouse_drv.so
2.) sudo gedit /etc/X11/xorg.conf

3.) paste those lines into your xorg.conf

Code: Select all

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver	    "vboxmouse"
	Option	    "CorePointer"
EndSection
4.) restart your X-Sesson of the guest.

As said before: Normally this should not be neccessary as xorg 7.4 recognizes the hardware - but it seems like this is not always the case.

Best regards

vda

Posted: 25. Oct 2008, 21:39
by snowcat
Thanks for the reply!
Unfortunately, this does not work for me. I verified as you said in step 1, but adding the lines to xorg.conf resulted in X crashing and VB informing me that "the guest OS does not support mouse pointer integration in the current video mode". Ubuntu instead booted in low-graphics mode, saying that the screen, graphics card and input device settings could not be detected correctly.

I'm kind of new with this, so be patient with me :)
At any rate thanks for the help so far!

Posted: 25. Oct 2008, 21:55
by JQW
I installed the latest RC earlier today, and had the same problem after installing the additions.

However after installing all outstanding updates and restarting the mouse now appears to work fine.

Posted: 25. Oct 2008, 22:17
by snowcat
Thanks very much, that did the trick!

Posted: 31. Oct 2008, 13:04
by nabamer.
vondralbra wrote:[...]

Code: Select all

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver	    "vboxmouse"
	Option	    "CorePointer"
EndSection
[...]
Worked perfect for me, thanks a lot vondralbra

Posted: 4. Nov 2008, 18:42
by josswinn
nabamer. wrote:
vondralbra wrote:[...]

Code: Select all

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver	    "vboxmouse"
	Option	    "CorePointer"
EndSection
[...]
Worked perfect for me, thanks a lot vondralbra

Just to add that on an OS X Leopard host with CentOS 5.2 guest, this was necessary for me to have seamless mouse integration.

Posted: 7. Nov 2008, 16:35
by vrol
vondralbra wrote:back from diggin:
Normally this should not be neccessary, but it worked in my case:
On the guest machine:

1.) Verify that your /usr/lib/xorg/modules/input/ on the guest contains in fact a vboxmouse_drv.so file.

Code: Select all

oot@oraub32:~# ls -la /usr/lib/xorg/modules/input/vbox*
-rw-r--r-- 1 root root 186664 2008-10-25 19:30 /usr/lib/xorg/modules/input/vboxmouse_drv.so
2.) sudo gedit /etc/X11/xorg.conf

3.) paste those lines into your xorg.conf

Code: Select all

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver	    "vboxmouse"
	Option	    "CorePointer"
EndSection
4.) restart your X-Sesson of the guest.

As said before: Normally this should not be neccessary as xorg 7.4 recognizes the hardware - but it seems like this is not always the case.

Best regards

vda
Thanks!
Your solution worked fine for me.

Posted: 14. Nov 2008, 03:04
by diavolgr
worked for me too. Thanks

Re: [solved] No mouse integration, the rest works OK

Posted: 27. Jun 2009, 00:16
by tcgfink
I followed everything vrol specified, yet my mouse integration still does not work. The xorg.conf file is working to some degree, because I adjusted the resolution and that took effect. The first time I put the "vboxmouse" block into xorg.conf, the system crashed just as snowcat described. But then I went back and re-pasted the "vboxmouse" block into xorg.conf, and the system started just fine, but I still didn't have mouse integration! Is there anyone else out there who has had a similar experience?

(My host OS is Windows XP, and I'm running Ubuntu 9.04 as the guest. My version of VirtualBox is 2.2.4).

Re: [solved] No mouse integration, the rest works OK

Posted: 13. Jan 2010, 18:04
by JosephSpokes
Yes tcgfink I was having the same problem but I followed vondralbr's instructions and it worked great. It seems to be the best solution.

Observe their tinnitus miracle or simply the foregoing fat burning furnace and then buy the diet solution to generate living.

Re: [solved] No mouse integration, the rest works OK

Posted: 27. Jan 2010, 15:34
by vedyakoff
Hi everyone.

I've got the same issue, but i can't follow the intructions above. The file /etc/X11/xorg.conf doesn't exist!!!!

My guest is Debian Squeeze, kernel 2.6.32, window system is kde-minimal

The ls of /etc/X11 is:
app-defaults
cursors
default-display-manager
fonts
rgb.txt
X
xkb
Xresources
Xsession
Xsession.d
Xsession.options
XvMCConfig
Xwrapper.config

Ecxept mouse integration everything is great, even the clipboard. The menu item "Disable mouse integration" is grey and locked.

Any gueses?

Re: [solved] No mouse integration, the rest works OK

Posted: 29. Jan 2010, 18:56
by wordeater
create an empty xorg.conf in /etc/X11 and stick the section in the blank file

X11 will auto-detect everything else like it already does, and will pick up the mouse config from the file

it worked for me, anyway

Re: [solved] No mouse integration, the rest works OK

Posted: 9. Oct 2010, 15:46
by alex266
Got this problem.

Tried what vondralbra said, but I got this:
[root@localhost ~]# ls -la /usr/lib/xorg/modules/input/vbox*
ls: cannot access /usr/lib/xorg/modules/input/vbox*: No such file or directory
Host is Windows 7, guest is Fedora 13.