From owner-freebsd-current@FreeBSD.ORG Fri Jun 15 08:35:23 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2953216A400 for ; Fri, 15 Jun 2007 08:35:23 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 8960913C44B for ; Fri, 15 Jun 2007 08:35:22 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (varonk@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l5F8ZFaT061945; Fri, 15 Jun 2007 10:35:21 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l5F8ZFqj061944; Fri, 15 Jun 2007 10:35:15 +0200 (CEST) (envelope-from olli) Date: Fri, 15 Jun 2007 10:35:15 +0200 (CEST) Message-Id: <200706150835.l5F8ZFqj061944@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, h.schmalzbauer@omnisec.de In-Reply-To: <200706150941.03174.h.schmalzbauer@omnisec.de> X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 15 Jun 2007 10:35:21 +0200 (CEST) Cc: Subject: Re: moused linear acceleration drops X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@FreeBSD.ORG, h.schmalzbauer@omnisec.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 08:35:23 -0000 Harald Schmalzbauer wrote: > Oliver Fromme wrote: > > Harald Schmalzbauer wrote: > > > But the linear ac(de)celeration seems to 'drop' moving information. > > > I have a 1600dpi mouse which is far to quick by default. > > > When I use 'xset m 1/3' the speed is fine and also every smallest > > > movement gets recognized. > > > When I use '-a 0.33' with moused (besides -A 1.6/2 with xset m 1) small > > > (and slow) movement's are not reported. I have to move at some minimal > > > speed to get the cursor moving. > > > So it seems that info gets droped. > > > > It's probably a rounding problem. I'll have a look at it. > > My mice and trackballs aren't that sensitive, so I didn't > > notice such a problem. > > > > I assume that there's no such problem if you don't use the > > new -A option, right? (i.e. no regression, I hope.) > > Hmm, if I don't use -A (dynamic acc) the problem still persists, the linear > acceleration is droping info, hence the culprit. I don't have a problem with > dynamic acceleration when the linear is disabled, so it can't be a regression > by your patch I think. My patch only added -A (dynamic acc) but did not touch the algorithm of -a (linear acc). If you observe the problem when using -a but not -A, then there are two possibilities: 1. My patch _did_ introduce a regression with -a, or: 2. The problem already existed before my patch. I'll try to find out and fix it. (My free time is limited today, though, so it might take a little longer.) By the way, what kind or model of a mouse do you have there? Maybe I'm able to get hold of one, so I can reproduce the problem more easily. The most sensitive mouse in my collection seems to have only 600 dpi. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I made up the term 'object-oriented', and I can tell you I didn't have C++ in mind." -- Alan Kay, OOPSLA '97