Problem with Logitech Dual Action gamepad (Kernel 2.6.18)

asked 2013-06-20 08:39:28 -0600

zabeer gravatar image

updated 2014-09-28 15:59:25 -0600

mether gravatar image

I am trying to make a Logitech Dual Action game pad work with Kernel 2.6.18

I created js nodes manually [ mknod /dev/input/js0 c 13 0 ]

I have usbhid, joydev and evdev modules..

lsmod

Module Size Used by Not tainted
evdev 9472 0 - Live 0xc0064000
joydev 9600 0 - Live 0xc0060000
usbhid 74896 0 - Live 0xc007400

Then I plugged in my joystick.. I got the below message

usb 3-2: new full speed USB device using brcm-ohci-0 and address 2
usb 3-2: configuration #1 chosen from 1 choice
drivers/usb/input/hid-core.c: timeout initializing reports
input: Logitech Logitech Dual Action as /class/input/input0
input: USB HID v1.11 Joystick [Logitech Logitech Dual Action] on usb-ohci-brcm-2

now I did a cat on the node. I get some characters displayed..

cat /dev/input/js0
NÿÿNÿÿNÿÿNÿÿNÿÿNÿÿNÿÿNÿÿNÿNÿÿ Nÿÿ
Nÿÿ
NÿÿNÿÿNÿÿNÿÿNÿÿNÿ

After this if I press any buttons it is not getting reflected.. ( as per my understanding some characters should get displayed with the joystick actions.. )

I removed joystick and plugged it again.. I am getting below message

usb 3-2: USB disconnect, address 2
usb 3-2: new full speed USB device using brcm-ohci-0 and address 3
usb 3-2: configuration #1 chosen from 1 choice
**drivers/usb/input/hid-core.c: ctrl urb status -145 received**
input: Logitech Logitech Dual Action as /class/input/input1
input: USB HID v1.11 Joystick [Logitech Logitech Dual Action] on usb-ohci-brcm-2
usb 3-2: USB disconnect, address 3

error 145 is time out. trying cat on node is also not working.. not even the initial character display

cat /dev/input/js0
cat: can't open '/dev/input/js0': No such device

I am working on a project and this is kinda eating my bandwidth for more than a week now.. any help is appreciated.. Thanks for your time.. :-)

edit retag flag offensive close merge delete

Comments

Is there any reason you aren't using a current Fedora kernel? I don't think any bugs specific to 2.6.18 are ever going to be fixed at this point

randomuser gravatar imagerandomuser ( 2013-06-20 10:01:10 -0600 )edit

Hi, I tried using kernel 2.6.37 and I was able to use the joystick in XInput mode (X). Our project requires joystick to be used in Direct Input mode and when we change the mode to D joystick was not working in 2.6.37 also. We can try to port our application to kernel 2.6.37 if we can get the joystick work in Direct Input mode (D)... any lead in this direction also will be lot helpful.. Appreciate your time.. :)

zabeer gravatar imagezabeer ( 2013-06-20 23:52:32 -0600 )edit

It sounds like an interesting product, but it isn't really clear how this is relevant to Fedora.

randomuser gravatar imagerandomuser ( 2013-06-21 01:03:36 -0600 )edit

Sir, basically my doubt is how to integrate a Logitech dual action gampead to Fedora 2.6.18 or 2.6.37 in Direct Input mode.. Fedora is able to identify the device but not able to reflect the input actions after that. :-(

zabeer gravatar imagezabeer ( 2013-06-21 01:23:24 -0600 )edit

As of this 22 Jun 2013 comment, Fedora has a 3.8.11 kernel. If you need support for that old of a kernel, you should turn to RHEL or RHEL derivatives like Centos.

randomuser gravatar imagerandomuser ( 2013-06-22 12:01:28 -0600 )edit