From owner-freebsd-newbies@FreeBSD.ORG Mon Dec 1 06:28:15 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 6ABF416A4CE for ; Mon, 1 Dec 2003 06:28:15 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC6A84404E for ; Mon, 1 Dec 2003 06:27:27 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 12122 invoked from network); 1 Dec 2003 14:27:27 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 1 Dec 2003 14:27:27 -0000 Date: Mon, 1 Dec 2003 16:28:08 +0200 From: Ion-Mihai Tetcu To: Laurent Demaret Message-Id: <20031201162808.42f45f14.itetcu@apropo.ro> In-Reply-To: References: <20031130153549.7a34a835.itetcu@apropo.ro> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org 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: Mon, 01 Dec 2003 14:28:15 -0000 On Sun, 30 Nov 2003 18:58:44 +0100 Laurent Demaret wrote: > > 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. So your problem is clearly not in X config. > >> 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). correct. > > 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. Clean it up. Either delete the lines or comment them out by putting an # before them. > > 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, Yes, the -A4 tell grep to also get the 4 lines after the mach. You could also use -C which stands for context and -B for before. > 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) :) well, the newbies list is more a social list that a technical one ... And you have more chances to get help on questions. -- IOnut Unregistered ;) FreeBSD user