I am developing an embedded device on TIs AM3352. It has a USB OTG port and I want to connect an android tablet to it and communicate to it via a C application. I have cross-compiled libusb-1.0 for usb communication.
First I tried to detect any device connection on the usb port using libusb_get_device_list function and print the device details like VID, PID etc if any device is detected. I am able to detect a pen drive using this test application. But when I try to detect my Android Tablet using this same test application, it is not happening.
Is there any addition settings that we have to do in kernel to enable my board to detect Android devices? Also should I use a different USB library to communicate with the device?
Looks like the issue was with the particular type of USB cable. When i tried a different type it is working