right now i'm on stock firmware, but when was on cm11 i dont see USB STORAGE
Rebooting would overwrite values, this won't help.
Also USB Storage has nothing to do with OTG power, it's just disabled in CM.
BTW. On Moto G I don't even have such a directories.
I'll contact @F4k tommorow.Ask some experienced dev to port USB and battery (conflicting with OTG) driver from a different phone.
ofc I mean someone who has S4 Mini
This is very interesting. If I connect USB peripheral, device DETECTS its connection, but it doesn't send power. I'm using common USB OTG cable, not the Y one. Here's a sample from dmesg:
<6>[ 6537.737127] tsu6721_irq_thread is called
<6>[ 6537.739721] tsu6721 15-0025: tsu6721_irq_thread: intr : 0x1 intr2 : 0x0
<3>[ 6537.762611] tsu6721 15-0025: dev1: 0x80, dev2: 0x0, dev3: 0x0, ADC: 0x0 JigFF
<6>[ 6537.769295] tsu6721_attach_dev Save state
<6>[ 6537.769326] [MUIC] OTG Connected
<6>[ 6537.771004] tsu6721_callback OTG is attached
<6>[ 6537.771004] sec_otg_set_id_state 391: msm_otg_set_id_state is called
<6>[ 6537.771035] msm_otg msm_otg: MUIC: ID clear
My dmesg is attached down. I'm using CarbonRom with the latest f4ktionKernel 1.3.6 now.
UPDATE: And here we go! Developers! Come on!
https://github.com/omega-roms/omega_kernel_N9005/blob/master/include/linux/i2c/tsu6721.h
https://github.com/omega-roms/omega_kernel_N9005/blob/master/drivers/misc/tsu6721.c
I did a little research, but could not find anyone who successfully patched a kernel of a device to provide power through usb port for otg support.
I only found examples where people managed to integrate usb-otg with external power source.
So I don't know if it's even possible, because if it was, a skilled developer would have done so...
I did a little research, but could not find anyone who successfully patched a kernel of a device to provide power through usb port for otg support.
I only found examples where people managed to integrate usb-otg with external power source.
So I don't know if it's even possible, because if it was, a skilled developer would have done so...