From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 13:04:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41A5737B401 for ; Fri, 1 Aug 2003 13:04:28 -0700 (PDT) Received: from smtp.wizwire.com (smtp.wizwire.com [63.175.104.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62ABE43F3F for ; Fri, 1 Aug 2003 13:04:27 -0700 (PDT) (envelope-from frank@frankjahnke.com) Received: from [192.168.1.100] (65.167.14.26.bvi1.wizwire.com [65.167.14.26]) by smtp.wizwire.com (8.12.9/8.12.9) with ESMTP id h71K4Pma000540 for ; Fri, 1 Aug 2003 13:04:26 -0700 (PDT) From: Frank Jahnke To: questions@FreeBSD.org Content-Type: text/plain Organization: Message-Id: <1059768274.988.12.camel@jahnke.fmjassoc.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 01 Aug 2003 13:04:34 -0700 Content-Transfer-Encoding: 7bit Subject: Mouse/X11 Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2003 20:04:28 -0000 I'm writing you this message for assistance in getting my mouse wheel to work with X11. Yes, another one of these requests. I have been through the documentation (and numerous articles on the web) and yet I still cannot get it to work. I am running BSD 4.8 with XFree86 v4.3.0 (downloaded last week, so it should be a very current version of the latest stable release). My window manager is currently Window Maker v0.80.1. The mouse is a Logitech MouseMan Wheel, which I understand is equivalent to the MouseMan+. With success I have installed support for the mouse using moused for the console drivers. I added line allscreens_flags to my rc.conf file for mouse support on the various virtual consoles. That works fine. I can also use the same three buttons for text selection and pasting in X11. What I cannot get to work is text scrolling using the wheel. From section 11.3 of the FAQ, first there is a description of /etc/XF86Config (which is now located in /etc/X11/XF86Config) that is for XFree86 v3 only. I currently have the 4.3 equivalent (see below) with SysMouse replaced by Auto. Changing from one to the other did not make a difference, as far as I could tell. Moving on to section 11.4 of the FAQ, I have tried without success to use either moused or the X server for wheel support. For the former, I added the moused_flags line and options to rc.conf, as suggested. Moving now to Example 11-2, first the caption is incorrect. It DOES describe use of XF86Config with moused Translations, does it not? I needed to use an Identifier of "Mouse0" instead of "Mouse1", or else X11 would crash (again, see below). Imwheel was downloaded and installed from the ports collection; the configuration file moved to ~/.imwheelrc (which was used without alteration). No success. Next I tried to use the X Server to translate wheel events. The suggested use of "MouseManPlusPS/2" was not recognized by XFree; since BSD recognized the mouse type on boot-up, I reverted to "Auto". Using the device /dev/psm0 was not successful -- the device was busy, and X11 would not load. I replaced psm0 with sysmouse. After imwheel was loaded, the wheel still did not scroll the screen. I admit that it is frustrating to find files in different directories, mislabeled headings in the documentation, and configurations that do not work as suggested. It feels to me that XFree86 is new, and has not been fully incorporated into the various texts. I am at loss on how best to proceed, and your suggestions would be most appreciated. Frank Jahnke, Ph.D. President, FMJ & Associates Auburn, CA 95604 frank@frankjahnke.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Section "InputDevice" # Identifier and driver Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "Buttons" "5" # Option "ZAxisMapping" "4 5" # Option "Emulate3Buttons" "No" # Mouse-speed setting for PS/2 mouse. Option "Resolution" "100" # When using XQUEUE, comment out the above two lines, and uncomment # the following line. # Option "Protocol" "Xqueue" # Baudrate and SampleRate are only for some Logitech mice. In # almost every case these lines should be omitted. # Option "BaudRate" "9600" # Option "SampleRate" "150" # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) # Option "Emulate3Buttons" # Option "Emulate3Timeout" "50" # ChordMiddle is an option for some 3-button Logitech mice # Option "ChordMiddle" EndSection