From owner-freebsd-questions@FreeBSD.ORG Mon Aug 6 02:51:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBD17106566B for ; Mon, 6 Aug 2012 02:51:44 +0000 (UTC) (envelope-from mapsware@prodigy.net.mx) Received: from nlpiport17.prodigy.net.mx (nlpiport17.prodigy.net.mx [148.235.52.22]) by mx1.freebsd.org (Postfix) with ESMTP id A21598FC12 for ; Mon, 6 Aug 2012 02:51:44 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AloFAFcuH1C9qmWx/2dsb2JhbABFt0CBe4Noih0CmiSgLhSPHoMcA4hNnQiCfw X-IronPort-AV: E=Sophos;i="4.77,717,1336366800"; d="scan'208";a="78548626" Received: from nlpiport02.prodigy.net.mx ([148.235.52.117]) by nlpiport17.prodigy.net.mx with ESMTP; 05 Aug 2012 21:46:31 -0500 Received: from dsl-189-170-101-177-dyn.prod-infinitum.com.mx (HELO morena) ([189.170.101.177]) by nlpiport02.prodigy.net.mx with ESMTP; 05 Aug 2012 21:46:30 -0500 From: Martin Alejandro Paredes Sanchez To: freebsd-questions@freebsd.org Date: Sun, 5 Aug 2012 19:46:30 -0700 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201208051946.30195.mapsware@prodigy.net.mx> Subject: questions on the use of moused for Xorg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2012 02:51:44 -0000 when you must use the parameter -z of moused? I had an Apple Mighty Mouse and I would like to use the track ball (the wheel part) The driver UMS detects the Z Axis and the Wheel [XYZW] ums0: on usbus1 ums0: 4 buttons and [XYZW] coordinates ID=0 When I run this command /usr/sbin/moused -f -d -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid moused reports movements in XYZ (dx dy dz) but not W (dz?), in Xorg the scroll (vertical) works OK (xev reports events for button 4 and 5), but no horizontal (xev doesn't report anything) When I run this command /usr/sbin/moused -f -d -z 4 5 6 7 -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid moused reports movements in XY (dx dy) but not ZW (dz), for Z now reports buttons 4 and 5 pressed, in Xorg the scroll (vertical) does not work (xev reports events for button 8 and 9), and no horizontal (xev doesn't report anything) Here is the mouse part of my x11-input.fdi file SysMouse Off 8 But in Xorg.0.log I see conflicts with the configuration, the lines that begin with "(**) Apple Optical USB Mouse:", where they come from? (EE) config/hal: couldn't initialise context: unknown error (null) (II) config/hal: Adding input device Apple Optical USB Mouse (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.7.5, module version = 1.5.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 (**) Option "Protocol" "SysMouse" (**) Apple Optical USB Mouse: Device: "/dev/sysmouse" (**) Apple Optical USB Mouse: Protocol: "SysMouse" (**) Apple Optical USB Mouse: always reports core events (**) Option "Device" "/dev/sysmouse" (**) Option "BaudRate" "1200" (**) Option "StopBits" "2" (**) Option "DataBits" "8" (**) Option "Parity" "None" (**) Option "Vmin" "1" (**) Option "Vtime" "0" (**) Option "FlowControl" "None" (**) Option "Buttons" "8" (**) Option "Emulate3Buttons" "Off" (**) Apple Optical USB Mouse: ZAxisMapping: buttons 4 and 5 (**) Apple Optical USB Mouse: Buttons: 12 (**) Apple Optical USB Mouse: Sensitivity: 1 (**) Apple Optical USB Mouse: BaudRate: 1200 (II) XINPUT: Adding extended input device "Apple Optical USB Mouse" (type: MOUSE) (**) Apple Optical USB Mouse: (accel) keeping acceleration scheme 1 (**) Apple Optical USB Mouse: (accel) acceleration profile 0