Bug 223109 - x11-servers/xorg-server: Fix broken vmmouse detection
Summary: x11-servers/xorg-server: Fix broken vmmouse detection
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-x11 mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 11:41 UTC by Thomas Hellström
Modified: 2017-10-19 13:12 UTC (History)
5 users (show)

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


Attachments
Replacement patch-config_devd.c with automatic vmmouse detection (12.85 KB, text/x-csrc)
2017-10-19 11:41 UTC, Thomas Hellström
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hellström 2017-10-19 11:41:50 UTC
Created attachment 187303 [details]
Replacement patch-config_devd.c with automatic vmmouse detection

Vmmouse detection has never worked with devd and hence, vmmouse has been more or less useless since at least FreeBSD 10.3.

I've implemented a fix in the devd config backend. It's not super clean, but given the version of the devd config backend that's upstream, I guess this will do for now.

Please review for security since we're calling an external application (vmmouse_detect) as root. The utility vmmouse_detect is part of the xf86-input-vmmouse package / port.

Also if possible, please include in all maintained freebsd versions.