Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2006 21:54:30 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        "Eric W. Bates" <ericx@vineyard.net>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: imwheel problem
Message-ID:  <14093193@srv.sem.ipt.ru>
In-Reply-To: <446E012A.6010806@vineyard.net> (Eric W. Bates's message of "Fri, 19 May 2006 13:32:26 -0400")
References:  <200605181936.k4IJa8Oq026506@cheesenip.vineyard.net> <49790946@srv.sem.ipt.ru> <446DD26B.7050002@vineyard.net> <62265002@srv.sem.ipt.ru> <446DF38D.1040800@vineyard.net> <96186552@srv.sem.ipt.ru> <446E012A.6010806@vineyard.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 May 2006 13:32:26 -0400 Eric W. Bates wrote:

> Success!

Glad to hear it.

> Boris Samorodov wrote:
> > On Fri, 19 May 2006 12:34:21 -0400 Eric W. Bates wrote:
> >> Boris Samorodov wrote:
> >>> On Fri, 19 May 2006 10:12:59 -0400 Eric W. Bates wrote:
> >>>> Boris Samorodov wrote:
> >>>>> On Thu, 18 May 2006 15:36:08 -0400 Eric Bates wrote:
> >>>>>
> >>>>>> After upgrading xorg to 6.9.0_2 my imwheel configuration has stopped
> >>>>>> working.
> >>>>>> Has anyone else reported similarly?
> >>>>>> I don't have much useful data.  I can't remember what the previous
> >>>>>> version was. however:
> >>>>>> no config files where changed.
> >>>>>> sorry as I write this, I realize that I also upgraded from 6.0 to
> >>>>>> 6.1-RELEASE. Is is possible that there has been a change to moused?
> >>>>> Do you have an USB mice and usbd_enable="YES" at rc.conf? Then try to
> >>>>> remove the latter.
> >>>> You are correct. usbd is no longer running. Sadly the wheel is still
> >>>> confused.
> >>> Usbd doesn't (it is deprecated).
> >>>
> >>>> Running imwheel in debug produces copious output.  The output does seem
> >>>> to have a different bit set when rolled up vs down.  Beyond that I don't
> >>>> really know what path the mouse events take thru X to the applications.
> >>>> I don't want to take any of your time.  I was frustrated when I could
> >>>> find nothing on Google.  If this is not a known problem, I will try to
> >>>> find time to beat on it myself.
> >>> Hey, does it mean that the wheel is not working? Mine is fine! Can you
> >>> show your xorg InputDevice section for mouse?
> > 
> >> usr/sbin/moused -z 4 -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
> >                   ^^^^
> > Remove "-z 4".

> Removing the -z option solved the difficulty.  Not clear now where the
> wheel events are coming from since the zAxisMapping was commented out
> several versions ago in deference to the -z option in moused.

Not sure, but maybe "-z 4" option tells the driver to use only 4
virtual buttons. While there is a minimum of 5: left, right,
wheel-down, wheel-up, wheel-click.

> >> Section "InputDevice"
> >>     Identifier	"Mouse0"
> >>     Driver	"mouse"
> >>     Option	"Protocol"	"Auto"
> >>     Option	"Device"	"/dev/sysmouse"
> >>     Option	"Buttons"	"5"
> >>     #Option	"ZAxisMapping"	"4 5"
> >> EndSection
> > 
> > Seems OK.
> > 
> >>>> Thanks.
> >>> BTW, it's better to keep cc: to the list. If you solve your problem
> >>> than anybody may find it by Google.
> > 
> >> I agree.  Which list is appropriate?  I normally subscribe to net and isp.
> > 
> > Where did you post the first one? ;-) (/me don't remember)
> > But freebsd-x11@ will be the right one. And there are more people that
> > may help. 

I hope you'll post your results to a list.


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider



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