From owner-freebsd-newbies@FreeBSD.ORG Sun Nov 30 09:57:54 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F7CA16A4CE for ; Sun, 30 Nov 2003 09:57:54 -0800 (PST) Received: from mwinf0803.wanadoo.fr (smtp8.wanadoo.fr [193.252.22.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE61043FAF for ; Sun, 30 Nov 2003 09:57:52 -0800 (PST) (envelope-from laurent.demaret@free.fr) Received: from free.fr (ALille-108-1-10-59.w81-248.abo.wanadoo.fr [81.248.182.59]) by mwinf0803.wanadoo.fr (SMTP Server) with ESMTP id 5A3C71800050 for ; Sun, 30 Nov 2003 18:57:51 +0100 (CET) Date: Sun, 30 Nov 2003 18:58:44 +0100 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Laurent Demaret To: freebsd-newbies@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <20031130153549.7a34a835.itetcu@apropo.ro> Message-Id: X-Mailer: Apple Mail (2.553) Subject: Re: Console ps2 mouse behavior control (was : Re: test) X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 17:57:54 -0000 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: irq 12 on atkbdc0 > psm0: model IntelliMouse, device ID 3 dmesg | grep psm psm0: 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