summaryrefslogtreecommitdiff
path: root/tools/vmmouse_detect.c
AgeCommit message (Collapse)Author
2015-04-07vmmouse: Run vmmouse_detect as an io privileged processThomas Hellstrom
Many distros already include patches to do this in various more or less hackish ways. Since VMware now is about to restrict access to the VMmouse backdoor, let's try to support it officially. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Acked-by: Sinclair Yeh <syeh@vmware.com>
2014-10-08Back off if we detect a vmmouse kernel driver v3Thomas Hellstrom
If a vmmouse kernel driver is active, vmmouse input is handled by the Xorg evdev driver and not by the vmmouse driver, so make sure the vmmouse_detect utility doesn't detect a vmmouse if a kernel driver is active. v2: Change the vmmouse kernel device name, fix comment. v3: Fix up libudev error handling. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
2013-11-28Always include config.h firstJeremy Huddleston Sequoia
This fixes some build warnings about CSRG_BASED being redefined due to incorrect header include ordering. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2009-05-111) Fix bug where motion notify events were being sent with every button event.xf86-input-vmmouse-12.6.4Shelley Gong
2) Classify relative vs. absolute packets individually rather than from a global flag. 3) Compile with older distros. 4) Bump for 12.6.4 Release. Signed-off-by: Philip Langdale <philipl@fido2.homeip.net>
2008-10-23Remove call to iopl(). It's not portable and isn't necessary.Philip Langdale
2008-10-23Add HAL integration to support input hot plug.Philip Langdale
* vmmouse_detect: A simple program that detects whether a vmmouse device is present. * hal-probe-vmmouse: A HAL callout script that uses vmmouse_detect and overrides input.x11_driver. * 11-x11-vmmouse.fdi: fdi descriptor that adds the callout for PS/2 mice. Additional 'configure' variables have been added to allow for overriding HAL paths, although this shouldn't usually be necessary.