Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2003 17:22:43 +0200
From:      Willie Viljoen <will@unfoldings.net>
To:        Pierrick Brossin <pbrossin@swissgeeks.com>, freebsd-questions@freebsd.org
Subject:   Re: Okano Mouse
Message-ID:  <200303241722.43709.will@unfoldings.net>
In-Reply-To: <1048517815.3e7f1cb7cd0d3@www.swissgeeks.com>
References:  <1048517815.3e7f1cb7cd0d3@www.swissgeeks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303241722.43709.will>