USB OTG

TamCore

Senior Member
Jul 8, 2010
665
649
0
28
Düsseldorf
tamcore.eu
@SebastianFM Which kernel options you've enabled for USB-OTG? Currently I've enabled CONFIG_SCSI, CONFIG_USB_STORAGE and CONFIG_USB_OTG_HOST. NTFS was already enabled. Do I need more? Also it would be nice if you could push your config to your repo.
 

SebastianFM

Senior Member
Dec 13, 2009
640
5,305
0
38
Warsaw
@SebastianFM Which kernel options you've enabled for USB-OTG? Currently I've enabled CONFIG_SCSI, CONFIG_USB_STORAGE and CONFIG_USB_OTG_HOST. NTFS was already enabled. Do I need more? Also it would be nice if you could push your config to your repo.
Do you know that you can obtain config directly from kernel (/proc/config.gz)?
 

SebastianFM

Senior Member
Dec 13, 2009
640
5,305
0
38
Warsaw
I had asked that yesterday too, but still no answer right now ;)
You don't need any rare cables. Every USB OTG Adapter with Micro USB Male and USB A Female should work.
There are several ways to connect USB peripherals to USB OTG Adapter, I'll describe this later in more detail.

I found Micro USB Host OTG Cable With USB power which probably could replace both USB OTG Adapter and USB Y Cable.

I know that many of HTC Sensation owners already uses the USB OTG, please give some feedback to the others.

I'm still working on USB OTG. Next version of my kernel will support HID devices.
I succesfully connected at the same time: 250 GB USB HDD, 8 GB USB stick, USB mouse, Logitech wireless keyboard and mouse with USB receiver using USB OTG Adapter and USB Hub with external power supply.
 
Last edited:

kgs1992

Senior Member
May 8, 2012
1,482
1,881
0
Bangalore
The cables used in the picture in the OP:
White cable: USB Y cable 2 Type A to mini 5
Black cable: USB cable 1 Female Type A to micro
Not sure this is spot on, but google this, you will get similar cables.
 

Stephen

Senior Moderator / Moderator Committee Ban Time!
Staff member
Jul 14, 2010
14,766
17,063
263
40
Northern Ireland
Wow that is awsome! These phones have faster processors than the PC I use in work!! If I could just work out how to connect an external screen I could replace the PC :) I am thinking a hammer or mallet might be needed! This is awsome work Sebastian.
 

Quincux

Senior Member
Jul 19, 2010
521
43
0
Santiago
Wow that is awsome! These phones have faster processors than the PC I use in work!! If I could just work out how to connect an external screen I could replace the PC :) I am thinking a hammer or mallet might be needed! This is awsome work Sebastian.
MHL - HDMI adapter, works good.

Sent from my HTC Sensation powered by ViperS 1.1.0

---------- Post added at 05:18 PM ---------- Previous post was at 05:17 PM ----------

You don't need any rare cables. Every USB OTG Adapter with Micro USB Male and USB A Female should work.
There are several ways to connect USB peripherals to USB OTG Adapter, I'll describe this later in more detail.

I found Micro USB Host OTG Cable With USB power which probably could replace both USB OTG Adapter and USB Y Cable.

I know that many of HTC Sensation owners already uses the USB OTG, please give some feedback to the others.

I'm still working on USB OTG. Next version of my kernel will support HID devices.
I succesfully connected at the same time: 250 GB USB HDD, 8 GB USB stick, USB mouse, Logitech wireless keyboard and mouse with USB receiver using USB OTG Adapter and USB Hub with external power supply.
Awesome work. Thanks mate.

Sent from my HTC Sensation powered by ViperS 1.1.0
 

MMoodyB

Senior Member
Jul 22, 2011
266
69
0
Motherwell
I'm still working on USB OTG. Next version of my kernel will support HID devices.
I succesfully connected at the same time: 250 GB USB HDD, 8 GB USB stick, USB mouse, Logitech wireless keyboard and mouse with USB receiver using USB OTG Adapter and USB Hub with external power supply.
Excellent. HID support will be very welcome.

You'll save me £20 as I won't need to buy a PS3 controller, so expect a donation for a few beers once its released :)
 

SebastianFM

Senior Member
Dec 13, 2009
640
5,305
0
38
Warsaw
Are you in stock Rom.?suggest a Rom for testing

Sent from my HTC Sensation Z710e using Tapatalk 2
I test USB OTG on stock ROM, ViperS 1.1.0 and newest Virtuos Inquisition. There is no difference for me.
On ViperS 1.1.0 files from automatically mounted first FAT/FAT32 partition of USB storage won't be added to Media Library because this ROM is based on HTC Ville C2 ROM and it hasn't added /sdcard/usb directory to storage list. I sent PM to m0narx.
 

luis4ever

Senior Member
Apr 16, 2009
1,472
812
0
Salamanca
USB is mounting on ViperS without the need of doing something else. If i plug USB on HUB i can see the images and the Music with native apps on Sense. Also DS3 is supported!!!
 

Quincux

Senior Member
Jul 19, 2010
521
43
0
Santiago
I I have a issue: when I connect USB hub and ac power on OTG adapter , the screen go crazy!

Kernel 1.5.2, ROM ViperS 1.1.0

Sent from my HTC Sensation powered by ViperS 1.1.0