From owner-freebsd-questions@FreeBSD.ORG Fri May 19 14:10:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8290B16A5A6 for ; Fri, 19 May 2006 14:10:40 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9714643D67 for ; Fri, 19 May 2006 14:10:36 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so526224wxd for ; Fri, 19 May 2006 07:09:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G52/a3rkBPvjydd6Xdnfy+fOT/Xpil6G0nR23wfanAETbJpnEJhIXBvXUqaZAB3sjeCF6pOlAcFL9t4mHcjRKWM7v6lNBNZMHVSPz5BdYT6Dzgbo8zM9MSB9hX5Y/6ncW7eq72W8OIf4ZyzoH7I9vWqcvbxt+dybH1LT48qsJkM= Received: by 10.70.11.10 with SMTP id 10mr2050522wxk; Fri, 19 May 2006 07:09:45 -0700 (PDT) Received: by 10.70.75.16 with HTTP; Fri, 19 May 2006 07:09:45 -0700 (PDT) Message-ID: <80f4f2b20605190709g48427daan4425180791d020ad@mail.gmail.com> Date: Fri, 19 May 2006 10:09:45 -0400 From: "Jim Stapleton" To: freebsd-questions@freebsd.org In-Reply-To: <966D16C6-73D2-4F9A-A581-B11206FC5121@cs.hmc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <80f4f2b20603311013p8413672g95b9fcb4b68dc0ca@mail.gmail.com> <20060401114034.08c121b1@localhost> <80f4f2b20603311817h16127755w3349fd793d76ca97@mail.gmail.com> <442DF61A.4010809@u.washington.edu> <80f4f2b20603312014u3eecf357g8eb8d253f88b9ecd@mail.gmail.com> <966D16C6-73D2-4F9A-A581-B11206FC5121@cs.hmc.edu> Subject: Re: Which xorg driver/setup to use to get all the buttons for a Logitech MX518 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 14:10:41 -0000 Ahh! Thanks! Which port would you recommend for xorg7? It's not in devel or x11. I have 6.9 running now, and the install did go smoothly, so I'm willing to try a 7 install. Having all of these buttons work properly is probably the last step I would need to make a full and confortable switch completely from Windows to BSD :-) thanks, -Jim On 5/19/06, Marshall Pierce wrote: > Jim, > I was catching up on my freebsd lists, and saw this... Note that you > can't use evdev unless you're using Xorg 7, as far as I know. Once > you're > on xorg7, you can use evdev as the driver for your mouse, and things > Should > Just Work. See this guide: http://floam.sh.nu/guides/mx1000 > > HTH, > Marshall > > On Mar 31, 2006, at 8:14 PM, Jim Stapleton wrote: > > > I have IMWheel installed and setup, and below is the mouse setting for > > my xorg.conf file, however. Buttons 1-7 work just perfectly, however, > > 8 mimics the wheel-down, and 9 and 10 refuse to do anything, no > > matther what I do with imwheel or the utility that lets me remap the > > buttons > > > > Oh, and I was wrong in an earlier post, it isn't the driver that they > > posted and I couldn't use, it was the protocol (ignore my terminology, > > and not the sample mouse-config part with "evdev" in it). > > > > current mouse section of xorg.conf > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Section "InputDevice" > > Identifier "Mouse0" > > Driver "mouse" > > Option "Protocol" "auto" > > Option "Device" "/dev/sysmouse" > > Option "Buttons" "10" > > Option "ZAxisMapping" "4 5" > > EndSection > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > ~/.imwheelrc > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > none, Thumb1, Alt_R|Left > > none, Thumb2, Alt_R|Right > > none, Left, Alt_R|Left > > none, Right, Alt_R|Right > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > ~/.xsession and ~/.xinitrc > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > exec startkde > > imwheel -k -b "6789" & > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > I've tried using every variant of xmodmap that I could to alter the > > mapping of 6-10, however, nothing gets buttons other than 6 and 7 to > > work properly, and one of the others (I suspect it's 8) to mimic a > > completely different button. Unfortunately, button 7 is the only > > button that I don't like usin gon this mouse (hard to twist my hand to > > press it). > > > > By "not work properly", I mean that in any mapping other than the > > default, (except reversing 6 and 7) with xmodmap, the buttons either > > do nothing (normally), or act in a manner not previously specifice > > (usually by mimicking a scroll up or down button). Mapping 9 and 10 > > into the place of 6 and 7 (i.e. ' xmodmap -e "pointer =3D 1 2 3 4 5 9 1= 0 > > 8 6 7" ' or ' xmodmap -e "pointer =3D 1 2 3 4 5 9 10 6 7 8" ') ensures > > that no buttons beyond 5 work. > > > > I strongly suspect that signals from buttons 8-10 aren't reaching the > > software that handles them properly. 8 is either being misread or sent > > wrong, 9 and 10 appear to simply be dropped. > > > > Thanks, > > -Jim > > > > > > > > > > > > On 3/31/06, Garrett Cooper wrote: > >> Jim Stapleton wrote: > >> > >>> Aye, it's got a lot of buttons, and I've tried transferring > >>> several of > >>> the config settings, however, none of the drivers they pointed to > >>> seem > >>> to exist in BSD, and they also pointed to devices, again nonexistant > >>> in bsd. > >>> > >>> example, one involves the following: > >>> > >>> Option "Device" "/dev/input/event1" > >>> Option "Protocol" "evdev" > >>> > >>> > >>> If I try to use evdev, x refuses to start, and says said module does > >>> not exist in the log file. The other variants I've seen have similar > >>> modules that I can't find and won't load. > >>> > >>> Thanks, > >>> -Jim > >>> > >>> > >>> > >>> On 3/31/06, Norberto Meijome wrote: > >>> > >>> > >>>> On Fri, 31 Mar 2006 13:13:49 -0500 > >>>> "Jim Stapleton" wrote: > >>>> > >>>> > >>>> > >>>>> I've googled the problem in general, tried looking around xorg and > >>>>> this site, but I couldn't find any useful information on > >>>>> getting my > >>>>> MX518 working with all of it's buttons in BSD (were I to downgrade > >>>>> back to Linux, I could, but I'd rather not do that, ports is > >>>>> much more > >>>>> useful than the extra three buttons). > >>>>> > >>>>> > >>>> Hey Jim > >>>> i suppose this is a logitech mouse with lots of buttons? if you > >>>> know it > >>>> works with linux, why not transfer the config from linux to > >>>> freebsd? (u > >>>> dont need to install anything, just try knoppix). It should work > >>>> out of > >>>> the box (I believe moused is same across platforms, and xorg > >>>> shouldn't > >>>> worry too much about what OS it's being used under). > >>>> > >>>> otherwise, have u read man moused ? > >>>> > >>>> beto > >>>> > >> Many people in Linux (at least), use imwheel for utilizing all > >> mouse > >> buttons on their mice, unless they use an internal X program to > >> set the > >> values for 'key strokes' obtained from the mouse by themselves > >> (kind of > >> a royal pain, if you ask me). Try searching for "imwheel gentoo" on > >> google if imwheel's included in ports (don't have my FreeBSD > >> machine in > >> front of me right now to verify). > >> Also, if you're looking for the codes for your mouse's > >> buttons, try > >> using xev. > >> -Garrett > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to "freebsd-questions- > >> unsubscribe@freebsd.org" > >> > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions- > > unsubscribe@freebsd.org" > > > >