Closed Thread
Thread Tools
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#1
First of all, thanks to joerg_rw for kicking off the hostmode project, and sarahn for the patches, as well as all the devs involved in the project.
The patches are the same ones released in May/June, with a proper method to reproduce them.

This is a prealpha release, although it works on my device, it has NOT been tested on any other devices (kernel is safe though).
Also, DON'T play with i2cset without knowing what to do, the commands in the UI are safe, but don't feel free to experiment with them.

This post by joerg_rw summarizes the main points about this release

You will need to a female to female USB adapter, and the stock USB cable.
Do all the commands below as root.

Step 1: Download kernel-hostmode packages:
Code:
wget http://mohammadag.xceleo.org/hostmode/Jul%2027%202010/kernel-hostmode-flasher_2.6.28-20102201+0m5-hostmode1_armel.deb
wget http://mohammadag.xceleo.org/hostmode/Jul%2027%202010/kernel-hostmode-modules_2.6.28-20102201+0m5-hostmode1_armel.deb
wget http://mohammadag.xceleo.org/hostmode/Jul%2027%202010/kernel-hostmode_2.6.28-20102201+0m5-hostmode1_armel.deb
Step 2: Install packages in this order:
Code:
dpkg -i kernel-hostmode_2.6.28-20102201+0m5-hostmode1_armel.deb kernel-hostmode-modules_2.6.28-20102201+0m5-hostmode1_armel.deb
Code:
dpkg -i kernel-hostmode-flasher_2.6.28-20102201+0m5-hostmode1_armel.deb
Step 3: Download hostmode scripts package:
Code:
wget http://mohammadag.xceleo.org/hostmode/hostmode-scripts_0.1_all.deb
apt-get install i2c-tools python2.5 python2.5-qt4
dpkg -i hostmode-scripts_0.1_all.deb
Step 4: Reboot the device.
Step 5: Start terminal, type root, then python /root/hostmode.py
Step 6: Click Hostmode VBUS, connect flash drive when you see Starting BME.

Using the mount /dev/sda1 button should create a dir in /media and mount the node there, use the filemanager to view stuff on the flash stick, I have successfully copied 2.6GBs and 1.7GBs, to two different devices, a WD MyBook (1TB in size), and a flash stick 4GBs in size, playing music off of it worked as expected.

Originally Posted by joerg_rw
Please support hostmode development, join h-e-n.garage.maemo.org if you are a kernel hacker knowing about USB, or provide nice logs if you are a technically savvy user.
Looking forward to patches and kernel logs
Refer to https://garage.maemo.org/frs/?group_id=1660 for all files related to the project except binaries.

https://garage.maemo.org/projects/h-e-n/

To compile packages from the sources (in scratchbox)

Code:
apt-get source kernel
cd kernel-2.6.28
wget https://garage.maemo.org/frs/download.php/8384/fullpatchrevision2.diff
patch -p1 <fullpatchrevision2.diff
fakeroot dpkg-buildpackage -b

Last edited by MohammadAG; 2010-09-23 at 13:04.
 

The Following 187 Users Say Thank You to MohammadAG For This Useful Post:
-wireless-, aanckar, abubakar, afaq, ahmadamaj, aligatro, AlMehdi, ammyt, anapospastos, Andrew_b, andyr0ck, arjunkumar87, arora.rohan, asys3, atilla, attila77, b-man, bakuur, bigears5000, blipnl, BLIZZARD, borghal, Bundyo, bzhnjm, casper27, cfh11, cheve, ChoMar, choubbi, christoph, Chrome, clasificado, codeMonkey, craftyguy, CutterSlade, D4rKlar, daperl, datjomp, dave1010, debernardis, dee, deegore, digitalvoid, donaggio, Dousan, dscobsct, dynomot, e-yes, ear0wax, ed00, edgar2, efekt, elie-7, eme, eMiL, esthreel, eti1, EugeneS, F2thaK, flexxxv, fnordianslip, forcer, fw190, geohsia, gerdich, gordonshowers, grog, hardkorek, hawaii, heiwid, Hellmur, Helmuth, Hmoobwarrior, hobbsch, Hrw, ikirk, Inacurate, inkirby, ivyking, jaeezzy, Jay92, jessi3k3, jflatt, jipee296, jkq, johnel, JohnLF, joshv06, jvanhou, kamil365, Kee, kevloral, knopow, kolos, Lemonadium, LondonBenji, luketanti, Magik, makel, Marklar, Marshall Banana, MartinK, matristain, md92h, mdb666, mece, Megaltariak, Mentalist Traceur, mikec, mivoligo, mmlado, moepda, mr id, MrGrim, mullij, mveplus, n900ak, Nano, nashith, neboja, Netweaver, nickolaicho, niGhT, No!No!No!Yes!, Nokia7Linux, NokTokDaddy, Oposum, osama, OVK, oxpo, pali, pantera1989, PathFinder@9GS, pavlik, peppino, pierro78, Pillum, playbeyond, PUNK, qole, qosmio, rdwrig0ceo, reza245, roger_27, rotoflex, S0urcerr0r, saadgadit, sachin007, sjgadsby, slender, smartypants, smoothc, snakekontrol, Snoshrk, Sonny_Jim, soravhoney, steph, stephano21, Stepo, stlpaul, strange1712, Straycat, SubCore, Switch_, techie, techno2001, thecubed, thecursedfly, thej80, ThomasAH, thp, titi974, Transcend, Trestry, tswindell, tuliobaars, twaelti, v13, vdx29, vkv.raju, wmarone, woody14619, wovenstringz, XNT, zappa, zimon, zvogt
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#2
I'll try.

Comment results.

Thanks for the effort.
 
qosmio's Avatar
Posts: 532 | Thanked: 949 times | Joined on Apr 2010 @ Uk for 6months then Thailand
#3
I'll give it a go! and will let you know when and if I get i working.

Great work and thanks to everyone who worked dam hard on this!

Kind Regards Qosmio
__________________
http://q0smio.deviantart.com

http://s1031.photobucket.com/albums/y372/q0smio/

N900 x 2 Overclocked at 900 Mhz.
Samsung Galaxy S 2
iPhone 4 (Jailbroken)
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#4
Followed the steps one by one.

Create "/ media / flash"

Drive does not mount "/ dev/sda1"

Rebooting and trying again.
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#5
It seems that does not give power to the pendrive. Pilot lights not connected.

I'll try with full charge battery.
 
donaggio's Avatar
Posts: 50 | Thanked: 60 times | Joined on Feb 2010 @ Venice, Italy
#6
Thanks a lot to all the people at project h-e-n for your efforts!
__________________
Luca Donaggio
 
Posts: 223 | Thanked: 79 times | Joined on Apr 2010 @ Lebanon- Beirut
#7
thank you everyone who participated in this project. i need to ask, does it work with an adapter like the one that comes with the n8?
 
Posts: 228 | Thanked: 145 times | Joined on Dec 2009
#8
@WhiteWolf - not surprising if it doesn't power the pen drive. Try with a device that has own power, e.g., an external HD with own A/C adapter.
 
Posts: 123 | Thanked: 56 times | Joined on Jun 2010 @ Portugal
#9
"mount: mounting /dev/sda1 on /media/flash failed: no suck file or directory"

:\

Thanks for all the work and time dispended with this
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#10
I'm using the original cable that came with my N900.
 
Closed Thread

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:31.