PDA

View Full Version : can't move cursor



felix_tang
17th March 2009, 05:56
hello guys, I transplants a QT4 program to the board, and insert the usb-mouse, and insmod the mouse driver, the output of cat /proc/bus/usb/devices is following:


T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 9 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=15ca ProdID=00c3 Rev= 5.12
S: Product=USB Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms

but there is only event0 under /dev/input, and I set export QWS_MOUSE_PROTO="USB:/dev/input/event0", the mouse also doesn't work.

anyone can help me to solve the problem?

wysota
17th March 2009, 08:32
Do you get input events on that file descriptor when you move your mouse?

felix_tang
17th March 2009, 09:36
Do you get input events on that file descriptor when you move your mouse?

Sorry, I don't understand your meaning, what file descriptor do you mean? Is it event0? and how do I get it?