Date: Sun, 5 Aug 2012 19:46:30 -0700 From: Martin Alejandro Paredes Sanchez <mapsware@prodigy.net.mx> To: freebsd-questions@freebsd.org Subject: questions on the use of moused for Xorg Message-ID: <201208051946.30195.mapsware@prodigy.net.mx>
next in thread | raw e-mail | index | archive | help
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: <Mitsumi Electric Apple Optical USB Mouse, class 0/0, rev 1.10/1.08, addr 4> 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 <match key="info.capabilities" contains="input.mouse"> <merge key="input.x11_options.Protocol" type="string">SysMouse</merge> <merge key="input.x11_options.Emulate3Buttons" type="string">Off</merge> <merge key="input.x11_options.Buttons" type="string">8</merge> </match> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208051946.30195.mapsware>