From owner-freebsd-questions Mon Mar 24 7:23:24 2003 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 9CD7D37B401 for ; Mon, 24 Mar 2003 07:23:19 -0800 (PST) Received: from apollo.laserfence.net (apollo.laserfence.net [196.44.69.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CDA443F93 for ; Mon, 24 Mar 2003 07:23:17 -0800 (PST) (envelope-from will@unfoldings.net) Received: from localhost ([127.0.0.1]) by apollo.laserfence.net with esmtp (Exim 4.10) id 18xTn3-0001ri-00; Mon, 24 Mar 2003 17:23:09 +0200 Received: from prometheus-p0.datel.laserfence.net ([192.168.255.1] helo=prometheus.home.laserfence.net) by apollo.laserfence.net with esmtp (Exim 4.10) id 18xTml-0001rT-00; Mon, 24 Mar 2003 17:22:53 +0200 Received: from phoenix.home.laserfence.net ([192.168.0.2]) by prometheus.home.laserfence.net with esmtp (Exim 4.10) id 18xTmf-00064s-00; Mon, 24 Mar 2003 17:22:45 +0200 Received: from will by phoenix.home.laserfence.net with local (Exim 4.10) id 18xTmd-0000Cn-00; Mon, 24 Mar 2003 17:22:43 +0200 From: Willie Viljoen To: Pierrick Brossin , freebsd-questions@freebsd.org Subject: Re: Okano Mouse Date: Mon, 24 Mar 2003 17:22:43 +0200 User-Agent: KMail/1.5 References: <1048517815.3e7f1cb7cd0d3@www.swissgeeks.com> In-Reply-To: <1048517815.3e7f1cb7cd0d3@www.swissgeeks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303241722.43709.will@unfoldings.net> X-Spam-Score: (/) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *18xTml-0001rT-00*kPfY5szv.as* X-Virus-Scanned: by AMaViS snapshot-20020422 X-Spam-Status: No, hits=-25.4 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, SIGNATURE_LONG_SPARSE,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday 24 March 2003 16:56, someone, possibly Pierrick Brossin, typed: > Hey! Hello :) > I received that mouse from someone who got it in Germany and it seems > it's impossible to find > Okano's website! > So I assume it's some kind of working/cheap/unknown mouse :) Doesn't really matter, most "weird-brand" PS/2 mice these days either use some odd Logitech or MS IntelliMouse Explorer PS/2 compatible protocol. I have a Sahara mouse (completely unknown outside South Africa) which works perfectly. > I tried the ZAxisMapping trick, I tried to set the mouse up in rc.conf > and use sysmouse in X config file. > And a lot of other stuff! You might want to update the tricks you are trying, some things have changed since the HOWTOs and documentation was written, sadly, most people get it working and leave it at that, neglecting to update the docs. > Do you have any advise or thing I could test to make the wheel work ? Here are some snip-outs from my configuration files. The Sahara mouse has three buttons, of which the wheel is one, and two thumb buttons on the side. I have managed to get all of it working with these: #/etc/rc.conf: moused_enable="YES" moused_port="/dev/psm0" moused_type="auto" moused_flags="-z 4" Pay special attention to the -z flag, you'll see why just a few paragraphs down... #/etc/X11/XF86Config: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "Buttons" "7" Option "SampleRate" "1500" Option "Resolution" "1024" EndSection If you do not have the thumb buttons, simply changing the 7 to a 5 in the buttons option should set it up for your mouse. The sample rate and resolution tweaks are there because my mouse is optical, and they help a great deal. If your mouse is optical, check its manual for optimal settings, if it's rubber ball mechanics, you should be able to take those out completely. Note the absence of ZAxisMapping. This is because it's nolonger needed if you pass the -z switch to moused(8), which is the proper way of doing this on BSD these days. A setting of -z 4 means to map buttons 4 and 5, you can have finer controle over this too, check the moused(8) man page for details. Hope this helps Will -- Willie Viljoen Freelance IT Consultant 214 Paul Kruger Avenue, Universitas Bloemfontein 9321 South Africa +27 51 522 15 60 +27 51 522 44 36 (after hours) +27 82 404 03 27 (mobile) will@unfoldings.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message