USB Host mode on Defy

sykoism

Senior Member
Oct 5, 2011
105
26
0
Thanks to every developer here:)
We are now getting closer and closer to the USB host mode for defy:-D

Sent from my MB525 using XDA App
 

ofmb

Senior Member
Mar 3, 2011
561
169
0
Finally I bought my Defy, and began to do more research on it.

My first attempt was to turn on the VBUS 5V power supply for the USB port on Defy.
I have made it happened by insmod a dummy module with following piece of code executed during the module init:
Code:
#define MBASE 0xfa0ab000 //got from:
//data# dmesg|grep Peripheral
//[    8.125518] musb_hdrc: USB Peripheral mode controller at fa0ab000 using DMA,IRQ 92

void power_on_vbus(void)
{
	u8 reg;
	void __iomem *mbase = MBASE;

	reg = musb_readb(mbase, MUSB_TESTMODE);
	reg |= MUSB_TEST_FORCE_HOST;
	musb_writeb(mbase, MUSB_TESTMODE, reg);
}
You can see my USB modem attached to Defy has it's light ON!

Can you post the compiled kernel module for other people to try that?
 

gastgast1

New member
Oct 30, 2011
1
0
0
USB OTG cable

Hello
hath any one tested a USB OTG cable like this 3w.amazon.de/USB-OTG-Adapterkabel-Adapter-Kabel-Micro-USB-Stecker-USB-Kupplung-Buchse/dp/B005JDETZA ?

I have a Nokia 6600 Slider and the usb OTG function is not supportet but with a Usb OTG cable i can use a USB stick that is formatet with FAT32. The USB OTG cable will be set the USB controller in Host mode.
 

smileyint

Senior Member
Dec 31, 2006
79
3
38
I would love usb host capability on my defy after seeing the samsung otg usb cable. That would be cool to connect flash drives to mobile phones. :)
 

JC6ekLZG

New member
Nov 21, 2010
1
5
0
Hi all, finally I found a site providing the required binaries and solving that problem:

ok, i'm not permitted to post links ... so you have to complete. Just copy the line bellow into your address-field ;-)

foo.abmh.de/en/papers/android/defy/

I got OTP working on my Defy with Android 2.1.
 
Last edited:

hackergnome

Senior Member
Apr 21, 2011
2,610
869
0
Mumbai
Hi all, finally I found a site providing the required binaries and solving that problem:

ok, i'm not permitted to post links ... so you have to complete. Just copy the line bellow into your address-field ;-)

foo.abmh.de/en/papers/android/defy/

I got OTP working on my Defy with Android 2.1.
Wtf!!!

Omfg!!
foo.abmh.de/en/papers/android/defy/

Here's the link so u can click it
Thanks to the guy above me who found it!!!
**** this is crazy!!!!

Sent from my MB526 using xda premium
 
Last edited:

Matze5800

Senior Member
Sep 14, 2011
261
341
0
28
Thats freakin awesome!!! :O Gonna try that after i got the OTG cable, someone already tried with cm7?

Sent from my MB525 using xda premium
 

walter79

Recognized Developer
Dec 18, 2006
4,100
4,618
263
Hi all, finally I found a site providing the required binaries and solving that problem:

ok, i'm not permitted to post links ... so you have to complete. Just copy the line bellow into your address-field ;-)

foo.abmh.de/en/papers/android/defy/

I got OTP working on my Defy with Android 2.1.
Did it work only only on android 2.1?