Hi all

I got a small but very boring problem with the USB gamepad I use a an 
input device for my control panel. Sometimes the gamepad disconnect from 
USB. As the hal_input device does no open the device "on the fly", the 
control panel stop responding and I have to restart EMC.

Here it is what I can see in syslog :

Aug  5 16:39:36 robot kernel: [24455.526525] RTAPI: shmem 01 created by 
module 01, key: 1212238898, size: 262000
Aug  5 16:39:36 robot kernel: [24455.526547] HAL_LIB: kernel lib 
installed successfully
Aug  5 16:39:36 robot kernel: [24455.741490] config string '0x378 out  '
Aug  5 16:39:36 robot kernel: [24455.824349] creating ladder-state
Aug  5 16:47:37 robot kernel: [24937.315306] hub 2-0:1.0: port 2 
disabled by hub (EMI?), re-enabling...
Aug  5 16:47:37 robot kernel: [24937.315323] usb 2-2: USB disconnect, 
address 10
Aug  5 16:47:38 robot kernel: [24937.560180] usb 2-2: new low speed USB 
device using uhci_hcd and address 11
Aug  5 16:47:38 robot kernel: [24937.751628] usb 2-2: configuration #1 
chosen from 1 choice
Aug  5 16:47:38 robot kernel: [24937.805712] input: Mega World 
Thrustmaster dual analog 3.2 as 
/devices/pci0000:00/0000:00:1f.4/usb2/2-2/2-2:1.0/input/input15
Aug  5 16:47:38 robot kernel: [24937.806259] generic-usb 
0003:044F:B315.000B: input,hidraw1: USB HID v1.10 Gamepad [Mega World 
Thrustmaster dual analog 3.2] on usb-0000:00:1f.4-2/input0

We can see at 16.39 EMC starts, then at 16:47 USB hub is disabled for 
some misterious reason, so the gamepad is disconnected. Then everything 
comes back to life.
But USB input in EMC is lost, and I must restart it.

I can't figure out why the USB hub acts like this. In fact, why the 
kernel acts like this, because I tried with another port on another hub, 
same problem. Then I tried with another USB card (PCI), same thing...

Sometimes, will work for hours, sometimes (like here), disconnects after 
10 ou 20 minutes, sometimes sooner...

Any idea ?

Yann

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to