USB Host / OTG working (UPDATE: now self powered)
Update October 28,2012:
h8rift figured out how to enable full OTG support with 5V power, no need for y-cable anymore!
You need to use a modified kernel for self powered OTG. Stock kernel has OTG but needs a y-cable connected to 5V power source, as explained below.
To enable powered OTG, you will need to use one of the following:
CM10 Nightly builds: http://forum.xda-developers.com/show....php?t=1790032
King Kang ROM: http://forum.xda-developers.com/show....php?t=1959099
rohan.kernel: http://forum.xda-developers.com/show....php?t=1892108
For Sense ROMs: http://forum.xda-developers.com/show....php?t=1967897
______________________________________________
To use OTG with stock kernel:
Here's what you need:
-an OTG cable
-a USB Y-cable
-a usb perhipheral (eg: mouse, keyboard, thumb drive, etc)
The key to this working is 5V on the uplink to the phone. Most usb hubs do not supply 5V on the uplink! This is why I suggest a Y-cable.
1. connect the perhipheral device to the Y-cable
2. connect the y-cable to the AC power adapter that came with your phone
3. connect the other end of the y-cable to an OTG cable
4. connect the OTG cable to your One X
Here's a screenshot showing the mouse pointer:
Notes:
-the OTG cable automatically sets the USB controller to host mode
-usb-hid seems to be built into the kernel, no modules need to be loaded
-usb storage works, but has to be mounted manually
-tested on stock kernel and scrosler's cleankernel
|