mouse problems....

Polytropon freebsd at edvax.de
Wed Oct 13 21:11:24 UTC 2010


On Wed, 13 Oct 2010 10:29:31 -0700, Gary Kline <kline at thought.org> wrote:
> I just noticed that in rc.conf is:
> 
> 
> 	# -- sysinstall generated deltas -- # Wed Oct 13 08:03:06 2010
> 	moused_port="/dev/ums0"
> 	moused_type="auto"
> 	moused_enable="NO"
> 
> 	and yet the console mouse is present.  Strange... .

Explaination: USB mice are handled by devd. So if the system
detects the presence of a ums device, devd "remote-controls"
moused to activate this mouse.

# The entry below starts moused when a mouse is plugged in. Moused
# stops automatically (actually it bombs :) when the device disappears.
attach 100 {
        device-name "ums[0-9]+";
        action "/etc/rc.d/moused start $device-name";
};

This is from /etc/devd.conf.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list