Jump to content


Photo

USB host mode

- - - - -

  • Please log in to reply
99 replies to this topic

#41
wishmasterf

wishmasterf

    Enthusiast

  • Members
  • PipPipPip
  • 236 posts

"XCD 35 open source code for Android Eclair" → Android 2.1 → kernel 2.6.29

Is it possible to add support for "ZTE BLADE series-Froyo kernel(2.6.32)" (source http://support.zte.c...x?type=service)?

Edited by wishmasterf, 20 January 2011 - 12:43 PM.

  • 0

#42
Phoenix Silver

Phoenix Silver

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 1,839 posts
  • Gender:Female
  • Location:Strasbourg.
  • Devices:ZTE Blade Orange France
  • Twitter:@phoenixbjp
i think it would be a good idea to use all this stuff with a usb hub

  • 0
Si le corps est mortel, l’âme elle est éternelle.

#43
oh!dougal

oh!dougal

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,022 posts
  • Location:England
  • Devices:DX2 FroYo San Francisco

Is it possible to add support for "ZTE BLADE series-Froyo kernel(2.6.32)" (source http://support.zte.c...x?type=service)?


Since Sven's original work was on 2.2 (for his Nexus One), my belief is that it should not be particularly hard to do.

However, to be truly useful, there needs to be some EASY way of host/slave mode switching.
As noted upthread, Paul knocked together a switcher for the Advent tablet.
Just another small piece of the jigsaw that is 'almost there'.

Of course the best means of mode switching would be the standard cable-select 'USB On The Go' (OTG) method ...

  • 0

#44
wishmasterf

wishmasterf

    Enthusiast

  • Members
  • PipPipPip
  • 236 posts

Since Sven's original work was on 2.2 (for his Nexus One), my belief is that it should not be particularly hard to do.

However, to be truly useful, there needs to be some EASY way of host/slave mode switching.
As noted upthread, Paul knocked together a switcher for the Advent tablet.
Just another small piece of the jigsaw that is 'almost there'.

Of course the best means of mode switching would be the standard cable-select 'USB On The Go' (OTG) method ...



Is there anything planed yet?

Edited by wishmasterf, 28 January 2011 - 09:50 PM.

  • 0

#45
wishmasterf

wishmasterf

    Enthusiast

  • Members
  • PipPipPip
  • 236 posts
is that project dead?

  • 0

#46
wishmasterf

wishmasterf

    Enthusiast

  • Members
  • PipPipPip
  • 236 posts

is that project dead?


ok seams dead....

  • 0

#47
hecatae

hecatae

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,200 posts
  • Gender:Male
  • Location:northampton
  • Devices:Samsung i9305
  • Twitter:@meritez

ok seams dead....


the zte 2.6.32 github has usb host mode added already, just no apk has been created to switch between host and slave modes

  • 0

#48
oh!dougal

oh!dougal

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,022 posts
  • Location:England
  • Devices:DX2 FroYo San Francisco
Well, my OTG-compatible cable has arrived from China, but I'm now rather wedded to 2.2 and Sven's Blade stuff was for 2.1 ... :(

  • 0

#49
FelixL

FelixL

    Enthusiast

  • Members
  • PipPipPip
  • 196 posts
  • Location:Germany
  • Devices:San Francisco, Moto Defy

the zte 2.6.32 github has usb host mode added already, just no apk has been created to switch between host and slave modes



Sorry for the push off the old thread, but which github do you mean? TomG's?
https://github.com/T...ernel_zte_blade

  • 0

#50
hecatae

hecatae

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,200 posts
  • Gender:Male
  • Location:northampton
  • Devices:Samsung i9305
  • Twitter:@meritez

Sorry for the push off the old thread, but which github do you mean? TomG's?
https://github.com/T...ernel_zte_blade


https://github.com/Z...TE-BLADE-2.6.32

not investigated Tom G's

https://github.com/Z...drivers/usb/otg < OTG which allows usb host mode

config USB_MSM_OTG_72K
bool "OTG support for Qualcomm on-chip USB controller"
depends on ARCH_MSM
select USB_OTG_UTILS
default USB_MSM_72K
help
Minimal tranceiver driver which would start/stop the host/gadget
depending on ID and VBUS interrupts.


Edited by hecatae, 26 March 2011 - 04:47 PM.

  • 0

#51
FelixL

FelixL

    Enthusiast

  • Members
  • PipPipPip
  • 196 posts
  • Location:Germany
  • Devices:San Francisco, Moto Defy
Just noticed that its enabled in the experimental host for CM7:
http://android.modac...tal-cm7-kernel/

Experimental kernel update 21st March 2011:
Features:
USB OTG... (anyone has the actual adapter for USB otg....?) this part is untested....


I've waited for this a long time, tried to compile my own kernel to get it working, and now I have wasted 5 days because I didn't read this :D
-->testing

  • 0

#52
dtgagaddg

dtgagaddg

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:ZTe
  • Twitter:@dad
Sven Killig congratulations and tnks for work on this kernel
as soon as someone can get this work on cm7 make me know
i also like to know if i connect a 3g modem it will work ??
and if i do a cable like this it will work ??
sorry about the english
thanks Sven Killing

Edited by dtgagaddg, 07 April 2011 - 09:57 PM.

  • 0

#53
dtgagaddg

dtgagaddg

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:ZTe
  • Twitter:@dad
how to push drivers to folder modules ?
adb push drivers /system/lib/modules ??
push the drivers and the folders or only the folders ?
i´´m really confused
help please

  • 0

#54
spaic

spaic

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:spv c500, Mio P350
Any chance this could be done to the LG P500/Optimus One?

The chipset is the same, not sure if it can provide power to USB in OTG mode, but that would not be a very big issue.

Also, when connecting the power supply it says something about "USB OTG going into low power mode" in dmesg.

Have tried with a hacked OTG cable and external power supply for the USB hub, but it behaves just like connecting a charger.

  • 0

#55
nfh

nfh

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:ZTE Blade
I'm trying to figure out if the Japanese Jellyfish ROM has support for USB OTG. Does anyone know anything about that?
All I'm trying to do is to connect my digital camera do my phone in order to push some photos to the phone when I'm not near a PC.

  • 0

#56
Plxply

Plxply

    Newbie

  • Members
  • Pip
  • 47 posts
Just to let everyone know, it has been announced that Android 3.1 will contain USB Host mode.

  • 0

#57
nfh

nfh

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:ZTE Blade

Well, my OTG-compatible cable has arrived from China, but I'm now rather wedded to 2.2 and Sven's Blade stuff was for 2.1 ... :P


Where did you purchase your cable, and what is the exact model?

Edited by nfh, 28 May 2011 - 01:16 AM.

  • 0

#58
LVL91

LVL91

    Regular

  • Members
  • PipPip
  • 55 posts
  • Devices:Meizu M8, HTC Desire, OSF

Where did you purchase your cable, and what is the exact model?

Just search for 'micro usb host' on Ibay and set it to price + shipping lowest first.
First result will do I guess. You just need a male micro usb to a female regular usb. Do not buy the usb host adapters for the nokia N8, this micro usb male is different(it's rectangular, the corners won't fit on our blade's regular micro usb female port) from the other micro usb male connectors.
*Praying for USB-host on CM7*

Edited by LVL91, 30 May 2011 - 09:58 PM.

  • 0

#59
anneliese

anneliese

    Newbie

  • Members
  • Pip
  • 35 posts
Could you please attach a link to the cable you bought?

Anyone any idea what exactly has to be done to enable/disable USB host mode?

  • 0
waiting for Wednesday

#60
LVL91

LVL91

    Regular

  • Members
  • PipPip
  • 55 posts
  • Devices:Meizu M8, HTC Desire, OSF

Could you please attach a link to the cable you bought?

Anyone any idea what exactly has to be done to enable/disable USB host mode?

Sorry, I can't advertise, just search as I said above your post.

Edited by LVL91, 31 May 2011 - 10:02 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users