Bug 15286

Summary: hal: Joypad recognised as a mouse, not a joystick
Product: hal Reporter: Sam Morris <sam>
Component: haldAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: dcday137
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sam Morris 2008-03-31 07:55:09 UTC
I have a Gravis gamepad that HAL seems to think is a mouse rather than a
joystick:

udi = '/org/freedesktop/Hal/devices/usb_device_428_4001_noserial_if0_logicaldev_input'
  info.capabilities = {'input', 'input.mouse'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_428_4001_noserial_if0'  (string)
  info.product = 'Gravis GamePad Pro USB'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_428_4001_noserial_if0_logicaldev_input'  (string)
  input.device = '/dev/input/event10'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_428_4001_noserial_if0'  (string)
  input.physical_device = '/org/freedesktop/Hal/devices/usb_device_428_4001_noserial_if0'  (string)
  input.product = 'Gravis GamePad Pro USB'  (string)
  linux.device_file = '/dev/input/event10'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/class/input/input10/event10'  (string)

This also happens for my Sidewinder joystick (also USB).
Comment 1 Danny Kukawka 2008-04-01 12:18:31 UTC
*** Bug 15287 has been marked as a duplicate of this bug. ***
Comment 2 Collin Day 2008-10-29 18:08:35 UTC
I also am having the same problem with my Logitech Precision Gamepad.  It works wth version 0.5.10, but not with 0.5.11-r4.

0: udi = '/org/freedesktop/Hal/devices/usb_device_46d_c21a_noserial_if0_logicald
ev_input'
  info.subsystem = 'input'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_46d_c21a_n
oserial_if0'  (string)
  info.product = 'Logitech Logitech(R) Precision(TM) Gamepad'  (string)
  linux.sysfs_path = '/sys/class/input/input8/event5'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_46d_c21a_noserial_if0_logi
caldev_input'  (string)
  input.x11_driver = 'evdev'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_46d_c21a_noserial_if0' 
 (string)
  info.category = 'input'  (string)
  info.capabilities = { 'input', 'input.mouse' } (string list)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  input.device = '/dev/input/event5'  (string)
  linux.device_file = '/dev/input/event5'  (string)
  input.product = 'Logitech Logitech(R) Precision(TM) Gamepad'  (string)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.