mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 17:40:40 -04:00
- Do not probe /dev/psm0 as SysMouse if HAL support is enabled. - Add /dev/ums0 as SysMouse if HAL support is disabled. - Do not force sysmouse(4) mode unless device is /dev/sysmouse. When moused(8) is not running, current mode level is untouched. - Correcly check if moused is actually running. Checking pid file is not enough because it may be /var/run/moused.<device>.pid when it is invoked by devd(8) for USB mice. - Do not attach device if it is opened by moused. - Correctly add device path for HAL. This patch is tested with many possible combinations of moused(8), HAL, PS/2 mouse, USB mouse, and xorg.conf. Tested by: cokane, jkim, marcus, Matthew Seaman (m dot seaman at infracaninophile dot co dot uk)
10 lines
376 B
C
10 lines
376 B
C
--- config/hal.c.orig 2007-08-23 15:04:52.000000000 -0400
|
|
+++ config/hal.c 2008-03-27 18:36:36.000000000 -0400
|
|
@@ -212,6 +212,7 @@
|
|
}
|
|
|
|
add_option(&options, "path", path);
|
|
+ add_option(&options, "device", path);
|
|
add_option(&options, "driver", driver);
|
|
add_option(&options, "name", name);
|
|
config_info = xalloc(strlen(udi) + 5); /* "hal:" and NULL */
|