From owner-freebsd-x11@FreeBSD.ORG Fri May 19 17:54:02 2006 Return-Path: X-Original-To: freebsd-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 881CD16A41F for ; Fri, 19 May 2006 17:54:02 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CC9943D46 for ; Fri, 19 May 2006 17:54:02 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Fh9Am-0008zJ-Rr; Fri, 19 May 2006 21:54:00 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fh9BG-0004UZ-0X; Fri, 19 May 2006 21:54:30 +0400 To: "Eric W. Bates" 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> From: Boris Samorodov Date: Fri, 19 May 2006 21:54:30 +0400 In-Reply-To: <446E012A.6010806@vineyard.net> (Eric W. Bates's message of "Fri, 19 May 2006 13:32:26 -0400") Message-ID: <14093193@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-x11@freebsd.org Subject: Re: imwheel problem 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: Fri, 19 May 2006 17:54:02 -0000 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