maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Announce] USB hostmode beta release (https://talk.maemo.org/showthread.php?t=65232)

jurop88 2010-12-26 15:22

Re: [Announce] USB hostmode beta release
 
Hi Obhishap,

let's try to keep this thread unpolluted, I put a suggestion in the problems thread, please go on there because from the logs it looks like h-e-n works and enumerates well, then it works and it is definitively something that has to go on there.
Rgds

obhishap 2010-12-26 16:20

Re: [Announce] USB hostmode beta release
 
First of all thanks to all of you and sorry to discuss problems here.@joorin, I found there is sda present and I did mount /dev/sda /media/flash and it worked. Thanks

5spdvl 2010-12-27 13:59

Re: [Announce] USB hostmode beta release
 
This is why I love the N900, why I clicked "Thanks!", and why I just donated.

I built a USB powered Super Nintendo controller using a Teensy 2.0 microcontroller to act as a HID keyboard, connected via a non-powered hub, and also running a 4Gb flash drive with all 763 SNES games released loaded on it. This morning, I connected it to my N900 and managed to mount both (literally by pushing "Mount" twice on Full Speed Mode) the flash drive and the HID keyboard without an externally powered hub.

I was playing SNES via DrNokSnes with the proper controller with access to ever single game, basically. :D I didn't catch the kernel log, but it was exactly what you would expect for two perfects mounts.

http://i234.photobucket.com/albums/e...101221_001.jpg
http://i234.photobucket.com/albums/e...101221_002.jpg
http://i234.photobucket.com/albums/e...101223_001.jpg

Now all I need is to be able to charge at the same time while using H-E-N and I'll be set!

joerg_rw 2010-12-27 14:08

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by 5spdvl (Post 905308)
Now all I need is to be able to charge at the same time while using H-E-N and I'll be set!

I'm working on that. Thanks for report and donation :-)

cheers
jOERG

MaddogG 2010-12-27 15:02

Re: [Announce] USB hostmode beta release
 
@5spdvl

:eek:

You have my respect, man!

clasificado 2010-12-27 16:50

Re: [Announce] USB hostmode beta release
 
@5spdvl i may be wrong, but i think that your HID device doesnt need to be "mounted", only need to be enumerated :P.

Conglats for your report mate!

fareed_xtreme 2010-12-28 08:55

Re: [Announce] USB hostmode beta release
 
I have a question to ask. I came accross a USB Host Adapter on ebay which i thought of purchasing.

http://cgi.ebay.com/USB-2-0-A-F-fema...item19c1672bd4

However the person just said it does not support OTG. Can someone update me if the OTG support is required for it to function?

joerg_rw 2010-12-28 10:01

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by fareed_xtreme (Post 905854)
Can someone update me if the OTG support is required for it to function?

OTG is neither used nor required for h-e-n. Actually no hub supports OTG. OTG means 2 devices can swap host and peripheral role, with a hub in between that's obviously hard to get done. N900 probably can not do OTG either. Actually we had to remove an explicit blocker from OTG heritage in kernel driver, which forbid USB-hubs to work with N900 (this also means your true OTG devices - like N8 - probably won't work with any hub) :-)

This is a absolutely simple hostmode like found on your laptop.

cheers
jOERG

Temporal 2010-12-29 16:34

Re: [Announce] USB hostmode beta release
 
Hi,

May I ask which of these two "configurations", if any of them is correct, should I adopt when charging while in host mode and bme_jr be ready?

http://img641.imageshack.us/img641/8...7220039800.png
http://img34.imageshack.us/img34/902...2200392800.png

Or any would do?
Thanks.

joerg_rw 2010-12-29 21:31

Re: [Announce] USB hostmode beta release
 
Hi Temporal!
Nice drawings :-D actually you're fine with first setup. (the "battery" should read "5V, >500mA" though).
The wire colors are usually
black=minus
red=plus
green/white=D+/-
(see http://en.wikipedia.org/wiki/Usb#Physical_appearance)

cheers
jOERG


All times are GMT. The time now is 07:26.

vBulletin® Version 3.8.8