From owner-freebsd-x11@FreeBSD.ORG Thu Apr 9 17:50:37 2009 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D87BE106566B; Thu, 9 Apr 2009 17:50:37 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out1.uni-muenster.de (ZIVM-OUT1.UNI-MUENSTER.DE [128.176.192.8]) by mx1.freebsd.org (Postfix) with ESMTP id 21B488FC08; Thu, 9 Apr 2009 17:50:36 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.40,161,1238968800"; d="scan'208";a="271102618" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER03.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay1.uni-muenster.de with ESMTP; 09 Apr 2009 19:50:35 +0200 Received: by ZIVMAILUSER03.UNI-MUENSTER.DE (Postfix, from userid 149459) id 98F051B0765; Thu, 9 Apr 2009 19:50:35 +0200 (CEST) Date: Thu, 09 Apr 2009 19:50:35 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: In-Reply-To: <1239298834.1922.18.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Robert Noland Subject: Re: Using joypad under X 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: Thu, 09 Apr 2009 17:50:38 -0000 after re-installing the xf86-input-joystick port and restarting X this is the result (taken from Xorg.0.log): (**) Option "Device" "/dev/uhid0" (**) Option "SendCoreEvents" (**) Logitech Cordless RumblePad 2: always reports core events (**) Option "DebugLevel" "99" (**) Logitech Cordless RumblePad 2: debug level set to 99 (**) Button 1 mapped to 5 (**) Option "MapButton2" "button=1" (**) Button 2 mapped to 5 (**) Option "MapButton3" "button=2" (**) Button 3 mapped to 5 (**) Button 4 mapped to 0 (**) Button 5 mapped to 0 (**) Button 6 mapped to 0 (**) Button 7 mapped to 0 (**) Button 8 mapped to 0 (**) Button 9 mapped to 0 (**) Button 10 mapped to 0 (**) Button 11 mapped to 0 (**) Button 12 mapped to 0 (**) Button 13 mapped to 0 (**) Button 14 mapped to 0 (**) Button 15 mapped to 0 (**) Button 16 mapped to 0 (**) Button 17 mapped to 0 (**) Button 18 mapped to 0 (**) Button 19 mapped to 0 (**) Button 20 mapped to 0 (**) Button 21 mapped to 0 (**) Button 22 mapped to 0 (**) Button 23 mapped to 0 (**) Button 24 mapped to 0 (**) Button 25 mapped to 0 (**) Button 26 mapped to 0 (**) Button 27 mapped to 0 (**) Button 28 mapped to 0 (**) Button 29 mapped to 0 (**) Button 30 mapped to 0 (**) Button 31 mapped to 0 (**) Button 32 mapped to 0 (**) Option "MapAxis1" "mode=relative axis=+3x deadzone=30" (**) Axis 1 type is 1, mapped to 1, amplify=3.000 (**) Option "MapAxis2" "mode=relative axis=+3y deadzone=30" (**) Axis 2 type is 1, mapped to 2, amplify=3.000 (**) Axis 3 type is 1, mapped to 3, amplify=1.000 (**) Axis 4 type is 1, mapped to 4, amplify=1.000 (**) Axis 5 type is 2, mapped to 1, amplify=1.000 (**) Axis 6 type is 2, mapped to 2, amplify=1.000 (**) Axis 7 type is 0, mapped to 0, amplify=1.000 (**) Axis 8 type is 0, mapped to 0, amplify=1.000 (**) Axis 9 type is 0, mapped to 0, amplify=1.000 (**) Axis 10 type is 0, mapped to 0, amplify=1.000 (**) Axis 11 type is 0, mapped to 0, amplify=1.000 (**) Axis 12 type is 0, mapped to 0, amplify=1.000 (**) Axis 13 type is 0, mapped to 0, amplify=1.000 (**) Axis 14 type is 0, mapped to 0, amplify=1.000 (**) Axis 15 type is 0, mapped to 0, amplify=1.000 (**) Axis 16 type is 0, mapped to 0, amplify=1.000 (**) Axis 17 type is 0, mapped to 0, amplify=1.000 (**) Axis 18 type is 0, mapped to 0, amplify=1.000 (**) Axis 19 type is 0, mapped to 0, amplify=1.000 (**) Axis 20 type is 0, mapped to 0, amplify=1.000 (**) Axis 21 type is 0, mapped to 0, amplify=1.000 (**) Axis 22 type is 0, mapped to 0, amplify=1.000 (**) Axis 23 type is 0, mapped to 0, amplify=1.000 (**) Axis 24 type is 0, mapped to 0, amplify=1.000 (**) Axis 25 type is 0, mapped to 0, amplify=1.000 (**) Axis 26 type is 0, mapped to 0, amplify=1.000 (**) Axis 27 type is 0, mapped to 0, amplify=1.000 (**) Axis 28 type is 0, mapped to 0, amplify=1.000 (**) Axis 29 type is 0, mapped to 0, amplify=1.000 (**) Axis 30 type is 0, mapped to 0, amplify=1.000 (**) Axis 31 type is 0, mapped to 0, amplify=1.000 (**) Axis 32 type is 0, mapped to 0, amplify=1.000 (**) Option "SendCoreEvents" (**) Logitech Cordless RumblePad 2 (keys): always reports core events (II) evaluating device (Razer Diamondback 1600) (II) XINPUT: Adding extended input device "Razer Diamondback 1600" (type: MOUSE) (II) evaluating device (Dell USB Keyboard) (II) XINPUT: Adding extended input device "Dell USB Keyboard" (type: KEYBOARD) (II) evaluating device (Logitech Cordless RumblePad 2) (II) XINPUT: Adding extended input device "Logitech Cordless RumblePad 2" (type: JOYSTICK) (II) evaluating device (Logitech Cordless RumblePad 2 (keys)) (II) XINPUT: Adding extended input device "Logitech Cordless RumblePad 2 (keys)" (type: JOYSTICK) jstkDeviceControlProc what=INIT (EE) Joystick: ioctl JSIOCGVERSION on '/dev/uhid0' failed: Invalid argument (EE) Joystick: Didn't find any usable axes. jstkKeyboardDeviceControlProc what=DEVICE_INIT (**) Initializing Keyboard with 1 keys (**) Keymap [8]: 0x00000000 (II) Razer Diamondback 1600: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Razer Diamondback 1600: SetupAuto: protocol is SysMouse jstkKeyboardDeviceControlProc what=DEVICE_ON jstkKeyboardDeviceControlProc what=DEVICE_OFF (II) NVIDIA(0): Setting mode "1152x864" (**) Option "BaudRate" "1200" (**) Option "StopBits" "2" (**) Option "DataBits" "8" (**) Option "Parity" "None" (**) Option "Vmin" "1" (**) Option "Vtime" "0" (**) Option "FlowControl" "None" couldn't enable device 4 jstkKeyboardDeviceControlProc what=DEVICE_ON (II) 3rd Button detected: disabling emulate3Button jstkKeyboardDeviceControlProc what=DEVICE_OFF (II) NVIDIA(0): Setting mode "1152x864" couldn't enable device 4 jstkKeyboardDeviceControlProc what=DEVICE_ON this is how the joystick section of my xorg.conf looks like atm: Section "InputDevice" Identifier "Logitech Cordless RumblePad 2" Option "Vendor" "Logitech" Driver "joystick" Option "Device" "/dev/uhid0" Option "Path" "/dev/uhid0" Option "DebugLevel" "99" Option "SendCoreEvents" "true" Option "MapAxis1" "mode=relative axis=+3x deadzone=30" Option "MapAxis2" "mode=relative axis=+3y deadzone=30" Option "MapButton2" "button=1" #left click Option "MapButton3" "button=2" #right click EndSection Alex