From owner-freebsd-usb@FreeBSD.ORG Fri May 9 13:57:44 2008 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 015AC1065673 for ; Fri, 9 May 2008 13:57:44 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id AF9A08FC15 for ; Fri, 9 May 2008 13:57:43 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55BE4.dip.t-dialin.net [84.165.91.228]) by redbull.bpaserver.net (Postfix) with ESMTP id B08F72E111; Fri, 9 May 2008 15:57:39 +0200 (CEST) Received: from deskjail (unknown [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id C10CC100405; Fri, 9 May 2008 15:57:32 +0200 (CEST) Date: Fri, 9 May 2008 15:57:31 +0200 From: Alexander Leidinger To: Kai Wang Message-ID: <20080509155731.5434bd7f@deskjail> In-Reply-To: <20080508214133.GA1936@plan0> References: <20080507192420.694f57ee@deskjail> <20080508103636.153b1576@deskjail> <20080508151321.51af2488@deskjail> <20080508214133.GA1936@plan0> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.244, required 6, BAYES_00 -15.00, NO_RDNS 0.50, RDNS_DYNAMIC 0.10, SUBJECT_FUZZY_TION 0.16) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: usb@freebsd.org Subject: Re: How to remap or ignore certain mouse buttons? (was: Fun with Logitech keyboard/mouse kombo (diNovo Edge)...) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2008 13:57:44 -0000 Quoting Kai Wang (Thu, 8 May 2008 23:41:33 +0200): > This mouse got two very similar usage collections, the difference > is one of them defined 4 more buttons. > > Let's try to speicify the buttons, XY axis and wheel explicitly and > see what happens... > > Could you please try following two patches? > (assuming you are using latest CURRENT, and you need to substitute VENDORID > and PRODUCTID with the real id of your mouse) > > First apply patch A: Works (the mouse moves). > After test, revert patch A and apply patch B instead: > (Only difference between these two patches is the value of sc->sc_iid) I didn't applied the second patch, I just changed the iid. This one does not work, the pointer does not move. > What will moused output after applying these two patches, repectively? Patch a: ---snip--- # /usr/sbin/moused -p /dev/ums0 -t auto -f -d moused: proto params: f8 80 00 00 8 00 ff moused: port: /dev/ums0 interface: usb type: sysmouse model: generic ---snip--- Sorry, I forgot to run moused with -d -f for the second one. As it does not work: do you really need it? If yes I can get some time later again to work on the system. Bye, Alexander. -- Hermes: Baby needs a new pair of shoes! Zoidberg: To hell with your spoiled baby, I need those shoes. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137