maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 will not allow USB OTG! (https://talk.maemo.org/showthread.php?t=31921)

Venemo 2010-06-08 11:43

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by maxximuscool (Post 705209)
i'm going to get a usb hub. lol. This thread should now change to “N900 is allowing USB OTG”

It does NOT allow USB OTG.

It does allow USB Host mode (without OTG) as I understand.

clasificado 2010-06-08 11:55

Re: N900 will not allow USB OTG!
 
Be patient and take in account that the code isnt working for everyone, and we still dont know why

Bec 2010-06-08 12:02

Re: N900 will not allow USB OTG!
 
Maybe a beta should be released to let the users check the HW versions on which it works.

titan 2010-06-08 12:08

Re: N900 will not allow USB OTG!
 
The N900 can power attached devices (up to 200mA) by itself.
If g0dzilla's approach only worked with a self-powered hub, then it is not
surprising and known to work.

We are looking for the "real" hostmode without any prior connection a PC or hub.

For those who got it working somehow: could you please post the output of
http://maemory.com/N900/kernel/usbwatch
(requires installation of coreutils-gnu, start it before your experiment).

Quote:

Originally Posted by maxximuscool (Post 705220)
Yes you are absolutely correct. It worked with self powered hub or devices. The N900 doesn't have self powering usb port which can only work of you plug the medium to a self powered hub or power source.


johnel 2010-06-08 12:13

Re: N900 will not allow USB OTG!
 
Is it worth someone writing a "Test" utility that can be easily installed?

People can install it and then report back the results via a generated text file?

It does not have to be a full working version of hosted USB but maybe a data gathering exercise?

Bec 2010-06-08 12:18

Re: N900 will not allow USB OTG!
 
Perhaps a binary should be given via PM to those who PM their hardware version first.
There was some way to find that out via the maemo flasher.

Sorry for the off-topic.

hcm 2010-06-08 12:32

Re: N900 will not allow USB OTG!
 
could all of you please stop spamming this thread?

the patch is not well understood and even completely buggy as far as I can tell!!
the "it works!!11!" announcements are just random lucky people and it's not reproducible. So no reason to "beta-test", this is not even alpha.

KPAH 2010-06-08 13:22

Re: N900 will not allow USB OTG!
 
Cable questions.

1) If I modify standart client (non-OTG) cable by soldering pin 4 to pin 5, could I still use it as a client cable to connect n900 to a PC ?


2) I would like to create a 3-female usb pattern: one socket for the OTG cable, one socket for the power cable to a USB-charger and one socket to connect the client device. Can I wire the usb-power directly to the red and black cables (+ and gnd) inside this circuit? Or will it burn something and some diodes should be used? Not aware how active usb hubs are ususally wired.

MohammadAG 2010-06-08 15:04

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by titan (Post 705212)
on your pictures I see that you connect it via a (self-powered?) hub?
please elaborate. just "it works" doesn't help us very much.

maybe your device has the same "defect" as MohammadAG's? :)

You still think it's a defect eh?
BTW, reproducibility on my device dropped from the 100% I reported earlier. I can get to devctl=dd easily, but power=f1 isn't working anymore.

Oh and I agree with your suggestion on closing this thread and taking it 'elsewhere'

blue_led 2010-06-08 16:45

Re: N900 will not allow USB OTG!
 
@ h-e-n crew

i saw in hostmode-working.sh bme is stopped after "echo"s and about sequence of echos ....... long story

my proposal: ( without pc )

stop bme # ( for god sake )
echo host >/sys/devices/platform/musb_hdrc/mode
echo H >/proc/driver/musb_hdrc
i2cset -y -m 0x07 2 0x6b 0x01 0x05
echo I > /proc/driver/musb_hdrc
echo F > /proc/driver/musb_hdrc
echo e > /proc/driver/musb_hdrc
while true; do sleep 28; i2cset -y -m 0x80 2 0x6b 0x00 0x80; done


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

vBulletin® Version 3.8.8