From owner-freebsd-hackers@FreeBSD.ORG Fri May 27 01:59:13 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2CCB16A41C for ; Fri, 27 May 2005 01:59:12 +0000 (GMT) (envelope-from non_secure@yahoo.com) Received: from web53304.mail.yahoo.com (web53304.mail.yahoo.com [206.190.39.233]) by mx1.FreeBSD.org (Postfix) with SMTP id 9607C43D48 for ; Fri, 27 May 2005 01:59:12 +0000 (GMT) (envelope-from non_secure@yahoo.com) Received: (qmail 13591 invoked by uid 60001); 27 May 2005 01:59:11 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Fz6f6j2WLasrbgHV/O8aN3n0T5GuH3q5kWhe4J0JTR3h5xbzNYtm0AsWUnyT9TLRlAKCVDaZAwXb8+8uastLJk2fExBHEBfD9IW5Gt6nS5B19uxaDK7pLUIzrB25mkoqPCuCASi9opcEovyYrA501tLB3gTSMX0lvE5gFXfdRss= ; Message-ID: <20050527015911.13589.qmail@web53304.mail.yahoo.com> Received: from [208.186.91.245] by web53304.mail.yahoo.com via HTTP; Thu, 26 May 2005 18:59:11 PDT Date: Thu, 26 May 2005 18:59:11 -0700 (PDT) From: Joe Schmoe To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Fri, 27 May 2005 12:17:40 +0000 Subject: Using a logitech mx700 with scrollwheel _and_ thumb buttons X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2005 01:59:13 -0000 Hello, I have a logitech mx700 - it has a scrollwheel and two thumb buttons (designed for forward and back in your browser) as well as some other launch button on the top that I guess is for launching an app. I am using FBSD 5.4-RELEASE with xorg installed from the ports tree. I have tried many, many different combinations of settings in /etc/rc.conf, xorg.conf and .xinitrc. The results are always the same: - I can use the scrollwheel just fine - first three mouse buttons work just fine - the other three (two thumb buttons and the app button) _always_ generate the same mousebutton event So for instance, at first I had: moused_flags="-z 4" in /etc/rc.conf and I had: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "Buttons" "7" EndSection in my xorg.conf and I had: /usr/X11R6/bin/xmodmap -e "pointer = 1 3 2 4 5 6 7" in my .xinitrc Checking button events in xev, under this config, shows that upwheel is 4, downwheel is 5 (and yes, the wheel worked) and all three other buttons (two thumbs and app button) were all button 5. so then I removed the -z line from /etc/rc.conf, and added this to my xorg.conf: Option "ZAxisMapping" "6 7" Same behavior. wheel works, the other three are all event button 5. So the only semi-success I had was when I changed my ZAxisMapping line to: Option "ZAxisMapping" "4 5 6 7" When I did this, wheelup is 4, wheeldown is 5, the little pseudo buttons above and below the wheel now create the following combo events of 6,4 and 5,5 respectively, and my two thumb buttons and app button now all produce button 7. ----- So what can I do here ? No matter how I rearrange my settings, the two thumb buttons and the app button always produce the same button event. Whether it is 5 or 7, it is always the same. Does anyone have a Logitech mx700 mouse, in FreeBSD 5.x, with xorg, running properly with the wheel and the thumb buttons ? thanks, jarsh __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/