Changing psm (mouse) resolution?
freebsd at edvax.de
Thu Apr 19 22:40:59 UTC 2012
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.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions