Bug 14334 - Joystick not detected
Summary: Joystick not detected
Status: RESOLVED WONTFIX
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-02 00:55 UTC by Fabrizio Gennari
Modified: 2011-08-26 04:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Fabrizio Gennari 2008-02-02 00:55:13 UTC
I have an USB gamepad (a Colour Rumble Pad), and HAL fails to detect it as input.joystick.

[fab@dhcppc1 ~]$ cat /sys/class/input/input3/name
Jess Tech Colour Rumble Pad
[fab@dhcppc1 ~]$ cat /sys/class/input/input3/capabilities/abs 
30027

which means that ABS_X, ABS_Y and ABS_Z are set.

Strong suspects are on these lines of hald/linux/device.c


 269         /* TODO: Hmm; this code looks sketchy... why do we do !test_bit on the Y axis ?? */
 270         if (test_bit(ABS_X, bitmask) && !test_bit(ABS_Y, bitmask)) {
 271                 long bitmask_touch[NBITS(KEY_MAX)];
 272 
 273                 hal_device_add_capability (d, "input.joystick");

It is as if HAL does not detect as joystick something with ABS_Y...
Comment 1 Danny Kukawka 2011-08-26 04:36:59 UTC
HAL is in maintenance mode - no new features are added. All future development focuses on udisks, upower and other parts of the stack. See Software/DeviceKit for more information.

Feel free to test with latest HAL code, it may works now.


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.