Ask Your Question

zabeer's profile - activity

2016-01-24 06:54:51 -0500 received badge  Popular Question (source)
2013-12-22 04:51:58 -0500 received badge  Famous Question (source)
2013-12-22 04:51:58 -0500 received badge  Notable Question (source)
2013-12-22 04:51:58 -0500 received badge  Popular Question (source)
2013-06-27 04:50:38 -0500 asked a question Not able to use USB hub

I am trying to use a USB hub from Zebronics.. when I connect the USB hub to the box (STB running on mips cross compiled kernel) it says

hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad

From the boot up logs i am able to view these messages

Initializing USB.
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub

usbcore: registered new driver usbfs
usbcore: registered new driver hub

hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected

Any help will be appreciated. Thanks :-)

2013-06-27 04:44:36 -0500 commented question Problem with Logitech Dual Action gamepad (Kernel 2.6.18)

Hi Got it working.. need to play with the driver code.. :) Thanks for your support.

2013-06-21 01:23:24 -0500 commented question Problem with Logitech Dual Action gamepad (Kernel 2.6.18)

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. :-(

2013-06-21 00:24:50 -0500 answered a question Logitech f310 gamepad setup (HELP)

Hi, try changing the mode to XInput (Switch the button behind the device to X) plug in again and see..

2013-06-20 23:52:32 -0500 commented question Problem with Logitech Dual Action gamepad (Kernel 2.6.18)

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.. :)

2013-06-20 11:15:10 -0500 answered a question Problem with Logitech Dual Action gamepad (Kernel 2.6.18)

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.. :)

2013-06-20 08:41:15 -0500 received badge  Editor (source)
2013-06-20 08:39:28 -0500 asked a question Problem with Logitech Dual Action gamepad (Kernel 2.6.18)

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.. :-)