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)

Kymera76 2010-09-25 20:20

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Quote:

Originally Posted by MohammadAG (Post 824298)
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.



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


Hi and thank you for this.
I have some problems becouse at step 3 (when i write apt-get install i2c-tools python2.5 python2.5-qt4) i see this:

reading package list... done
building dependency tree
reading state information... done
package i2c-tools is not available, but is referred to by another package.
this may mean that the package is missing, has been obsolated, or is only available from another source
e: package i2c-tools has no installation candidate

Now how i can install i2c??

thank you
Livio

shockgiga 2010-09-25 20:22

Re: [Testers needed] USB Hostmode prealpha for the N900
 
my n900 won't prompt mass storage mode or pc suite mode when i plug it into my pc anymore. how can i fix this?

ivyking 2010-09-25 20:27

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Quote:

Originally Posted by shockgiga (Post 826222)
my n900 won't prompt mass storage mode or pc suite mode when i plug it into my pc anymore. how can i fix this?

rebooting should fix that .

shockgiga 2010-09-25 20:28

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Quote:

Originally Posted by ivyking (Post 826230)
rebooting should fix that .

thanks very much

pedram_noei_a 2010-09-25 20:47

Re: [Testers needed] USB Hostmode prealpha for the N900
 
hi again
i have problem with installing kernel
i have installed nitdroid and power kernal so when i press power button i see 3 lines on bootmenu
1-main kernel
2-power kernel
3-nitdroid
i have tested every thing to add 4 th line with name of hostmode but there is no luck
i cant install the hostmode kernel
is there any idea for help?

Kymera76 2010-09-25 20:53

Re: [Testers needed] USB Hostmode prealpha for the N900
 
How install i2c-tools package and python2.5 package?

LondonBenji 2010-09-25 21:02

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Quote:

Originally Posted by MohammadAG (Post 826203)
First CD burned successfully on an N900 :)

This is huge, for me this blows my mind more than anything, well done guys, well done.

Kymera76 2010-09-25 21:41

Re: [Testers needed] USB Hostmode prealpha for the N900
 
there are someone????

luketanti 2010-09-25 21:42

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Hello I have a problem with this. When I connect the flash drive and press mount I get "No such file or directory" What am I doing wrong? I know that this is prealpha but I wish to make this work like all you guys. Thanks

Kymera76 2010-09-25 21:45

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Quote:

Originally Posted by luketanti (Post 826277)
Hello I have a problem with this. When I connect the flash drive and press mount I get "No such file or directory" What am I doing wrong? I know that this is prealpha but I wish to make this work like all you guys. Thanks

Hey Luke do you know how i can install i2c-tools and python2.5?
Thank you


All times are GMT. The time now is 05:44.

vBulletin® Version 3.8.8