From owner-freebsd-x11@FreeBSD.ORG Tue Jan 31 15:53:36 2006 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AF6416A420 for ; Tue, 31 Jan 2006 15:53:36 +0000 (GMT) (envelope-from shirshegsm@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2D6943D5A for ; Tue, 31 Jan 2006 15:53:31 +0000 (GMT) (envelope-from shirshegsm@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so1205020wra for ; Tue, 31 Jan 2006 07:53:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NTQWkCZoHuxBbM2HuhgHBaybnExAnBINwEjkdsoWlkBqGtL4Uuq9vBwCshkH7kB0m8y5q4HmiEfCo2PPKGMLeiUf8dZg3wMZitODt7aUA4fqcPQqGoumCPfXdhyKkxwzwvYAfI9L4cUC+sWTs59TA2Cvfzv4YPng8MedUBJPTkE= Received: by 10.54.114.1 with SMTP id m1mr9468128wrc; Tue, 31 Jan 2006 07:53:31 -0800 (PST) Received: by 10.54.123.19 with HTTP; Tue, 31 Jan 2006 07:53:30 -0800 (PST) Message-ID: Date: Tue, 31 Jan 2006 17:53:30 +0200 From: Linas Valiukas To: Joseph Vella In-Reply-To: <200601310020.43675.satyam@sklinks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200601310020.43675.satyam@sklinks.com> Cc: freebsd-x11@freebsd.org, x11@freebsd.org Subject: Re: Mouse wheel doesn't work X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 15:53:36 -0000 Hi, thanks for replying. Anyway, after restarting moused without -t flag (I've restarted X as well) mouse wheel still doesn't work :-( I've played with 'xev' a bit. Mouse wheel down stands for button 9, and wheel up goes as button 8. Middle click is button 2. As I understand, wheel up/down should be 4/5 and not 8/9, yes?.. Regards, On 1/31/06, Joseph Vella wrote: > On Monday 30 January 2006 12:22 pm, Linas Valiukas wrote: > > I've just upgraded 6.8.2 to 6.9.0 using 'portupgrade'. My mouse's > > wheel just doesn't work anymore :-( I've tried to reconfigure X, but > > still no effect. No errors/warnings in Xorg.0.log. I've read X.Org's > > changelog, there was something about mouse's keys remapping they've > > done to support newer models, but I was too dumb to understand it :-) > > > > > I have a Logitech OEM optical ps2 mouse. I started with the xorg.conf op= tions > in the handbook and FAQ. No mousewheel. I searched for hours and finall= y > ended up finding a solution that worked. I don't have the latest xorg no= r a > usb mouse, but maybe this is worth a try for you (his setup was different > from mine). > > I still used the xorg.conf from the handbook and then followed the > instructions from the reply to the following post: > > > Re: A4Tech mouse problem solved (but strangely!) > From: Scot Hetzel > Date: 28/11/2005 > On 11/26/05, Justin R. Smith wrote: > > I had a problem with the mouse wheel being detected on my wireless > > A4Tech mouse. It is supposed to emulate a generic Intellimouse. > > > > The solution is to run moused with NO type parameter. A parameter of > > "auto" or "ps/2" or "microsoft" won't work. You must have a command lin= e of: > > > > /usr/sbin/moused -p /dev/psm0 > > > > (with NO -t parameter) > > Unfortunately, one cannot use the automatic scripts in rc.conf to do > > this because they always use a parameter and fill in "microsoft" if one > > leaves the mouse type blank. > > > Make the following changes to /etc/rc.d/moused > > Add this if statement before "echo -n "Starting ${ms} moused:" > > : > fi > > if "${mytype}" =3D=3D "NONE" ; then > mytype=3D"" > fi > > echo -n "Starting ${ms} moused:" > : > > Then change: > > /usr/sbin/moused ${myflags} -p ${myport} -t ${mytype} ${_pidarg} > > to > > /usr/sbin/moused ${myflags} -p ${myport} ${mytype:+-t} ${mytype} ${_pidar= g} > > Now add to /etc/rc.conf: > > moused_psm0_type=3D"NONE" > or > moused_type=3D"NONE" > > ${mytype:+-t} will modify the commands flags only, when ${mytype} is > unset or null, null is substituted; otherwise -t substituted. > > I haven't checked if this works, but if you could make the changes, > verify that it works for you and submit a PR with the patch. > > Scot > -- > DISCLAIMER: > No electrons were mamed while sending this message. Only slightly bruised= . > > -- Linas Valiukas gsm: +370 687 65 870 email: shirshegsm@gmail.com icq: 147235316