From owner-freebsd-current@FreeBSD.ORG Fri Nov 9 13:23:49 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C50816A421 for ; Fri, 9 Nov 2007 13:23:49 +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 C4B1D13C4BD for ; Fri, 9 Nov 2007 13:23:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5407C.dip.t-dialin.net [84.165.64.124]) by redbull.bpaserver.net (Postfix) with ESMTP id A25722E2FB; Fri, 9 Nov 2007 14:15:31 +0100 (CET) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 17AD63148ACE; Fri, 9 Nov 2007 14:15:29 +0100 (CET) Date: Fri, 9 Nov 2007 14:15:28 +0100 From: Alexander Leidinger To: "Sean C. Farley" Message-ID: <20071109141528.6a5c454b@deskjail> In-Reply-To: References: <11167f520710182258y1b358e2cg7a9d6ed89e3f1a46@mail.gmail.com> X-Mailer: Claws Mail 3.0.1 (GTK+ 2.10.14; i686-portbld-freebsd7.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.3, required 8, BAYES_00 -15.00, J_CHICKENPOX_82 0.60, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: "Sam Fourman Jr." , Current@FreeBSD.org Subject: Re: evdev Protocol in RELENG_7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 13:23:49 -0000 Quoting "Sean C. Farley" (Fri, 19 Oct 2007 08:43:58 -0500 (CDT)): > On Fri, 19 Oct 2007, Sam Fourman Jr. wrote: > > > Here is My Question, is it possible to use evdev (the xorg mouse > > protocol that may be linux specific)in RELENG_7 with xorg 7.3? > > > > I have a Logitech mx1000 mouse and I can not seem to get xorg to use > > the buttons correctly. I have searched google high and low. > > > > the dmesg says it is a 16 button mouse however I only count 12. > > whatever the case, the top buttons by the wheel have the same id as > > the wheel scroll in xev > > > > if there is an alternate way to use a 12 button mouse in FreeBSD > > please point me to the appropriate documentation. > > Here is my setup for using the MX1000. It is probably not entirely > correct, but I have been too busy to spend time restructuring it. If > you get some better ideas, please let me know. > > First, I disable moused since it will not pass that many buttons (max > seven buttons?) to Xorg. /etc/rc.conf: % grep MAX_BUTTONS /usr/src/sys/dev/usb/ums.c | head -1 #define MAX_BUTTONS 31 /* chosen because sc_buttons is int */ I remember to have increased the number of buttons in ums as it was needed for some devices. I suggest you try to hunt down the corresponding parts in sysmouse/moused where a lower number is enforced. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137