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)

johnel 2010-09-23 22:27

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

Originally Posted by pantera1989 (Post 824802)
Can anyone confirm if this cable works?

http://www.amazon.com/USB-Micro-Fema...279420&sr=1-65

Are you planning to plug this directly into your n900?

If so wouldn't you put undue stress on the N900's USB connector because we all know how fragile it is.

johnel 2010-09-23 22:42

Re: [Testers needed] USB Hostmode prealpha for the N900
 
I looked on ebay and was amazed with the variety of USB Female to Female adapters available.

JohnLF 2010-09-23 23:25

Re: [Testers needed] USB Hostmode prealpha for the N900
 
http://www.usbfirewire.com/uconverters.html

This is just $5 - hope to find a UK one at a similar price...

http://www.usbfirewire.com/Parts/images/rr-2030b.jpghttp://www.usbfirewire.com/Parts/images/rr-2030.jpg

nerfiaux 2010-09-24 02:41

Re: [Testers needed] USB Hostmode prealpha for the N900
 
I did try the package test.
I created directory flash in /media (mkdir /media/flash).
Here below is myUSB adapter:
http://www.usbfirewire.com/Parts/images/rr-2030b.jpg .
Here is my TFlash and the reader :
http://www.clickshop.com/custom/imag...duct-17857.jpg

1 :When I use the Kernel-power40 (I have NITdroid 0.8 installed).
Every time I click on Hostmode VBUS,
I see message "Starting BME" / then i plugg or even not plugging the TFlash :
I always have a reboot.
White LED goes on and reboot.

2: When I use stock kernel, it is ok No reboot, but still have no device detected.
I see "Starting BME"/"Charger Disconnect"/"Connect USB Device Now".
I plug the TFlash the click on mount /dev/sda1
I have nothing new in the file borwser (only emmc and SD Card).
The log tells :
Code:

stop: Job not changed : BME
mount : mounting /dev/sda1 on /media/flash failed: No such file or directory.

I checked in /media/ directory flash exists.
But in /dev,
Code:

ls sd* : No such file or directory
.
So I assume that the device is not detected.

Please tell me how I can provide you debug messages and logs (dmesg or any other logs).
Thanks for job done and thanks for helping me to make it work.

Nerfiaux

flexxxv 2010-09-24 07:09

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Yeah
It is working for me :D
With some minore issues ;)

So I can only connect a usb device after reboot ONCE if I want to do it again I need to restart :( (I tried to set VBus to default but this didn't helped)

Some trick that worked for me if I didn't managed to plug at exact the right time and the device just gets some energy but isn't recognized correctly:
Just plug out plug in it again (without changing anything at software level). This worked for all my flash drives and my USB Hub. :D

one of my flash drives is just showing off as /dev/sda so I had to mount /dev/sda instead of /dev/sda1

With the hub I was able to connect and disconnect thing as often as I want :D were able to use 2 pen drives and one keyboard at the same time :D

Keyboard isn't working directly, I need to have a Hub between (but I didn't do too much testing with this). The keyboard mapping is not really right but anyway.

A lot of thx for fixing my multiboot problem MohammadAG! and this package thing ;)

Btw: it didn't matter for me at all if I connected the flash drive with the cable to n900 or just connected the flash drive to attached cable...

will to provide logs later this day.

toxaris 2010-09-24 07:32

Re: [Testers needed] USB Hostmode prealpha for the N900
 
Got it working.
I use Kernel-Power v40.
Stock USB cable and simple converter bought at the lokal store.
The flashdrive is a Kingston Datatraveler G2 4GB.

But one issue, to restore to default VBUS mode. I have to restart and it works again.

Hmm, if I clicked Hostmode CHARGING before I remove Flashdrive, it seams to work to plug in the phone to a computer again without reboot.

flexxxv 2010-09-24 07:50

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

Originally Posted by toxaris (Post 824987)
Got it working.
I use Kernel-Power v40.

Are you sure that you are still using this kernel? Do a uname -r
If you get:
2.6.28-hostmode1

You have the right kernel installed :D but not Kernel-Power v40 :D

toxaris 2010-09-24 08:15

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

Originally Posted by flexxxv (Post 824995)
Are you sure that you are still using this kernel? Do a uname -r
If you get:
2.6.28-hostmode1

You have the right kernel installed :D but not Kernel-Power v40 :D

You are right, didnt notise that it have changed.
But I had Power kernel before.

WhiteWolf 2010-09-24 08:47

Re: [Testers needed] USB Hostmode prealpha for the N900
 
2 Attachment(s)
Today is no longer activated my storage device USB Mass Storage mode.

syslog -> Log out when it can activate the USB Mass Storage external device.

syslog(2) -> Log out when it can not activate the USB Mass Storage external device.

techie 2010-09-24 11:30

Re: [Testers needed] USB Hostmode prealpha for the N900
 
5 Attachment(s)
Working with Sony digital camera.The 1 gb card in it got mounted as USB Mass Storage Device.

Attachment 14020Attachment 14021Attachment 14022Attachment 14023

Successfully copied about 213MB (pictures + video).The battery was ~ 50%.Xorg usage jumped to 20-30%,which returns normal only after rebooting.
However my Kingston 8GB data traveller usb did not work(even the lights won't turn on).Connected a usb mouse, lights came on but no cursor movement.These are the only usb devices I have atm:o Tomorrow will borrow an external hdd to test.
Code:

Hostmode VBUS clicked
Executing pcsuite-enable.sh
Stopping BME
BME stopped
Echoing...
Done echoing commands
Starting BME
VBUS default clicked
killall: vboost.sh: no process killed
Executing Hostmode VBUS again
Executing pcsuite-enable.sh
sh: 0: unknown operand
Stopping BME
BME stopped
Echoing...
Done echoing commands
stop: Job not changed: bme
Mounting /dev/sda1 on /media/flash
VBUS default clicked
Nokia-N900:~#

Code:

/dev/sda    /dev/sda1
Didn't try mounting sda.Maybe its the internal memory of the cam.

I concur with @flexxxv.Reboot is required to connect again.
Thanks!


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

vBulletin® Version 3.8.8