Xorg serial mouse support after r360637
Michael Gmelin <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm leaving this here to give affected users a chance to google a
solution.
The default value of kern.evdev.rcpt_mask used to be 3, but this got
changed to 12 in r360637:
https://svnweb.freebsd.org/base?view=revision&revision=360637
As a result, users of serial mice (connected via RS-232) or any other
device that only works over sysmouse(4) + moused(8) will lose their
pointer if they're running an evdev enabled kernel.
This can be fixed temporarily by running:
# sysctl kern.evdev.rcpt_mask=3
and made persistent across reboots by altering sysctl.conf:
# echo kern.evdev.rcpt_mask=3 >>/etc/sysctl.conf
Cheers,
Michael
p.s.
# sysctl -d kern.evdev.rcpt_mask
kern.evdev.rcpt_mask: Who is receiving events:
bit0 - sysmouse,
bit1 - kbdmux,
bit2 - mouse hardware,
bit3 - keyboard hardware
Therefore:
3 ~ sysmouse + kbdmux
6 ~ mouse hardware + kbdmux
9 ~ sysmouse + keyboard hardware
12 ~ mouse hardware + keyboard hardware
So setting kern.evdev.rcpt_mask=9 would also work to fix the serial
mouse problem, as it combines sysmouse and keyboard hardware.
(re-sent from subscribed address)
--
Michael Gmelin
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"