From owner-freebsd-questions@FreeBSD.ORG Thu Apr 19 22:40:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E637106564A for ; Thu, 19 Apr 2012 22:40:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3F17F8FC14 for ; Thu, 19 Apr 2012 22:40:59 +0000 (UTC) Received: from r56.edvax.de (port-92-195-124-250.dynamic.qsc.de [92.195.124.250]) by mx01.qsc.de (Postfix) with ESMTP id 9E2DC3C5F3; Fri, 20 Apr 2012 00:40:51 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q3JMeohB002435; Fri, 20 Apr 2012 00:40:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 20 Apr 2012 00:40:50 +0200 From: Polytropon To: "Ronald F. Guilmette" Message-Id: <20120420004050.9b3f1a3a.freebsd@edvax.de> In-Reply-To: <2310.1334870748@tristatelogic.com> References: <2310.1334870748@tristatelogic.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Changing psm (mouse) resolution? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 22:40:59 -0000 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 SEE ALSO ioctl(2), syslog(3), atkbdc(4), mouse(4), mse(4), sysmouse(4), moused(8), syslogd(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 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 moused_enable="YES" moused_port= moused_type= moused_flags= with the required values. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...