![]() |
[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 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 Code:
wget http://mohammadag.xceleo.org/hostmode/hostmode-scripts_0.1_all.deb 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:
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 |
Re: [Testers needed] USB Hostmode prealpha for the N900
I'll try.
Comment results. Thanks for the effort. |
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 |
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. |
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. |
Re: [Testers needed] USB Hostmode prealpha for the N900
Thanks a lot to all the people at project h-e-n for your efforts!
|
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?
|
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.
|
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 :) |
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 |
Re: [Testers needed] USB Hostmode prealpha for the N900
@SSLMM you're missing the mount point. First do
mkdir /media/flash @WhiteWolf that cable is fine (i think) but it still doesn't power the external device |
Re: [Testers needed] USB Hostmode prealpha for the N900
Video's crappy, but remember to connect the stick directly after starting BME is shown.
http://www.youtube.com/watch?v=mXkQErnrb1Q |
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
|
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
|
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
http://europe.nokia.com/find-product...y-cable-ca-101 are different cables packaged with the n900?? Anyway I'll try now the host mode :D edit: I was too slow... |
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
Please bear in mind this is a pre-alpha, it might not work for some of you. Also, if you can, install sysklogd and provide a copy of /var/log/syslog. |
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
|
Re: [Testers needed] USB Hostmode prealpha for the N900
Ok I'm still playing with this :D
I tried two flash drives: no success, just power but not recognized by the system :( Will provide logs later. Will try now a self powered HD. btw: is it normal that i get after "executing pcsuite-enable.sh": sh: 0: unknown operand |
Re: [Testers needed] USB Hostmode prealpha for the N900
omg i just cant believe... was waiting for this.... \m/ thank you so much i am gona try it out ryt away n update :)... thanks...
|
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
|
Re: [Testers needed] USB Hostmode prealpha for the N900
How does this effect kernel-power, NITKernel, or multiboot in general?
Great job btw :) |
Re: [Testers needed] USB Hostmode prealpha for the N900
hi and thanks for all working on this project
i have installed nitdroid and power kernal on my phone if i want to test this project what will be happen? any changes in my boot menus or other kernels i have installed? any losing of data? thanks again |
Re: [Testers needed] USB Hostmode prealpha for the N900
i am getting 2.56 v out from the n900 , on 80% battery , so i think some people may get power leds to light on some devices , but they won't be recognized by the system , since the controller/processor on that device isn't actually on , i think minimum voltage is 3.3v , i will charge the battery fully and hope to get more than 3.3 v , BIG THANKS to all developers .in future i hope we can get 5v out.
[EDIT]the above is wrong , i had a faulty cable , the output is 5v . |
Re: [Testers needed] USB Hostmode prealpha for the N900
How are you testing voltage, is i2c-tools installed, does anything like Permission denied show in the terminal window?
|
Re: [Testers needed] USB Hostmode prealpha for the N900
I tried with a digital photo frame and when I connected the N900 is activated operating mode showing PENDRIVE.
Listing "/ dev" is not "/ dev/sda1", missing the mount in / media / flash ". At least it seems that way pendrive into the storage device. |
Re: [Testers needed] USB Hostmode prealpha for the N900
i cant wait please answer my last post and let me to know what will happen if i install this?!
|
Re: [Testers needed] USB Hostmode prealpha for the N900
I had to modify the script vboost.sh to locate the command i2cset. "
/usr/local/sbin/i2cset |
Re: [Testers needed] USB Hostmode prealpha for the N900
If you're running the app as root /usr/local/sbin/ should be in $PATH.
This is a prerelease, if you're not sure what you're doing then wait for a newer more stable release :) |
Re: [Testers needed] USB Hostmode prealpha for the N900
Everyone asking questions, please make sure you read Joerg_rw's post cited in the first post:
http://talk.maemo.org/showpost.php?p...&postcount=218 |
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
I've solved. |
Re: [Testers needed] USB Hostmode prealpha for the N900
By connecting pendrive displays the following error message:
>> Can not connect, no file system available Still shows the drive / dev/sda1 and therefore can not mount it. |
Re: [Testers needed] USB Hostmode prealpha for the N900
If you got that error message, host mode worked, check ls /dev/sd* for a list of devices to mount, currently it's hardcoded to /dev/sda1
|
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
But in the path "/dev/" is not a device "/dev/sd *" Thank you very much for the effort they are doing. |
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
|
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
I get the same error - using a powered USB Drive |
Re: [Testers needed] USB Hostmode prealpha for the N900
So I tried it too and unfortunately my USB flash drive wasn't recognized. But the good news is, that the script indeed enabled 5V output (measured 5.05 V using a voltmeter) so when I tried connecting a mouse the light turned on... but nothing showed up in dmesg (new usb device should be mentioned in dmesg, right?).
http://fileshare.cqproject.net/files/syslog |
Re: [Testers needed] USB Hostmode prealpha for the N900
Can't connect flash drive right now to check, but definitely get 5 volts. I plugged it into usb hub and and flashcard lit up after I switched to host-mode. So only, storage usb devices are detected for now or we can can connect keyboards,etc ?
|
Re: [Testers needed] USB Hostmode prealpha for the N900
|
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
As for the error from pcsuite-enable.sh, it can be ignored, it's just lazy coding by Nokia. And again, @ others, connect the flash drive directly after Starting BME is shown, and no more than after Connect the device NOW is shown. |
Re: [Testers needed] USB Hostmode prealpha for the N900
I'll try and communicate the results, thanks.
|
All times are GMT. The time now is 04:01. |
vBulletin® Version 3.8.8