View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#9
HS=USB2.0, FS=USB1.1, LS=USB1.0
USB2.0/HS-peripherals will also work in USB1.1/FS mode, though much slower.

Switching speeds "on the fly" is not possible for now (to elaborate on Mohammad's introduction: We need VBUS to detect the speed of device attached, but we can't switch speed accordingly as long as VBUS applied - musb-core doesn't allow that). You have to stop hostmode and start over from beginning. Also the much requested hostmode while charging (N900 works as USB host but does not supply VBUS 5V - this will be done by a modified hub or a Y-cable: http://wiki.openmoko.org/wiki/Specia...aka_Y-Cable.29) is not yet supported (however see http://talk.maemo.org/showthread.php...203#post921203 ). Well folks, this is a BETA :-), though Mohammad once again managed to pack a shiny package that looks better than some products tagged "final gold", thanks for that Mohammad :-)

Special thanks to Paul who did a brilliant job, like always. Also a special thanks to Sarah Newman without her patches we probably wouldn't be anywhere today. And a special thanks to all the people who shared their knowledge with me in endless private chats but preferred to stay in the background for different reasons.

Enjoy hostmode Beta, cheers
jOERG


ps.: As it seems it always somehow vanishes: N900 can deliver 200mA VBUS power (actually current, that's a hardware limitation of bq24150 chip), as compared to a standard 500mA of a PC host, this means power greedy peripherals like e.g HDD, UMTS sticks, mug warmers, etc, will cause hostmode to fail. An easy tested way to deal with this problem is to use a powered hub.
If you want to try with externally powered things, then you should plug in the peripheral same moment you push the VBUS button in hostmode GUI

ps2: Until Mohammad updates the info in #1: We are not shipping a dedicated hostmode kernel anymore with h-e-n GUI. You are supposed to install kernel-power v45 (or newer), which has hostmode patches integrated. Installing h-e-n won't do that for you. Please refer to kernel-power howto and readme and FAQ, for details on how to install and how to remove this non-stock kernel. There are known issues in multiboot with kernel-power, as well as in fcam drivers, which don't work for v45 kernel-power at date of this writing (unrelated to h-e-n!). Kernel-power v45 comes with uBoot, which should replace multiboot. It also should come with a fix (actually a revert of a patch) for the locked@500 bug Mohammad mentions in next post.
The 'mount' button and function of h-e-n is a beta-test convenience thing, and is known to not work under all arbitrary circumstances. It will vanish in final version of h-e-n anyway, and any problems are WONTFIX

As a rule of thumb, this thread is about problems (and unexpected success) to provide 5V VBUS and to enable hostmode. As soon as your device is showing up in dmesg as "usb 1-1: New USB device found, idVendor=xxxx, idProduct=yyyy...", h-e-n considers this as mission accomplished.
Everything beyond are derived issues not directly related to h-e-n, so please report them either in the problems-thread, or on the forum of the involved subsystems which actually throw the error. Esp mounting, though still supported by a button in h-e-n, is NO topic for this thread


recommended links: http://talk.maemo.org/showthread.php...esg#post875006
http://talk.maemo.org/showthread.php...032#post895032
http://www.youtube.com/watch?v=fkCDyUO0sKQ&NR=1

LATEST NEWS:
there are missing modules in powerkernel46. See http://talk.maemo.org/showthread.php...219#post971219 - we're aware now and working on it. Shall be fixed in recent PK48 (which is said to work http://talk.maemo.org/showpost.php?p...&postcount=861 ). For PK47 see http://talk.maemo.org/showthread.php...91#post1116491 - thanks blue_led :-)

see http://talk.maemo.org/showpost.php?p...&postcount=857 for latest devel-version of parts of h-e-n, with augmented error-reporting (notifies on overload [huge HDD], runs a notification LED pattern to let you know your battery is draining) [edit 2012-02-27: fixed link]

cheers
jOERG
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2012-02-27 at 06:21. Reason: added deatils about what's on topic here and what's for problem thread
 

The Following 85 Users Say Thank You to joerg_rw For This Useful Post:
adhrie, AlMehdi, amjadk, anapospastos, antezz, anyg, arnoldux, bigears5000, brad112358, cfh11, cheve, clasificado, Crashdamage, Cue, Dany-69, Dave999, debernardis, demolition, didik.wahyono, ed00, esthreel, Figa, FreeThinker, fw190, gionni88, gordonshowers, gryedouge, handaxe, Hellmur, Helmuth, Hmoobwarrior, ikirk, int_ua, ioan, ivyking, jah25, Jenason, johnel, joshv06, kamil365, kevloral, LippiVan, littlebadger, maemoiv, magnunor, manvik60, Marklar, maxximuscool, mece, mivoligo, MohammadAG, mr id, mveplus, Netweaver, Nikem, NokiaRocks, nology, OVK, PaulFertser, peterleinchen, qole, Richrd, S0urcerr0r, samipower, Silvarum, sjgadsby, slender, Snoshrk, stlpaul, strange1712, SubCore, suzuka, taaheel, techno2001, ThomasAH, Tovalisa, travla, tswindell, vetsin, vkv.raju, vvaz, Wikiwide, woody14619, wumpwoast, zod