maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Testers needed] USB Hostmode prealpha for the N900 (https://talk.maemo.org/showthread.php?t=62787)

MohammadAG 2010-09-23 12:12

[Testers needed] USB Hostmode prealpha for the N900
 
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.

Quote:

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


WhiteWolf 2010-09-23 14:21

Re: [Testers needed] USB Hostmode prealpha for the N900
 
I'll try.

Comment results.

Thanks for the effort.

qosmio 2010-09-23 15:00

Re: [Testers needed] USB Hostmode prealpha for the N900
 
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

WhiteWolf 2010-09-23 15:00

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Followed the steps one by one.

Create "/ media / flash"

Drive does not mount "/ dev/sda1"

Rebooting and trying again.

WhiteWolf 2010-09-23 15:12

Re: [Testers needed] USB Hostmode prealpha for the N900
 
It seems that does not give power to the pendrive. Pilot lights not connected.

I'll try with full charge battery.

donaggio 2010-09-23 15:13

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Thanks a lot to all the people at project h-e-n for your efforts!

ahmadamaj 2010-09-23 15:21

Re: [Testers needed] USB Hostmode prealpha for the N900
 
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?

jacktanner 2010-09-23 15:24

Re: [Testers needed] USB Hostmode prealpha for the N900
 
@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.

SSLMM 2010-09-23 15:24

Re: [Testers needed] USB Hostmode prealpha for the N900
 
"mount: mounting /dev/sda1 on /media/flash failed: no suck file or directory"

:\

Thanks for all the work and time dispended with this :)

WhiteWolf 2010-09-23 15:26

Re: [Testers needed] USB Hostmode prealpha for the N900
 
I'm using the original cable that came with my N900.
http://elrincondetolgalen.files.word...pg?w=500&h=375


All times are GMT. The time now is 11:08.

vBulletin® Version 3.8.8