You are not logged in.
Hi !
I already mentioned this here http://bbs.archlinux.org/viewtopic.php?id=80080 but I think it's serious enough to justify its own thread :-)
I managed to get my joypad (more or less) working. I could check it in games such as gunroar.
However, in some other fullscreen games, like xmoto, or sdlmame, pushing a button, or a direction instantly kills the X server !! (with the joystick, not with the keyboard).
I used to use this very same stick in Ubuntu, this issue didn't occur. Please check the aforementioned thread to see the steps I had to follow to get it working : it's not straightforward and the device is used as both a mouse and gamepad, among other problems.
Did any of you experience a similar problem ? Who should I report this to ?
Please note I didn't have a single X crash before
Cheers !
Last edited by torturedutopian (2010-03-04 10:56:34)
Offline
Interesting fact : it only seems to affect fullscreen apps. No crash in sdlmame -window. No crash in windowed Gunroar. Crash in fullscreen sdlmame, xmoto...
Offline
what do logs say about this ?
Offline
bangkok_manouel : thanks for your answer ! Actually, I'm a little clueless :-( What would be the relevant logs, to you ? I check /var/log/*, didn't see what was related to the crash...
About the joystick itself :
I can see in the Xorg log :
(II) config/hal: Adding input device ACRUX USB GAMEPAD 8116
(...)
(**) ACRUX USB GAMEPAD 8116: Device: "/dev/input/event7"
(II) ACRUX USB GAMEPAD 8116: Found absolute axes
(II) ACRUX USB GAMEPAD 8116: Found x and y absolute axes
(II) ACRUX USB GAMEPAD 8116: Configuring as mouse
(II) XINPUT: Adding extended input device "ACRUX USB GAMEPAD 8116" (type: MOUSE)
(**) ACRUX USB GAMEPAD 8116: (accel) keeping acceleration scheme 1
(**) ACRUX USB GAMEPAD 8116: (accel) acceleration profile 0
(II) ACRUX USB GAMEPAD 8116: initialized for absolute axes.
lshal says :
udi = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial'
info.linux.driver = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1a_0' (string)
info.product = 'USB GAMEPAD 8116' (string)
info.subsystem = 'usb_device' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial' (string)
info.vendor = 'ACRUX' (string)
linux.device_file = '/dev/bus/usb/003/004' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2' (string)
usb_device.bus_number = 3 (0x3) (int)
usb_device.can_wake_up = false (bool)
usb_device.configuration_value = 1 (0x1) (int)
usb_device.device_class = 0 (0x0) (int)
usb_device.device_protocol = 0 (0x0) (int)
usb_device.device_revision_bcd = 258 (0x102) (int)
usb_device.device_subclass = 0 (0x0) (int)
usb_device.is_self_powered = false (bool)
usb_device.linux.device_number = 4 (0x4) (int)
usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2' (string)
usb_device.max_power = 350 (0x15e) (int)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.num_interfaces = 1 (0x1) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.product = 'USB GAMEPAD 8116' (string)
usb_device.product_id = 2050 (0x802) (int)
usb_device.speed = 1.5 (1.5) (double)
usb_device.vendor = 'ACRUX' (string)
usb_device.vendor_id = 6708 (0x1a34) (int)
usb_device.version = 1.1 (1.1) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial_if0'
info.linux.driver = 'usbhid' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial' (string)
info.product = 'USB HID Interface' (string)
info.subsystem = 'usb' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial_if0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.0' (string)
usb.bus_number = 3 (0x3) (int)
usb.can_wake_up = false (bool)
usb.configuration_value = 1 (0x1) (int)
usb.device_class = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.device_revision_bcd = 258 (0x102) (int)
usb.device_subclass = 0 (0x0) (int)
usb.interface.class = 3 (0x3) (int)
usb.interface.number = 0 (0x0) (int)
usb.interface.protocol = 0 (0x0) (int)
usb.interface.subclass = 0 (0x0) (int)
usb.is_self_powered = false (bool)
usb.linux.device_number = 4 (0x4) (int)
usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.0' (string)
usb.max_power = 350 (0x15e) (int)
usb.num_configurations = 1 (0x1) (int)
usb.num_interfaces = 1 (0x1) (int)
usb.num_ports = 0 (0x0) (int)
usb.product = 'USB HID Interface' (string)
usb.product_id = 2050 (0x802) (int)
usb.speed = 1.5 (1.5) (double)
usb.vendor = 'ACRUX' (string)
usb.vendor_id = 6708 (0x1a34) (int)
usb.version = 1.1 (1.1) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial_if0_logicaldev_input'
info.capabilities = {'input', 'input.joystick'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial_if0' (string)
info.product = 'ACRUX USB GAMEPAD 8116' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial_if0_logicaldev_input' (string)
input.device = '/dev/input/event7' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_1a34_802_noserial_if0' (string)
input.product = 'ACRUX USB GAMEPAD 8116' (string)
input.x11_driver = 'evdev' (string)
input.x11_options.SendCoreEvents = 'false' (string)
linux.device_file = '/dev/input/event7' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.0/input/input9/event7' (string)
Offline
maybe check Xorg.0.log.old (after a crash) and kernel.log first.
Offline
Ah you're right, I didn't see the segfault before (nothing in kernel.log though) :
X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-ARCH x86_64
Current Operating System: Linux mahen 2.6.32-ARCH #1 SMP PREEMPT Tue Feb 23 19:43:46 CET 2010 x86_64
Kernel command line: root=/dev/disk/by-uuid/109b9e27-d8a8-4ca9-b33a-8a071657a389 ro
Build Date: 17 February 2010 07:57:38PM
Current version of pixman: 0.16.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 4 12:50:47 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section. Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "<default monitor>"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) | |-->Device "Default Device"
(==) No monitor specified for screen "Default Screen".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
(==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF,
/usr/share/fonts/Type1
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Loader magic: 0x7c0fa0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7
(--) PCI: (0:1:1:0) 14f1:8800:107d:665f Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder rev 5, Mem @ 0xf7000000/16777216
(--) PCI:*(0:5:0:0) 10de:0617:10de:0719 nVidia Corporation G92 [GeForce 9800M GTX] rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000ec00/128, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) "extmod" will be loaded by default.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 195.36.08 Thu Feb 25 04:50:39 PST 2010
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 195.36.08 Thu Feb 25 04:18:36 PST 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 05@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen" for depth/fbbpp 24/32
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "True"
(**) NVIDIA(0): Option "Coolbits" "1"
(**) NVIDIA(0): Option "TripleBuffer" "True"
(**) NVIDIA(0): Option "DynamicTwinView" "false"
(**) Mar 04 12:50:47 NVIDIA(0): Enabling RENDER acceleration
(II) Mar 04 12:50:47 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Mar 04 12:50:47 NVIDIA(0): enabled.
(II) Mar 04 12:50:48 NVIDIA(0): NVIDIA GPU GeForce 9800M GTX (G92) at PCI:5:0:0 (GPU-0)
(--) Mar 04 12:50:48 NVIDIA(0): Memory: 1048576 kBytes
(--) Mar 04 12:50:48 NVIDIA(0): VideoBIOS: 62.92.84.00.06
(II) Mar 04 12:50:48 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Mar 04 12:50:48 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Mar 04 12:50:48 NVIDIA(0): Connected display device(s) on GeForce 9800M GTX at
(--) Mar 04 12:50:48 NVIDIA(0): PCI:5:0:0:
(--) Mar 04 12:50:48 NVIDIA(0): ACI VW246 (DFP-0)
(--) Mar 04 12:50:48 NVIDIA(0): ACI VW246 (DFP-0): 330.0 MHz maximum pixel clock
(--) Mar 04 12:50:48 NVIDIA(0): ACI VW246 (DFP-0): Internal Dual Link TMDS
(II) Mar 04 12:50:48 NVIDIA(0): Assigned Display Device: DFP-0
(==) Mar 04 12:50:48 NVIDIA(0):
(==) Mar 04 12:50:48 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Mar 04 12:50:48 NVIDIA(0): will be used as the requested mode.
(==) Mar 04 12:50:48 NVIDIA(0):
(II) Mar 04 12:50:48 NVIDIA(0): Validated modes:
(II) Mar 04 12:50:48 NVIDIA(0): "nvidia-auto-select"
(II) Mar 04 12:50:48 NVIDIA(0): Virtual screen size determined to be 1920 x 1080
(--) Mar 04 12:50:48 NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config
(--) Mar 04 12:50:48 NVIDIA(0): option
(==) Mar 04 12:50:48 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Mar 04 12:50:48 NVIDIA: Using 768.00 MB of virtual memory for indirect framebuffer
(II) Mar 04 12:50:48 NVIDIA: access.
(II) Mar 04 12:50:48 NVIDIA(0): Initialized GPU GART.
(II) Mar 04 12:50:48 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Mar 04 12:50:48 NVIDIA(0): may not be running or the "AcpidSocketPath" X
(II) Mar 04 12:50:48 NVIDIA(0): configuration option may not be set correctly. When the
(II) Mar 04 12:50:48 NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
(II) Mar 04 12:50:48 NVIDIA(0): try to use it to receive ACPI event notifications. For
(II) Mar 04 12:50:48 NVIDIA(0): details, please see the "ConnectToAcpid" and
(II) Mar 04 12:50:48 NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
(II) Mar 04 12:50:48 NVIDIA(0): Config Options in the README.
(II) Mar 04 12:50:48 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Mar 04 12:50:48 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Mar 04 12:50:48 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(==) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) config/hal: Adding input device Macintosh mouse button emulation
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.7.3, module version = 2.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device ImExPS/2 Logitech Wheel Mouse
(**) ImExPS/2 Logitech Wheel Mouse: always reports core events
(**) ImExPS/2 Logitech Wheel Mouse: Device: "/dev/input/event6"
(II) ImExPS/2 Logitech Wheel Mouse: Found 9 mouse buttons
(II) ImExPS/2 Logitech Wheel Mouse: Found scroll wheel(s)
(II) ImExPS/2 Logitech Wheel Mouse: Found relative axes
(II) ImExPS/2 Logitech Wheel Mouse: Found x and y relative axes
(II) ImExPS/2 Logitech Wheel Mouse: Configuring as mouse
(**) ImExPS/2 Logitech Wheel Mouse: YAxisMapping: buttons 4 and 5
(**) ImExPS/2 Logitech Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "ImExPS/2 Logitech Wheel Mouse" (type: MOUSE)
(**) ImExPS/2 Logitech Wheel Mouse: (accel) keeping acceleration scheme 1
(**) ImExPS/2 Logitech Wheel Mouse: (accel) acceleration profile 0
(II) ImExPS/2 Logitech Wheel Mouse: initialized for relative axes.
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "fr"
(II) config/hal: Adding input device cx88 IR (WinFast DTV1000-T)
(**) cx88 IR (WinFast DTV1000-T): always reports core events
(**) cx88 IR (WinFast DTV1000-T): Device: "/dev/input/event5"
(II) cx88 IR (WinFast DTV1000-T): Found keys
(II) cx88 IR (WinFast DTV1000-T): Configuring as keyboard
(II) XINPUT: Adding extended input device "cx88 IR (WinFast DTV1000-T)" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "fr"
(II) config/hal: Adding input device ACRUX USB GAMEPAD 8116
(**) Option "SendCoreEvents" "false"
(**) ACRUX USB GAMEPAD 8116: doesn't report core events
(**) ACRUX USB GAMEPAD 8116: Device: "/dev/input/event7"
(II) ACRUX USB GAMEPAD 8116: Found absolute axes
(II) ACRUX USB GAMEPAD 8116: Found x and y absolute axes
(II) ACRUX USB GAMEPAD 8116: Configuring as mouse
(II) XINPUT: Adding extended input device "ACRUX USB GAMEPAD 8116" (type: MOUSE)
(**) ACRUX USB GAMEPAD 8116: (accel) keeping acceleration scheme 1
(**) ACRUX USB GAMEPAD 8116: (accel) acceleration profile 0
(II) ACRUX USB GAMEPAD 8116: initialized for absolute axes.
[mi] miSpriteRealizeCursor called for floating device.
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event3"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "fr"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event4"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "fr"
(II) config/hal: removing device ACRUX USB GAMEPAD 8116
(II) ACRUX USB GAMEPAD 8116: Close
(II) UnloadModule: "evdev"
(II) config/hal: Adding input device ACRUX USB GAMEPAD 8116
(**) Option "SendCoreEvents" "false"
(**) ACRUX USB GAMEPAD 8116: doesn't report core events
(**) ACRUX USB GAMEPAD 8116: Device: "/dev/input/event7"
(II) ACRUX USB GAMEPAD 8116: Found absolute axes
(II) ACRUX USB GAMEPAD 8116: Found x and y absolute axes
(II) ACRUX USB GAMEPAD 8116: Configuring as mouse
(II) XINPUT: Adding extended input device "ACRUX USB GAMEPAD 8116" (type: MOUSE)
(**) ACRUX USB GAMEPAD 8116: (accel) keeping acceleration scheme 1
(**) ACRUX USB GAMEPAD 8116: (accel) acceleration profile 0
(II) ACRUX USB GAMEPAD 8116: initialized for absolute axes.
[mi] miSpriteRealizeCursor called for floating device.
Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x45a8d8]
1: /usr/bin/X (0x400000+0x61a19) [0x461a19]
2: /lib/libpthread.so.0 (0x7f1d75eb8000+0xee80) [0x7f1d75ec6e80]
3: /usr/bin/X (0x400000+0x6bc06) [0x46bc06]
4: /usr/bin/X (mieqProcessDeviceEvent+0xbd) [0x453d6d]
5: /usr/bin/X (mieqProcessInputEvents+0xda) [0x453f6a]
6: /usr/bin/X (ProcessInputEvents+0x9) [0x463639]
7: /usr/bin/X (0x400000+0x45d63) [0x445d63]
8: /usr/bin/X (0x400000+0x219ec) [0x4219ec]
9: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f1d75162b6d]
10: /usr/bin/X (0x400000+0x21599) [0x421599]
Segmentation fault at address 0x6
Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) ImExPS/2 Logitech Wheel Mouse: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) cx88 IR (WinFast DTV1000-T): Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) ACRUX USB GAMEPAD 8116: Close
(II) UnloadModule: "evdev"
Sadly, I coudn't test with another joystick, nor with another video driver (only nvidia works with my board, I tried both xv and nouveau with no success)
Last edited by torturedutopian (2010-03-04 11:57:00)
Offline
you could try the vesa driver, it should work. also, did you try without the nvidia driver options like triple buffer for example?
Offline
Yep, I tried to remove all my options. I'll try the vesa driver. Meanwhile, I noticed that :
1) without my custom fdi file, no mention of ACRUX USB GAMEPAD in xorg log
2) with it, the following lines are visible :
(**) Option "SendCoreEvents" "false"
(**) ACRUX USB GAMEPAD 8116: doesn't report core events
(**) ACRUX USB GAMEPAD 8116: Device: "/dev/input/event7"
(II) ACRUX USB GAMEPAD 8116: Found absolute axes
(II) ACRUX USB GAMEPAD 8116: Found x and y absolute axes
(II) ACRUX USB GAMEPAD 8116: Configuring as mouse
(II) XINPUT: Adding extended input device "ACRUX USB GAMEPAD 8116" (type: MOUSE)
(**) ACRUX USB GAMEPAD 8116: (accel) keeping acceleration scheme 1
(**) ACRUX USB GAMEPAD 8116: (accel) acceleration profile 0
(II) ACRUX USB GAMEPAD 8116: initialized for absolute axes.
... however, the keypad is not working yet. It is listed as a gamepad, in QMC2 for instance, you can see a device /dev/input/js0, but it doesn't react at all.
3) If I unplug / replug it : the joypad works, and I see the new lines appended to xorg log :
(II) config/hal: removing device ACRUX USB GAMEPAD 8116
(II) ACRUX USB GAMEPAD 8116: Close
(II) UnloadModule: "evdev"
(II) config/hal: Adding input device ACRUX USB GAMEPAD 8116
(**) Option "SendCoreEvents" "false"
(**) ACRUX USB GAMEPAD 8116: doesn't report core events
(**) ACRUX USB GAMEPAD 8116: Device: "/dev/input/event7"
(II) ACRUX USB GAMEPAD 8116: Found absolute axes
(II) ACRUX USB GAMEPAD 8116: Found x and y absolute axes
(II) ACRUX USB GAMEPAD 8116: Configuring as mouse
(II) XINPUT: Adding extended input device "ACRUX USB GAMEPAD 8116" (type: MOUSE)
(**) ACRUX USB GAMEPAD 8116: (accel) keeping acceleration scheme 1
(**) ACRUX USB GAMEPAD 8116: (accel) acceleration profile 0
(II) ACRUX USB GAMEPAD 8116: initialized for absolute axes.
[mi] miSpriteRealizeCursor called for floating device.
BTW, I added an option in the fdi file so that it doesn't move the mouse :
<merge key="input.x11_options.SendCoreEvents" type="string">false</merge>
Last edited by torturedutopian (2010-03-04 12:12:29)
Offline
OK : it also crashes in VESA mode. (however, my GPU is not supported properly, but enough to see something on the screen & launch sdlmame in software mode)
Offline
Edit : removed
Last edited by torturedutopian (2010-03-04 12:21:43)
Offline
is this installed ?
Offline
bangkok_manouel : nope, isn't it deprecated ? I needed it when I was using Ubuntu Karmic, otherwise the gamepad wouldn't work (but I was told I wasn't supposed to). I had to use "joystick" instead of "evdev" in the .fdi file driver field.
It isn't installed on my arch setup.
Offline
Actually, there are two distinct issues :
1) in the first place, the stick should work automagically with no fdi file, and not be detected as both a mouse and a gamepad : this seems to be an upstream issue that also affects Ubuntu. There's another thread about this.
2) in the second place, there's the crash that may be Arch specific.
I would really like to help fix it (I don't really care too much about using the pad, personally), but I seriously lack insight
Last edited by torturedutopian (2010-03-04 12:40:29)
Offline
Actually, I'm really not the best person to help here because I don't know much about joysticks and I hate this hal stuff, I pray for you that JGC sees this thread a bug report wouldn't hurt once you tried everything you could think of. What I would try: remove your custom rule, install xf86-input-joystick and try to make the joystick stuff work. It _should_ work ootb if the right modules are loaded. with a bit of black magic, solving this may solve the 2nd issue.
edit:typo
Last edited by bangkok_manouel (2010-03-04 12:48:16)
Offline
install xf86-input-driver
You mean xf86-input-joystick ?
I did so, but the problem is that it doesn't work without a custom rule either
I probably have to report this upstream as it's not arch specific. (but to whom ? Hal team ? kernel team ? Xorg team ?)
("out of the box", with even not xf86-input-joystick, there IS a /dev/input/js0, but it doesn't get any event)
Thanks
Last edited by torturedutopian (2010-03-04 12:56:25)
Offline
you may drop a few lines to Jan (JGC), an arch developer (and xorg maintainer IIRC), this guy really, really, really knows what he's talking about...
Offline
I'll do this, thank you
Out of curiosity, I modified my .fdi file, replacing evdev by joystick (as I now have this joystick input driver intalled).
The joystick works as before, and crashes X as before
Offline
Meanwhile, I made a bugreport onto the xorg & archlinux bugtrackers.
Offline