USB OTG For JB Kernel

Search This thread

ess.boyer

Senior Member
Jun 11, 2012
600
218
Saint John, NB
Is there anyone currently testing JB builds that is able to test USB OTG if I were to (try to) enable it in a JB kernel, especially someone on PAC?
 

l0000l

Senior Member
Jan 1, 2012
161
4
I enable this for sense 4.1 devchun
It work for me but wifi and some module don't work after that. Don't have enough skill about kernel so I post in general section if anyone compile maybe wifi work after that.

About aosp kernel. I'm not sure if support otg host. Did you have any source ? I will test

Sent from my HTC Raider X710e using xda app-developers app
 

ess.boyer

Senior Member
Jun 11, 2012
600
218
Saint John, NB
Do you test the JB roms out? If you're running PAC I have a kernel you can try out that should have OTG enabled. I just don't have a cable handy to test it.
 

l0000l

Senior Member
Jan 1, 2012
161
4
I have pac and I have cable. I can test
Send me kernel
Kernel is for holiday ?

Sent from my HTC Raider X710e using xda app-developers app
 

ess.boyer

Senior Member
Jun 11, 2012
600
218
Saint John, NB
Here's the kernel that should have OTG enabled.
It is indeed built against PAC for Holiday. Should have all of Homestyle's latest fixes in it as well.

If you can confirm this works, I'll submit the patch to Homeslice/h8 for inclusion in future PAC/PA/CM10 builds.
 

Attachments

  • boot.img
    3.5 MB · Views: 70
Last edited:

l0000l

Senior Member
Jan 1, 2012
161
4
no it doesn't work.
i attach 2 screenshot. for sense base kernel that i change(worked) and your kernel (not work)
i test on a hard disk with 3 ntfs partition with an app to mount ntfs partition (paragon ntfs)
 

Attachments

  • Screenshot_2013-01-10-00-02-15.jpg
    Screenshot_2013-01-10-00-02-15.jpg
    10.9 KB · Views: 259
  • Screenshot_2013-01-09-23-41-00.jpg
    Screenshot_2013-01-09-23-41-00.jpg
    26.6 KB · Views: 314

ess.boyer

Senior Member
Jun 11, 2012
600
218
Saint John, NB
no it doesn't work.
i attach 2 screenshot. for sense base kernel that i change(worked) and your kernel (not work)
i test on a hard disk with 3 ntfs partition with an app to mount ntfs partition (paragon ntfs)

Thanks. I can't see your screen shots though... I see there's an attachment but there are no images displaying.
 

l0000l

Senior Member
Jan 1, 2012
161
4
i attach 2 pic in attachment (.png)

can you see at my post in general.
need some help for kernel compile
 

ess.boyer

Senior Member
Jun 11, 2012
600
218
Saint John, NB
I think I figured out what I was missing, and am building again. I'll have a new kernel to try out either tonight or tomorrow.

Thanks for testing this for me 10001!
 
  • Like
Reactions: ziddey

l0000l

Senior Member
Jan 1, 2012
161
4
How exactly did you add it? It will help unless aosp is different

Sent from my HTC Vivid 4G

I make a thread in general section 'who can compile kernel for me' if you have knowledge about compiling can you compile it.
When I compile it. Some modules like wifi not works :confused:

Sent from my HTC Raider X710e using xda app-developers app
 

l0000l

Senior Member
Jan 1, 2012
161
4
Please pm me leatest kernel source with all fix for cm10. Maybe I can enable otg host

Sent from my HTC Raider X710e using xda app-developers app
 

l0000l

Senior Member
Jan 1, 2012
161
4
don't work again.

can i see this kernel source ?

see attachment. otg in sense kernel will work with this files
 

Attachments

  • change.zip
    54.5 KB · Views: 28
Last edited:

ess.boyer

Senior Member
Jun 11, 2012
600
218
Saint John, NB

Attachments

  • board-holiday.c
    189.7 KB · Views: 8
  • devices-msm8x60.c
    64.8 KB · Views: 5

l0000l

Senior Member
Jan 1, 2012
161
4
i try and try but can't do for this. some guys says aosp kernels don't have usb driver needed for otg.:(

maybe h8 can do this. he made this for OneX before
 

ess.boyer

Senior Member
Jun 11, 2012
600
218
Saint John, NB
Okay, so I found the drivers for OTG. I'm going to patch them into the kernel tonight, along with the code already present to enable it. I will also incorporate the changes required to fix the mass storage issue, or use Homeslice's fix of replacing the entire driver if I can't get it by cherry picking fixes. Hopefully the next post on here from me with be one with a kernel that has both the mass storage fix, and OTG.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Okay, so I found the drivers for OTG. I'm going to patch them into the kernel tonight, along with the code already present to enable it. I will also incorporate the changes required to fix the mass storage issue, or use Homeslice's fix of replacing the entire driver if I can't get it by cherry picking fixes. Hopefully the next post on here from me with be one with a kernel that has both the mass storage fix, and OTG.
    1
    I think I figured out what I was missing, and am building again. I'll have a new kernel to try out either tonight or tomorrow.

    Thanks for testing this for me 10001!