Jump to content

USB host mode


Guest Sven Killig

Recommended Posts

Guest Sven Killig
Great stuff, can this be added to the main git archive for the blade kernel so it's in all releases?

I wanted to do a fork on github like I did on the Nexus One, but I'm confused what kernel tree the definite one would be.

Edited by Sven Killig
Link to comment
Share on other sites

Guest fonix232
No, it's Micro AB.

Actually, the screenshot is shitty, the Nokia N8 uses the same standard MicroUSB B port what all Nokia phones (I am charging my Blade with my old 5800's USB cable).

And yes, the power question is another one, any way to redirect power-out in kernel to the port?

Link to comment
Share on other sites

  • 3 weeks later...
How to do this? :D

Which rom needed for this hack?

Thanks for everyone! :P

You'll have to build one yourself or wait until someone includes the additional code.

Link to comment
Share on other sites

Guest hecatae
How to do this? :D

Which rom needed for this hack?

Thanks for everyone! :P

until a rom is created you would have to push the modules to your phone.

though hold off until it's found if this http://sven.killig.de/android/Blade/usb_host/boot.img boot.img is TFT compatible.

where is Sven when you need him

Edited by hecatae
Link to comment
Share on other sites

Guest oh!dougal
...

though hold off until it's found if this http://sven.killig.de/android/Blade/usb_host/boot.img boot.img is TFT compatible.

where is Sven when you need him

Sven's own Blade came from Switzerland, and thus (pretty much certainly) would have a TFT screen.

And anyway a TPT install/partition can sort out any post-experimentation colour problems by reflashing.

This is something waiting to be picked up by a rom Dev ...

I've already told kallt some times, but looks like he don't want to include it :S

My guess is that with the popularity of his Jellyfish among n00bs, kk already has his hands more than full with basic support questions.

Something like this, unexpected by newcomers and requiring at least some different cabling, would likely significantly add to his support burden.

Maybe when things have settled down a little ...

... unless anyone wants to make this their specialist subject, as an add-in package? (It shouldn't be rom-release-version dependent, should it?)

Do we need Blade-specific mode-switching scripts, or anything else like that?

Edited by oh!dougal
Link to comment
Share on other sites

Guest oh!dougal
...

Do we need Blade-specific mode-switching scripts, or anything else like that?

Seems that Host Mode was unlocked on the Advent Vega (tablet) just before Christmas

here's a guide http://android.modaco.com/content/advent-v...de-to-usb-host/

and lots of people found that lots of devices would work

http://android.modaco.com/content/advent-v...devices-a-list/ (5 page thread)

and before New Year someone called "Paul" had written a little 'mode switcher' app

http://android.modaco.com/content/advent-v...slave-switcher/ (4 page)

...

P.S. I'll be posting the source for this on my GitHub when I've tidied it up a little. :D

"Soon" ...

I expect it would make a good starting point for a Blade mode-switcher ...

Link to comment
Share on other sites

Guest oh!dougal
have you tried the app, might work as is

Not tried.

If I thought that the host-mode stuff on the Advent bore a close relation to Sven's work, then perhaps.

I believe its just going to be a simple user interface for

if

button_A then (run a little script as root)

elseif

button_B then (run the other little script as root)

endif

where both the relevant scripts are part of the Advent host mode zip download

I don't think Sven scripted his work. (An exercise for the reader?)

Edited by oh!dougal
Link to comment
Share on other sites

Guest oh!dougal
Is it possible to add support for "ZTE BLADE series-Froyo kernel(2.6.32)" (source http://support.zte.com.cn/support/news/New...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 ...

Link to comment
Share on other sites

Guest wishmasterf
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
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
Guest hecatae
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

Link to comment
Share on other sites

Guest oh!dougal

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 ... :(

Link to comment
Share on other sites

  • 4 weeks later...
Guest hecatae
Sorry for the push off the old thread, but which github do you mean? TomG's?

https://github.com/TomGiordano/kernel_zte_blade

https://github.com/ZTE-BLADE/ZTE-BLADE-2.6.32

not investigated Tom G's

https://github.com/ZTE-BLADE/ZTE-BLADE-2.6....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
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.