enable USB mouse

Hi,

Howto How to enable the USB mouse on FreeBSD 8.3 with kde-lite?

I have now in /etc/rc.conf:
Code:
fsck_y_enable="YES"
background_fsck="NO"

mouse_type="auto"
moused_enable="YES"
hald_enable="YES"
dbus_enable="YES"

hostname="bsd.DOM"
ifconfig_em0="DHCP"

inetd_enable="YES"

nfs_client_enable="YES"
sshd_enable="YES"

linux_enable="YES"

kdm_enable="YES"

# -- sysinstall generated deltas -- # Fri Jan  6 20:15:49 2012
ifconfig_re0="DHCP"
hostname="bsd.DOM"
 
Currently my mouse is only working if I unplug/plug its USB connection. Does someone know howto how to solve this problem?
 
In xorg.conf make sure it's set to /dev/sysmouse

Code:
Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

And the general consensus it to remove the reference to hald in your /etc/rc.conf file.
 
Thanks, but I changed in /etc/ttys from:
Code:
ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
to:
Code:
ttyv8	"/usr/local/bin/kdm -nodaemon"	xterm	on secure
and now it seems to work well.

BTW I don't have xorg.conf and this problem still occurs if I start KDE using the [cmd=]startx[/cmd] command.
 
There's no need to add moused_enable to /etc/rc.conf for a USB mouse, it's only needed for a PS/2 mouse. USB mice load moused(8) automatically.
 
Back
Top