Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 18:58:44 +0100
From:      Laurent Demaret <laurent.demaret@free.fr>
To:        freebsd-newbies@freebsd.org
Subject:   Re: Console ps2 mouse behavior control (was : Re: test)
Message-ID:  <D702AD3C-235E-11D8-A803-000393A95684@free.fr>
In-Reply-To: <20031130153549.7a34a835.itetcu@apropo.ro>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello,


>> Well hi firstly make sure /etc/rc.conf does set
>> Emulate3Buttons=yes...YOu didnt specify what mouse you have...
>                         ^^^^^^^^^^^^
> So how do you know ?
It is a ps2 mouse 5 buttons with its clicking wheel

>
>> Auto
>> works fine mos t of the time.
It does not for me, specially in console mode : when running sysinstall 
test mouse configuration any move of the mouse close and open several 
times that dialogue same way if I taped enter on the keyboard. Wich 
should not be as the others (non auto) protocols do not act that way.
I verified mouse cable connection wich could give also such a behavior 
but it did not change anything.

>> If you wan mouse wheel add this to
>> XF86Config
>>
>>     Identifier  "Mouse1"
>>     Driver      "mouse"
>>     Option "Protocol"    "Auto"
>>     Option "Device"      "/dev/sysmouse"
>>     Option "ZAxisMapping" "4 5"
>>     Option Emulate3Buttons "no"
>>
Excepted I leaved Mouse0 that's exactly my /etc/X11/XF86Config file.

And what I am looking for is a correct behavior of the mouse even in 
console mode (before starting XFree).

>
> it# cat /etc/rc.conf | grep moused
> moused_enable="YES"
> moused_flags="-z 4"
> moused_type="auto"

cat/etc/XF86Config | grep moused
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="ps/2"
moused_port="/dev/psm0"
mousedd_type="mousesystems"
moused_enable="YES"
moused_type="NO"
moused_enable="NO"
moused_port="/dev/psm0"
mousedd_type="mousesystems"
moused_enable="YES"
moused_flags=""
moused_port="/dev/psm0"
mousedd_type="intellimouse"
moused_enable="YES"

I presume the last three lines are the executed ones ?
And sure I need to clean that file.

>
> and
>
> it# cat /etc/X11/XF86Config | grep -A4 Mouse
>     Identifier  "Mouse1"
>     Driver      "mouse"
>     Option "Protocol"    "Auto"
>     Option "Device"      "/dev/sysmouse"
>     Option "Buttons" "5"

cat /etc/X11/XF86Config | grep mouse
Driver		"mouse"
Option		"Device" "/dev/sysmouse"

That's all I get, using ee I can tell you

ee /etc/X11/XF86Config
     Identifier  "Mouse0"
     Driver      "mouse"
     Option "Protocol"    "MouseSystems"
     Option "Device"      "/dev/sysmouse"
     Option "Buttons" "5"

But the bad behavior is not only in XServer but in console mode.


> it# dmesg | grep psm
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3

dmesg | grep psm
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model 4D+ Mouse, device ID 8

> Note: this should go on questions@, please follow up there.
Well what is a newbie then ?
I would be afraid to do such bad things than no 72 caracters lines ;-/ 
or even worst (I'm able for worst)

tia

Laurent Demaret

-- 
laurent.demaret@freeNoSpam.fr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D702AD3C-235E-11D8-A803-000393A95684>