Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2012 00:40:50 +0200
From:      Polytropon <>
To:        "Ronald F. Guilmette" <>
Subject:   Re: Changing psm (mouse) resolution?
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, 19 Apr 2012 14:25:48 -0700, Ronald F. Guilmette wrote:
> The man page for the psm driver says:
>     ... The current resolution can be changed at runtime.
> Unfortunately, it fails to mention any sort of command line utility
> that would provide this functionality.

It's mentioned as

     ioctl(2), syslog(3), atkbdc(4), mouse(4), mse(4), sysmouse(4), moused(8),

in the manpage, even though it doesn't explicitely state that "moused"
is the binary to run.

> Is there a command line utility that provides this functionality?  Or do
> I need to write one from scratch, using the ioctl calls that are documented
> in the man page?

See "man moused" for details, especially the -r <resolution> option
should be useful. You can combine it with -f for testing. According
to the manpage, something like

	# moused -f -r 300 -a 2.0 -p /dev/psm0 -t ps/2

should be good for testing. To make the settings permanent, you can
code them into /etc/rc.conf, using


with the required values.

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

Want to link to this message? Use this URL: <>