View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#1
USB hostmode status: beta.

Thanks to everyone part of the h-e-n team, and most importantly, thanks to Joerg Reisenweber for starting the project and leading it, and thanks to Paul Fertser for the new kernel patches, written from scratch.

This release has been tested by a few of us, but it has worked perfectly on all devices.

You will need to a female to female USB adapter, and the stock USB cable.
(You can also use a Nokia CA-101D, a shorter version of the stock cable, a classmate gave it to me, and I found it perfect for hostmode, pic below)

I highly recommend you DO NOT! use direct adapters (microUSB to full size in one adapter || directly plugged into port), using those adapter will put a lot of stress on the USB port and may cause to be torn out! I suggest using at least a small cable like the Nokia CA-101D below with a female to female adapter, or a cable that is microUSB to full, but it should not be a direct adapter!



Paul has found out that it is impossible (at least at the time of writing) to detect speed changes while VBUS is running, so for now, you have to select speeds manually.
Use common sense in doing so, high speed is for devices that require a lot of writing and are fairly new (flash drives/HDDs/CD-drives, new hubs).
Full speed devices are devices that do not require a lot of USB activity, such as BT/2.4GHz mouse transceivers.
Low speed devices are normal mice and keyboards.

A help window is available and will guide you through the steps needed.
The mount button is currently hardcoded to mount /dev/sd*, default for most USB flash drives and HDDs.
For NTFS support, do modprobe ntfs as root
For ISO (CDs/DVDs - most of them), do modprobe isofs (also as root).
CDs will have the dev node /dev/sr0, so you'll need to do mount /dev/sr0 /mnt etc...
Disabling tracker by adding /media/flash to tracker-cfg's non watch configuration is recomended, use tracker-cfg UI.






(note, full speed devices are 1.1, the screenshot is old, fixed in release)

Demo of DVD player on N900:
http://www.youtube.com/watch?v=zDzUG-bno6Q

To install:
Install hostmode-gui from -devel, the package depends on kernel-feature-usbhost, so it should be compatible with any kernel that provides this (in debian/control), kernel-power provides this, and therefore, if no other kernel that does provide it is supported, it will be installed.

The GUI now checks for API version instead of kernel version, with the latest API being 20101110, also in kernel-power.



