Reply
Thread Tools
Posts: 25 | Thanked: 2 times | Joined on May 2008
#1
I got an USB Hub and an N800 in host mode.
I can plug-in usb Flash and keyboard, or usb Flash and mouse together and they works well.
But if I plug-in both Keyboard and Mouse together, they just works only one, or keyboard, or mouse.
How to get both of them working?
Thanks
 
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#2
If you're using the USB-Mouse package that we made up for mouse support the problem is most likely due to the fact that your mouse doesn't identify itself as a mouse, but rather just as a generic USB HID device (same as the keyboard), so the USB mouse script doesn't know which one to look at for mouse commands and thus does not work.

Try going to Xterm and running the mouse module manually:
/usr/sbin/mouseController.sh

See if it comes back with a message "No device found! Aborting". If so, try:
cat /proc/bus/input/devices

as well as
ls /dev/input

and post the results of both commands back up here.

Thanks!
-Rob
 
Posts: 25 | Thanked: 2 times | Joined on May 2008
#3
here is my result :
after "/usr/sbin/mouseController.sh" command:
Code:
chmod: /dev/input/event0: Operation not permitted
chmod: /dev/input/event1: Operation not permitted
chmod: /dev/input/event2: Operation not permitted
chmod: /dev/input/event3: Operation not permitted
chmod: /dev/input/event4: Operation not permitted
chmod: /dev/input/event5: Operation not permitted
chmod: /dev/input/event6: Operation not permitted
Device found: /dev/input/event5
event6
after the the "cat /proc/bus/input/devices" command:
Code:
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="retu-pwrbutton"
P: Phys=
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="retu-headset"
P: Phys=
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=3
B: KEY=200 0 0 0 0 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="Internal keypad"
P: Phys=spi1.0/input-kp
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=3
B: KEY=1680 7 c0000000 10000002
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="TSC2301 touchscreen"
P: Phys=spi1.0/input-ts
S: Sysfs=/class/input/input3
H: Handlers=event3
B: EV=b
B: KEY=0
B: ABS=1000003
I: Bus=0003 Vendor=04d9 Product=1400 Version=0110
N: Name="HID 04d9:1400"
P: Phys=usb-musb_hdrc-1.2/input0
S: Sysfs=/class/input/input4
H: Handlers=kbd event4
B: EV=120003
B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: LED=7
I: Bus=0003 Vendor=04d9 Product=1400 Version=0110
N: Name="HID 04d9:1400"
P: Phys=usb-musb_hdrc-1.2/input1
S: Sysfs=/class/input/input5
H: Handlers=kbd mouse0 event5
B: EV=7
B: KEY=1f0000 0 0 39fa d941d101 1e0000 0 0 0
B: REL=103
I: Bus=0003 Vendor=03ee Product=6441 Version=0110
N: Name="Mitsumi Optical Wheel Mouse (USB)"
P: Phys=usb-musb_hdrc-1.4/input0
S: Sysfs=/class/input/input6
H: Handlers=mouse1 event6
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
and after the "ls /dev/input" command:
Code:
even0    even2    even4    even6    mouse0
even1    even3    even5    mice      mouse1
 
Posts: 25 | Thanked: 2 times | Joined on May 2008
#4
Oh, I have just recognized that I can work with both of them if I plug-in the mouse first, and then the keyboard ^____^.

But why not if I plug-in the keyboard first? if you still wanna research this problem so it's better for us. Thanks.

Now I can play some great games, ho ho.. ^o^
 

The Following User Says Thank You to minhzc For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:08.