Red Hat Bugzilla – Bug 84851
joystick driver requires a button to detect
Last modified: 2015-01-04 17:02:18 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
Description of problem:
The joystick driver, generic, found in joydev.c (/drivers/input/joydev.c) looks
for both axis and button in the connect function before it accepts the device.
Many joysticks, OEM and Pedals, do not have buttons and some have even resorted
to putting fake button circuits on the chip which mess things up sometimes.
I made a personal fix for this, but it seems to be a large need as a whole. I
used a usb joystick for this project.
Applied Research Associates
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. modprobe joydev
2. cat /dev/input/js0
Actual Results: device not found
Expected Results: opens and displays characters from joystick device.
This exists on the joystick driver included in the lastest kernels.
I'm fairly certain the 2.6 joystick drivers were redone anyway. I doubt the
same kind of situation exists.