Bug 244999 - emulators/virtualbox-ose-additions: Mouse clicks not registering on Xorg on CURRENT
Summary: emulators/virtualbox-ose-additions: Mouse clicks not registering on Xorg on C...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: vbox (Nobody)
Depends on:
Reported: 2020-03-23 03:53 UTC by Neel Chauhan
Modified: 2020-08-15 16:18 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Note You need to log in before you can comment on or make changes to this bug.
Description Neel Chauhan freebsd_committer 2020-03-23 03:53:23 UTC
I recently downgraded my FreeBSD host from 13-CURRENT to 12.x in order to be able to use the VirtualBox bridge mode. I plan to run CURRENT in VirtualBox.

If I install CURRENT r359106 in VirtualBox, and then install emulators/virtualbox-ose-additions and Xorg, I am able to move the mouse but not click it in the guest.

Anyone else having this issue?
Comment 1 Jason W. Bacon freebsd_committer 2020-04-14 22:02:39 UTC
I'm seeing the same with FreeBSD 12.1 guest on both FreeBSD and OS X hosts.
Comment 2 Jason W. Bacon freebsd_committer 2020-04-15 12:04:37 UTC
FYI, enabling moused in the guest is a simple workaround in my case.

In /etc/rc.conf:

Comment 3 Dag-Erling Smørgrav freebsd_committer 2020-08-15 12:28:15 UTC
I have the same issue with a FreeBSD 12.1-p8 guest running virtualbox-ose-additions 5.2.44 and xorg-server 1.20.8 in VirtualBox 6.1.12 on a Windows 10 Pro 1909 host.  Can confirm that enabling moused helps.
Comment 4 Niclas Zeising freebsd_committer 2020-08-15 16:18:08 UTC
To fix this, set the sysctl kern.evdev.rcpt_mask to 12.

This is not related to virtualbox.  When xserver was updated 1.20, we changed how input devices were handled on FreeBSD 12 and later.  Unfortunately, 12.1 was already released, so it was not possible to update the default value for the sysctl above.  For 12.2, the sysctl above will have the value 12 by default.