[Q] Stock ROM OTG support - Galaxy S II Q&A, Help & Troubleshooting

Hello, I'm trying to use some USB devices with my phone but I can get nothing to work, apart from usb drives.
I'm using stock ICS 4.0.3, so first of all, is USB OTG support enabled for keyboards and mice?
Since the kernel isn't dumping a /proc/config.gz I can't check if it's enabled. Is there another way to check?
Also, is module support enabled for the stock kernel?
Have any of you successfully used USB keyboards and mice, or even better gamepads, with your GS2 on stock ICS? What models?
And finally, since I've been keeping my GS2 pretty much "stock", except from rooting, which custom kernel/rom out there offers most support for USB OTG. I'm especially interested in gamepads.
Also, on a more rhetorical level, why would a company not provide out-of-the-box support for USB OTG? I can understand not giving root access or overclocking capabilities, since those can damage your phone or increase performance, effectively increasing the life expectancy of the product, but why OTG? It's not like samsung produces branded gamepads or mice as accessories so enabling full OTG support would reduce sales or something. Does compiling all those drivers into the kernel increase the image size that much?

Rename general to Question and Answers please .
jje

This was more of a general talk thread, about the use of OTG on the galaxy, and not a specific question that I wanted answered, but whatever.
Any input?

+1 for USB OTG on Stock ICS 4.0.3
Sent from my GT-I9100 using xda premium

+1 to what exactly? Support for OTG? Does this mean that it's currently unsupported?
On a side note, I compiled joydev for the stock kernel ( GT-I9100_ICS_Opensource_Update4 ) but was unable to install it, insmod giving an "exec format error". Apparently this means that the kernel source I used is not the same version as on my phone? Or that the stock kernel does not support modules?
Any dev insight on this?

shamelessly bumping this.

Related

Looking for a custom ROM / drivers

Guys,
I have a CM802 Android 2.2 tablet that I would like to support external USB devices. My problem right now is that the default ROM doesn't seem to have USB host drivers, and I have no idea where to look. Can you guys point me in the right direction?
Thanks!
I don't know your hardware, but your android version should have no support for both usb host mode and USB otg. If you upgrade and hardware is ready, maybe. But very likely you'll need the kernel USB modules sources and a dev to compile them especially for that build. That's why on my se xperia x10 such feature is still missing ...
The hardware has support for it, and I don't care what version of Android I end up with, as long as there's support. I also don't mind installing them myself, but would like some direction as to where to find the modules.
have you tried going to the manufactures website?
Wrycu said:
The hardware has support for it, and I don't care what version of Android I end up with, as long as there's support. I also don't mind installing them myself, but would like some direction as to where to find the modules.
Click to expand...
Click to collapse
You will need to compile a proper kernel with support for it. There have been a few on the site that have done it for a few devices but it is not an overly popular mod
Well, I have just seen a site where they sell the android 2.3 version of the same device which seems to have the USB otg support. In any case, the first step must be one upgrading at least to android 2.3...
lucaoldb said:
Well, I have just seen a site where they sell the android 2.3 version of the same device which seems to have the USB otg support. In any case, the first step must be one upgrading at least to android 2.3...
Click to expand...
Click to collapse
the kernel would have been made to support it on that device. After building 2.3 from android source code I can say that it is not there by default.
Thanks, I agree that is not supported by default but maybe they had actually patched a kernel with those modules, though such kind of sites are not very reliable...
zelendel said:
the kernel would have been made to support it on that device. After building 2.3 from android source code I can say that it is not there by default.
Click to expand...
Click to collapse
Can you guys link me to the modules or whatever? Again, I'm perfectly willing to build the kernel from source myself, as long as I can have a little direction.
Any help? Links, information, tutorials.. whatever you can give me would be awesome, Internet <3.
Oh, and sorry for the double post.

Looking for xpad.ko for stock SGS2 with 4.1.2

I have a couple of generic Android tablets, one based on the Allwinner A10 chipset and the other based on Rockchip RK3066. With both tablets I was able to get hold of a build of xpad.ko, the Xbox controller driver for wired and wireless Xbox controllers, and with a little jiggery-pokery they both work pretty well with supported apps.
However for my SGS2 I have searched high and low for a build of xpad.ko that will work with the stock 4.1.2 rom I have on the phone and I can't find anything.
Does anyone know of a standalone download of xpad.ko I could use, or a kernel I could flash with it baked in? I really don't want to flash a whole new ROM though, I'm pretty happy on stock.
Kind regards
Dave
FWIW my USB OTG support seems to be working fine, I tried with a USB keyboard and mouse and a pendrive and all seems to be well.

Any OTG Capable Roms For This Device

I was wondering if this device has ever gotten OTG capabilities through a custom Rom or Kernel...if so...please direct me to the proper links...thank you.

EHCI controller - XHCI patch ?

Hi Guys,
Not sure where to ask this but would it be possible to patch the following in one of the kernels for RN3 Kate?
Im trying to use NXLoader,but apparently it doesn't support it because it has an EHCI controller, not XHCI.
Apparently this can be done,but i have no idea how to do it
"not patch to xhci, simply patch ehci to behave the way we want it to.
https://github.com/fail0verflow/shofel2/blob/master/linux-ehci-enable-large-ctl-xfers.patch"
Thanks for all the help
Even I am trying to use NXLoader to send payload to my Switch. I even tried Rekado (another app) and it has the same issue. Here's what the creator of the app had to say...
@aKMTR not patch to xhci, simply patch ehci to behave the way we want it to.
https://github.com/fail0verflow/shofel2/blob/master/linux-ehci-enable-large-ctl-xfers.patch
You will need to recompile your kernel to do this most likely, although I did write a "hotpatch" script for desktop linux systems: https://gist.github.com/DavidBuchanan314/41b12362cc4d8c539dc441d75155f2e9
I can't really help you from here. but if you do figure it out please document what you did so others can follow along.
Click to expand...
Click to collapse
Current, I am on latest global stable stock MIUI on RN3. I can upgrade to any rom if it supports this modification.
Thanx a lot in advance. Desperately waiting for a reply.
I've been told that installing a custom kernel and then adding a script to it can help. Can some devs of a kernel help us with this, please.
Edit: I just tried out Rekado on my wife's Honor 7X phone (which also has Micro USB port) and it just worked. It's a brand new phone and has no root, etc.

Question GSI that enables USB OTG and Charge?

Does anyone know which if any of the GSIs will support USB OTG and charge at the same time? I am trying to run OctoPrint and the stock firmware doesn't allow it.
that would more likely be kernel related, maybe you can ask one of the kernel devs to implement this.

Categories

Resources