Decided to put up a guide since it's a simple process but there wasn't a lot of info on this out there. From what I can tell, running a moused free computer has no negative effects, while running it (at least on my system) did create a couple of weird glitches (system would ignore keyboard input until I moved the mouse, cursor would be stuck if I logged in using xdm, strange things like that).
I am using a Logitech MX 518 mouse with a USB connection on an amd64 install of Vanilla FreeBSD 9
1) Edit /etc/devd.conf and comment out the section that tells the system to launch moused. On my system it was 2 or 3 screens down, without any useful comment header.
2) Comment out the Mouse0 references in /etc/X11/xorg.conf. Also, I have the "AllowEmptyInput" flag set to "false" right now, but I'm not sure if that's needed anymore. Let me know in a comment if that still seems to do anything.
The relevant sections of my xorg.conf now look like this:
...snip...
Reboot the computer and moused shouldn't be launched anymore, hopefully. Then do a startx if you aren't launched into a graphical login manager automatically, and your mouse should hopefully work perfectly.
I am using a Logitech MX 518 mouse with a USB connection on an amd64 install of Vanilla FreeBSD 9
1) Edit /etc/devd.conf and comment out the section that tells the system to launch moused. On my system it was 2 or 3 screens down, without any useful comment header.
Code:
# attach 100 {
# device-name "ums[0-9]+";
# action "/etc/rc.d/moused quietstart $device-name";
# };
#
# detach 100 {
# device-name "ums[0-9]+";
# action "/etc/rc.d/moused stop $device-name";
# };
2) Comment out the Mouse0 references in /etc/X11/xorg.conf. Also, I have the "AllowEmptyInput" flag set to "false" right now, but I'm not sure if that's needed anymore. Let me know in a comment if that still seems to do anything.
The relevant sections of my xorg.conf now look like this:
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AllowEmptyInput" "false"
EndSection
...snip...
Code:
# Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "auto"
# Option "Device" "/dev/ums0"
# Option "Buttons" "10"
# Option "ZAxisMapping" "4 5"
# Option "Button Mapping" "1 2 3 6 7 8 9 10 4 5"
# Option "Emulate3Buttons" "false"
# EndSection
Reboot the computer and moused shouldn't be launched anymore, hopefully. Then do a startx if you aren't launched into a graphical login manager automatically, and your mouse should hopefully work perfectly.