Communicating with the USB root hub on Android
===

I have an Android device that fully supports USB host mode, also known as USB OTG.  My goal is to send some standard USB Device Requests to the root USB hub, specifically `SetPortFeature` and `ClearPortFeature` as outlined in section 11.24.2 of the USB 2.0 specification.

I can enumerate USB devices that I plug into this host using the `android.hardware.usb` package, but because [Android hides some devices][1], this is not allowing me access to the USB root hub.  Is there some other way to access the root hub via the API?

If I can't access the root hub via the APIs, that leaves me with using the `/sys/devices/platform/*` files.  Is there a way to send these USB device requests using this file system?  The phone is rooted, so permissions should not be an issue.

Thanks in advance...



  [1]: http://stackoverflow.com/questions/10553216/androis-os-hiding-full-usb-tree