Hello All,
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.. :-)
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.. :-)