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)

5spdvl 2010-12-29 21:54

Re: [Announce] USB hostmode beta release
 
That's correct; USB wiring is is black ground, red positive, green/white data +ve/-ve (see my pictures on the previous page).

Aside from hen/the bme being set up correctly to accept charging during host mode, is it really that simple to splice in a power supply? I assume that'd be a dumb male USB port?

joerg_rw 2010-12-29 23:26

Re: [Announce] USB hostmode beta release
 
You don't usually want to mess with splicing USB cables. Data transfer might be messed up when the cable's shielding and parallel wires have a break - especially in highspeed mode.
instead you can use commercially available adapters, as they ship with a lot of peripherals, especially HDDs but also other power greedy stuff. Similar to this:
http://media.share.ovi.com/m1/s/2667...690eda6846.jpg
The silver-transparent adapter came with the white 3G-Dongle. It is a USB-AM<->USB-AF extension with a branch to an auxiliary 2nd USB-AM from the first one. The 2nd plug is only for powering VBUS, and is supposed to get plugged into a second host port to supply the 3G stick with an additional 500mA. Here it's plugged to a USB wallwart charger, thus powering both ends of the whole cable nest with 5V. You can use such a setup right now for powering the peripheral so N900 doesn't have to provide the current - just plug in the N900 side of cable immediately after you clicked "VBUS boost on" in h-e-n GUI. The N900 will not mind any external supply supporting the internal 5V booster.
see http://talk.maemo.org/showthread.php...203#post921203 for powering the N900 while in hostmode.

cheers
jOERG

blue_led 2010-12-31 15:44

patch for mount.sh
 
- list=`awk '$4~"[0-9]$"{print $4}' /proc/partitions | grep -v "mmcblk*" | grep -v "loop*"`
+ list=`awk '$3~"[0-9]$"{print $4}' /proc/partitions | grep -v "mmcblk*" | grep -v "loop*"`

original awk line will not enumerate patitions without numbers in name of part.
this minor change made script search criteria #blocks not name&number and will mount partitions ( as expected ) without number in partition name like "sda"

samipower 2010-12-31 16:59

Re: [Announce] USB hostmode beta release
 
hello , pendrive , mouse or keyboard run well in my n900 but

i bought this usb hub
http://www.soyntec.com/us-en/item/nexoos_395_black

and i tried and tried with charger o without charger and only with one thing , for example only hub+mouse or only hub+keyboard

and nothing , and well?? i saw a quake 2 video in youtube with hub with mouse and keyboard .

if my mouse and my keyboard run well in hen without hub , only one conected

and my mouse and my keyboard normally are using with low speed mode , it is more compatibility in theory

why with hub are not running , ???

any idea?? thanks for hen

joerg_rw 2010-12-31 20:07

Re: [Announce] USB hostmode beta release
 
hi samipower,
try to enumerate hub first (using highspeed, hubs convert speed for e.g mouse etc).
Check in dmesg and lsusb if everything went fine. Then plug in mouse and keyboard.

Happy new year!
cheers
jOERG

samipower 2011-01-01 18:22

Re: [Announce] USB hostmode beta release
 
now all well

1- hen high speed mode
2- vboost
3- conect hub usb and click enumerate
4- conect keyboard in hub and clik enumerate and keyboard run well
5- conect mouse and without enumerate. only connect , mouse move point cursor well.

hub now are running with keyboard+mouse very well

aah without hub charger , only with n900 energy power

mouse have 5v and 100ma ,keyboard i dont know but the tho things are running with n900 energy power


and very happy new year to all world

samipower 2011-01-02 03:09

Re: [Announce] USB hostmode beta release
 
hello news

i tried 4 josticks

ngs maverick jostick double play/pc
genius axis 8 button generic jostick
play station 3 original
play station 3 copy

all jostick detects ok . with name and company . all ok

but only genius could play and only play with mame . others emulators n64.dksnes.nes.mastergear.ganeboy advance. etc not recognize gamepad . psx emulator i forgot try .
tomorrow i will do it
now i will try to install sixaxis driver and ubuntu special library gamepad. for i can see if increase compatibility and josticks can play.

regards

obhishap 2011-01-02 19:19

Re: [Announce] USB hostmode beta release
 
hi guys.
wishing you all a very happy new year. I tried a usb light and it worked. just connect in any speed and press Vbus and you are on. Good luck. thanks.

http://i1128.photobucket.com/albums/...ent-1M42OV.jpg

ffha 2011-01-02 19:37

Re: [Announce] USB hostmode beta release
 
Just here to confirm it works on my N900.
PR1.2 Kernel Power v46

I'll take a picture of it later.

This is incredible, you guys. I've never seen such streamlined and sophisticated homebrew before. All it took to connect a flash drive, were about 4 ticks of the stylus.

werebug 2011-01-02 20:26

Re: [Announce] USB hostmode beta release
 
Should I update my Nokia N900 to version 1.3 ?


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

vBulletin® Version 3.8.8