Known problems/bugs:
lsusb sometimes needs to be executed to return statemachine to original state.
Battery meter is not updated, thanks for the closed bme Nokia
Bugs not related to host mode, but kernel-power (see relevant threads, we don't have to do with these issues):
fcam-drivers doesn't work on certain devices for some reason, please see kernel-power's thread, quick fix: uninstall fcam-drivers.

Support thread: http://talk.maemo.org/showthread.php?t=65570


Please note that donations go to the team, and not one specific person. Details here

Hostmode development team:
Project Admins:
Joerg Reisenweber
Paul Fertser

Developers:
Chitrang Srivastava
Dave na
Hagen Meyer
Ian Stirling
Jacek Milewicz
Klaus Kurzmann
Mohammad Abu-Garbeyyeh
Mugur Enache
Sarah Newman
Sonny Jim
Tom Tanner

Last edited by MohammadAG; 2010-12-26 at 14:39.
 

The Following 583 Users Say Thank You to MohammadAG For This Useful Post:
*Sonic*, 222, 5spdvl, aathava, acou, acvetkov, adhrie, adrianmilev, afaq, afrimi, ahmadamaj, ahmoda, ajack, akatzbreaker, alexff, alextootchie, aligatro, AlMehdi, amin007110, amjadk, amk332, ammuvi, ammyt, anagarika, anapospastos, AndiThebest, Andre Klapper, andreas.k, andree, AndrewX192, Andy1210, angrycore, ankit255, antezz, anwar71839, anyg, Ariadeno, arifkhan123, arnoldux, arora.rohan, Atarii, atilla, attila77, azstunt, b-man, Bahador, bakuur, balorbule, bandora, banong, bastler, bblue, bchliu, BCMM, Bec, beli, Benson, berlinermaxe, bharathkumarst, bigears5000, bingomion, biobobby89, bipinbn, blah, Blaizzen, blipnl, BLIZZARD, BluesLee, BN900, bobbydoedoe, bocephus, Boemien, boldap, borghal, brad112358, Brock, BruceL, bunanson, butler, bzbnd, bzhnjm, c4rl05, Camaron, casper27, ceevee, cfh11, chainsawbike, Char, cheve, ChiefRA, chivar, choubbi, christexaport, christoph, Chrome, cincibluer6, cipper, clasificado, clovis86, cm6, cobble, colin.stephane, convulted, craftyguy, Crashdamage, Crogge, cube48, Cue, CutterSlade, Cybergr, D4rKlar, dana.s, danielpublic, dannym, Dante, Dany-69, DaReaper, Dariu5, Dark_Angel85, dashti, DaSilva, datjomp, dave1010, Dave999, DaveR53, davide, dazzakoh, Deafboy, debernardis, deegore, Deltree, demolition, deny_winarto, dirscreter, donaggio, Dousan, dov, Dr.SAHA, Dragoss91, dtergens, dvergin, dwaradzyn, dynomot, ear0wax, ed00, edgar2, eefo, efekt, eggtimer, ejasmudar, El Amir, Ele-Mental, electrolind, eme, emotion, ericsson, erniadeldesktop, esiravegna, Estel, esthreel, evan, Evilson, exuvo, F2thaK, famdango, Farooq, fatcobrah, faximan, feighery, fffffred, ffha, fh37, Figa, fixie, fLegmatik, flocke000, foobar, forcer, FreeThinker, frostbyte, FRuMMaGe, fuel__2001, futtawuh, fw190, gabby131, Gamgigo, gandotratushar, gazza_d, geckon, geohsia, gerdich, ghostBuster, ghzroy, giannoug, gixx, Glasswalker, gordonshowers, gryedouge, gs1, gunni, GuruX, Gusse, G_Gus, haffid, handaxe, hansaka, hardkorek, hasmael, Haus3r, Hellmur, hellnick, hellsing, Helmuth, hesham, Hmoobwarrior, Honza., hordeman, Hoshiro, Hotshot, hottex, humble, icebox, IdiotOnABicycle, ifraaz, ikirk, ILikeMaemo, illo1977, imperiallight, inkirby, int_ua, ioan, ioncelmare, ivgalvez, ivyking, IzzehO, Jack6428, jaeezzy, jakiman, jase21, jaskin71, JayBEE, jbw89, jedi, jessi3k3, jeweladdict, jgbreezer, jhwan, jjx, jkq, joerg_rw, John McClane, johnel, Joseph9560, judibet, K.Singh, K9999, kamil365, Kangal, karimko, Kee, kent_autistic, kevloral, kimitake, kitwalker, klinglerware, kmare, kolos, kopele, koukasio, kownas, krutznikov, kwurk, laasonen, lardman, Larswad, lattenwald, Leachim, leetut, Lehto, lemmyslender, LippiVan, littlebadger, littleSev, lkravovicz, lolloo, LondonBenji, lorenzo, lostinmirkwood, LucianoBraga, m0da, m750, maartenmk, Macros, maddog900, MaddogG, maemoiv, maemusr, Magik, magnunor, magog, Maj3stic, MaltedVomit, maluka, mamad CJ, mani, manojkumaru, Mara, Marklar, marmistrz, Marshall Banana, Mart5.1, MartinK, Maruzko, matristain, mauron85, maxximuscool, max_power, md92h, mece, Megaltariak, mehulrajput, Mentalist Traceur, MetalGearSolid, mikec, mikecomputing, mikemx, mikki-kun, Minhaz, Mitrigol, mivoligo, mkhib, mmurfin87, mno@8, mobiledivide, Modell900, moepda, morusaka, mosk33toe, mpi, mr id, mrbiggzz79, mrexcess, mrmoosehead, mrsellout, musculus, mveplus, MyNokiaN900, m_dk29, narcisgarcia, nashith, Natan_xy, naturegodtm, neboja, Netweaver, nicholes, Nightmae, Nikem, nishkarsh, nkirk, No!No!No!Yes!, Nobless, Nokia 5700, NokTokDaddy, nology, norwat, nubsis, number41, obhishap, Oblomow, Olvi, optimaxxx, OptX, OranAgra, osama, Osilayer, ossipena, OVK, P@t, paddyc1988, pali, panjgoori, pantera1989, park, PathFinder@9GS, Patola, pedrolucasbp, peterleinchen, petibub, phap, phedders, phil4444, philh, PhonoN900, phyguy, pichlo, pigeond, pillar, pisthpeeps, PrisonPlanet, Psycho, Pyro1099, qole, qosmio, quanttrom, Quasar, quingu, qwenjis, rabarkar, RafaLL92, raily, Raimu, Random_Nokia_Hero, rasheddawabsheh, ravas, raven, rawutt, RAZOR, rcolistete, rdwrig0ceo, Red_Fox, Reffyyyy, retsaw, rfranz, RFS-81, Richrd, rnb89, rob42, RobbieThe1st, roger_27, Roth, rotoflex, Russe89, RWFarley, S0urcerr0r, SAABoy, saadgadit, sachin007, sajjji, sake, saned, SavageD, sbock, Schturman, Scottlfa, scyzor, sEKI, sensortk, sethkha, sethstorm, sgcip, shaddam, sicelo, sifo, Silvarum, sjgadsby, skalogre, skidrock, skykooler, skzo, slappy, slender, Snoshrk, soeiro, Sologeoff, somekeystrokes, Sonny_Jim, Soppa, soravhoney, spanner, SR90, SSLMM, stayloa, stlpaul, stone17, Stonik, strange1712, SubCore, sula, sunny2nisha, supergaban, Surreptitious, suzuka, Switch_, taaheel, tameraid, tanpoaran, teamer, tecs, TeHeR, tele, temp, Tensuke, teroyk, testmatchspecial, tetris11_, The Wizard of Huz, thecursedfly, theonelaw, TheOneWolf, TheToimelias, ThomasAH, thorbo, thp, Tiboric, Tiran, titi974, toastncoffeh, ToJa92, totalentropy, Tovalisa, Transcend, travik, travla, traysh, treofant, Trestry, trurl, trx, Tsippaduida, tswindell, tuliobaars, tullamulla, tusharmax, tutul, tuxsavvy, tvogel, twaelti, udaychaitanya16, uppercase, ut0p14n, vabgeo, varunshaji, vdx29, Veleno, Venemo, vetsin, vijayv, vkthor, vkv.raju, vvaz, weijie88, werebug, whayong, WhereIstheBeer, wicket, Wikiwide, wimmme, wolverine, woody14619, Xagoln, XNT, xprism, Xquiste, xtian, xtreemneo, yamakasi, yauchildchew, YoDude, yogi900, yorkey, ysss, yurka, zappa, Zentenario, zikmir, zillertal, zlatko, zod, ZogG, zvogt, zwer