Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-05-09, 11:06
SpeedEvil's Avatar
SpeedEvil SpeedEvil is offline
 
Join Date: Sep 2009
Location: Fife, Scotland.
Posts: 70
Thanks!: 54
Thanked 410 Times in 38 Posts
Default USB HOST MODE! (Coming soon)

Through the efforts of many - this has been achieved - at least in basic form.
The n900 detected two USB devices - though did not have drivers for them.

Egoshins post of earlier today. http://talk.maemo.org/showpost.php?p...&postcount=808

This is _not_ quite user-ready yet - but with the addition of http://talk.maemo.org/showpost.php?p...&postcount=803 - USB internal power - first got working by joerg http://talk.maemo.org/member.php?u=35572 it's almost there!

In a week or two - we should be able to (with the appropriate cable) plug in (low powered) memory sticks or keyboards, and have it work. Or high powered stuff through USB hubs.

This includes stuff that vastly expands the possibilities for the n900 - imagine a USB display adaptor showing a 'normal' desktop on any LCD.

However - this requires a fair bit of software work.

Getting to a state where this is user friendly requires work on understanding BME.
BME is the battery managment entity.

This controls many aspects of the phones power subsystem, and it looks like that to get powered hostmode at the moment, this needs to be killed/suspended. This means the phone won't charge when plugged in, and requires all sorts of hackery to pause BME.

Workarounds for this would be great, but it's going to take some effort.

To collaborate on this if you have kernel or reverse engineering skills: (we do not at this time need user perspectives, we know that plugging stuff into USB is cool. If you want to participate - thank those involved in the effort)

http://wiki.maemo.org/N900_Software_BME Reverse engineering of BME, and ways to get it to cooperate.
http://wiki.maemo.org/N900_Hardware_USB_Host USB host mode - kernel and userspace details.
http://wiki.maemo.org/N900_Hardware_USB An overview.

IRC - #maemo-hostmode-discussion on irc.freenode.com
Reply With Quote
The Following 232 Users Say Thank You to SpeedEvil For This Useful Post:
*Sonic*, 0x47, abill_uk, aclucas, acou, adancau, afaq, ahmadamaj, ahmoda, ajack, ajax1, AlMehdi, anaskr, andree, ArchiMark, arjunkumar87, arnest, AtteK0, attila77, Austinek, azstunt, azz, b-man, bald.eagle.one, Bec, Berserk, Bingley Joe, BN900, bobbydoedoe, borghal, Bratag, bunanson, Bundyo, Caesium, cardiff-blues, Catacylsm, cb22, ChadiM, checholin, cheve, ChoMar, Chrome, clasificado, clearorca, Cobra, codeMonkey, Corwin, Crashdamage, Crogge, Cue, d14_, Dak, dannym, deadmalc, debernardis, denix, donaggio, Dousan, dwaradzyn, ear0wax, eber42, ed00, eiffel, Enjoynt, Erebo, Exact, F2thaK, fake, Farooq, fatalsaint, felbutss, fhofer, filologen, frals, Fumanchu, Fötus, GameboyRMH, giannoug, gordonshowers, gs1, gunni, hardkorek, harp, Haus3r, HellFlyer, hellnick, Higgsboson, Hmoobwarrior, hofman, HtheB, imperiallight, infernalrob3rt, ioan, ivyking, jakiman, james174, Janniman, jcharpak, jerm, JinxeD, joerg_rw, johnel, joppu, jorjino, Kajko, KC1950, Kee, Kegetys, kevloral, klinglerware, kojacker, kwurk, lardman, luizcesta, lukash, Lullen, Magik, maguitodelrock, Maj3stic, majesty, maluka, Mandor, Marklar, mark_ireland, Martyman, matze, max_power, mece, Mentalist Traceur, mikec, mikki-kun, mivoligo, mmurfin87, mnaveed, MOC, MohammadAG, morusaka, mrbiggzz79, MrGrim, mrl0n3ly714, mtran66, musculus, mveplus, mybsearch, mymybib, n0ak, nashith, neboja, Netweaver, newbe, niGhT, niv, nux, obhishap, oldnetdog, ossipena, OVK, PathFinder@9GS, Patola, PhonoN900, Pigro, pillar, pyromaniac, quingu, RafaLL92, railroadmaster, Renesis, resplendent2209, rnb89, Rob1n, robbie, RogerTHAcctant, S0urcerr0r, SAABoy, saadgadit, saxen, sbock, schnaffs, Siggen, sjgadsby, skalogre, skoteinos, skzo, slaxe, slender, smartin737, sony123, sophocha, spanner, SpideyBR, SR90, stayloa, stetam, stone17, Stonik, SubCore, syncdot, t7g, telecomgeek79, tetris11_, texaslabrat, thearcane, thecubed, thommy, thp, Tiboric, Tinnet, tissot, travik, Tsippaduida, twoboxen, unique, v13, v2px, vdx29, Venemo, vinc17, vkv.raju, vvaz, Wanker, Wassili, white_ranger, wmarone, woob, xperto, zappa, ZogG, zvogt, zwer, ~phoenix~
  #2  
