Problem To Test USB OTG as HOST using a USB Mouse

Hi all,

When I am testing USB OTG as host using a USB Mouse at that time when I am giving
the command “vtest /dev/input/event0” It is givin following error

[root@beagleboard mmc]# evtest /dev/input/event0
Input driver version is 1.0.0
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: “triton2-pwrbutton”
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 116 (Power)
Testing … (interrupt to exit)

After that console is hanged.
So, How this problem will be fixed.

Thanks & Regards
Anirban Roy Choudhury

This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.

This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.

ehm... what? Sorry, can't help you since I'm not authorized

Hi all,

I have soldered the pin 4(ID) and pin 5(GND) of OTG to keep the board in host mode,
How to be sure that it is working under host mode. I am using IO Gear 4 port USB HUB.
Hub is getting power from beagle board without externel power to the HUB and even mouse
is getting power too.

But still it is giving output as

[root@beagleboard /]# cd /mnt/mmc/
[root@beagleboard mmc]# evtest /dev/input/event0
Input driver version is 1.0.0
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "triton2-pwrbutton"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 116 (Power)
Testing ... (interrupt to exit)

and mouse click event is not happening.

Thanks & Regards
Anirban Roy Choudhury

Hi all,

I have soldered the pin 4(ID) and pin 5(GND) of OTG to keep the board in host mode,
How to be sure that it is working under host mode. I am using IO Gear 4 port USB HUB.
Hub is getting power from beagle board without externel power to the HUB and even mouse
is getting power too.

But still it is giving output as

[root@beagleboard /]# cd /mnt/mmc/
[root@beagleboard mmc]# evtest /dev/input/event0

What makes you think event0 is the mouse?

Input driver version is 1.0.0
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "triton2-pwrbutton"

Especially since it says that it's the user button, not a mouse.

The BeagleBoard USB OTG port can only source 100 mA. This is barely
enough for one USB device, and usually is not enough for reliable
operation of a hub plus a device. I recommend trying external power
for the hub. Many unpowered hubs have a 5V power jack. Be sure to
use a well-regulated +5V supply and be sure that the plug has the
correct polarity for your hub. Also, try the mouse alone without a
hub.

The way I test whether the BeagleBoard USB OTG port is in host mode on
my Rev B4 board is to see if pin 1 of the OTG connector is at +5V. R5
is a good place to probe it.

There are useful OTG hints at the eLinux wiki http://elinux.org/BeagleBoard#OTG
and FAQ http://elinux.org/BeagleBoardFAQ#USB_OTG_connection.

hi Koen,

In V5 HRM document it is mentioned Beagleboard REV B5 HRM document

Thanks & Regards,
Anirban Roy Choudhury

[mailto:beagleboard@googlegroups.com]On Behalf Of Koen Kooi

Hi John,

we are using Rev B5 board and whatever you told we have checked it already
but that is also not working and giving
same output as previous.

Thanks & Regards,
Anirban Roy Choudhury

[mailto:beagleboard@googlegroups.com]On Behalf Of John Beetem

Anirban,

Which is the uImage used?

Regards,
Nazu