Old 2010-05-09, 11:10
Shady 91' Shady 91' is offline
 
Join Date: Mar 2010
Location: Tricase, Lecce (ITA)
Posts: 84
Thanks!: 19
Thanked 11 Times in 7 Posts
Default Re: USB HOST MODE! (Coming soon)

in my opinion, nokia in the next update (maybe pr 2.0 ), will introduce the USB OTG with same nokia USB OTG adapter that will include in the n8 package.
Reply With Quote
  #3  
Old 2010-05-09, 11:14
kinipyon kinipyon is offline
 
Join Date: Feb 2010
Location: Helsinki
Posts: 51
Thanks!: 6
Thanked 57 Times in 15 Posts
Default Re: USB HOST MODE! (Coming soon)

Quote:
Originally Posted by Shady 91' View Post
in my opinion, nokia in the next update (maybe pr 2.0 ), will introduce the USB OTG with same nokia USB OTG adapter that will include in the n8 package.
Mmm. Why then Nokia did disable the function in the first place?

Because it did'nt met the USB Foundation requirements, it had to be disabled.
Reply With Quote
  #4  
Old 2010-05-09, 11:20
Shady 91' Shady 91' is offline
 
Join Date: Mar 2010
Location: Tricase, Lecce (ITA)
Posts: 84
Thanks!: 19
Thanked 11 Times in 7 Posts
Default Re: USB HOST MODE! (Coming soon)

maybe is marketing. If nokia activate the usb OTG, how many people acquire the cable?

I'm the first
Reply With Quote
  #5  
Old 2010-05-09, 11:28
rpgAmazon's Avatar
rpgAmazon rpgAmazon is offline
 
Join Date: Jan 2010
Location: Spain
Posts: 146
Thanks!: 137
Thanked 119 Times in 68 Posts
Default Re: USB HOST MODE! (Coming soon)

Quote:
Originally Posted by Shady 91' View Post
maybe is marketing. If nokia activate the usb OTG, how many people acquire the cable?

I'm the first
Second here! How many units "are" available?
Reply With Quote
  #6  
Old 2010-05-09, 11:47
joerg_rw's Avatar
joerg_rw joerg_rw is offline
 
Join Date: Mar 2010
Location: SOL 3
Posts: 2,222
Thanks!: 3,399
Thanked 12,651 Times in 1,970 Posts
Default Re: USB HOST MODE! (Coming soon)

Quote:
Originally Posted by kinipyon View Post
Mmm. Why then Nokia did disable the function in the first place?

Because it did'nt met the USB Foundation requirements, it had to be disabled.
exactly.
Read here http://talk.maemo.org/showthread.php...577#post643577 (last greenish colored §), and also the links posted by speedevil above
/jOERG
Reply With Quote
The Following 7 Users Say Thank You to joerg_rw For This Useful Post:
  #7  
Old 2010-05-09, 11:48
rash.m2k rash.m2k is offline
 
Join Date: Aug 2008
Posts: 642
Thanks!: 15
Thanked 486 Times in 228 Posts
Default Re: USB HOST MODE! (Coming soon)

respect! you guys are ****ing geniuses!
Reply With Quote
The Following User Says Thank You to rash.m2k For This Useful Post:
  #8  
Old 2010-05-09, 12:11
joerg_rw's Avatar
joerg_rw joerg_rw is offline
 
Join Date: Mar 2010
Location: SOL 3
Posts: 2,222
Thanks!: 3,399
Thanked 12,651 Times in 1,970 Posts
Default Re: USB HOST MODE! (Coming soon)

if you like to catch up with what's been going on at the hostmode front during the last few weeks, I suggest you skip the whole bunch at start and read http://talk.maemo.org/showthread.php...950#post588950 and followups.
Quick summary:
http://talk.maemo.org/showthread.php...339#post649339
http://talk.maemo.org/showthread.php...145#post650145

Last edited by joerg_rw; 2010-05-09 at 12:51.
Reply With Quote
The Following 9 Users Say Thank You to joerg_rw For This Useful Post:
  #9  
Old 2010-05-09, 12:14
abill_uk abill_uk is offline
Banned
 
Join Date: Feb 2010
Posts: 3,412
Thanks!: 1,862
Thanked 1,043 Times in 730 Posts
Default Re: USB HOST MODE! (Coming soon)

EXCELLENT WORK you guys just goes to prove what the N900 will be capable of EVENTUALLY !.
Problem left is the poor design of the usb port.
Reply With Quote
  #10  
Old 2010-05-10, 11:25
blue_led blue_led is offline
 
Join Date: Jan 2010
Location: Romania
Posts: 306
Thanks!: 112
Thanked 566 Times in 186 Posts
Default Re: USB HOST MODE! (Coming soon)

I will reverse engineering of BME for food... ah my english, sorry ... for free
I want disassemble but i don't have assembler/disassembler for arm so point to one please.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:46.