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)

Estel 2012-05-22 14:52

Re: [Announce] USB hostmode beta release
 
Are You sure, that Your Y-cable is ok? when I connect device through mine *without* using 3th plug, it act just like normal USB cable. in fact, I don't see any logical reasons, why it shouldn't.

In fact, even *with* 3th plug connected to charger, USB connection should be achievable (unless You cross data pins, but why would You on Y-Cable, that's meant for hostmode?).

/Estel

pablocrossa 2012-05-22 15:07

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by Estel (Post 1210798)
Are You sure, that Your Y-cable is ok? when I connect device through mine *without* using 3th plug, it act just like normal USB cable. in fact, I don't see any logical reasons, why it shouldn't.

In fact, even *with* 3th plug connected to charger, USB connection should be achievable (unless You cross data pins, but why would You on Y-Cable, that's meant for hostmode?).

/Estel

If I understand correctly y-cables have the main branch with voltage and data and the auxiliary branch with voltage only. Without the third plug its fine, I meant while using the third plug i.e. charging and about to do hostmode.
I am trying to hack scripts together so the hostmode happens automagically :) I edited one of my posts in order to explain the solution I found, can anyone answer the other one, can I know if a cable is plugged into the N900 even though it is plugged into no host due to the shorting of maybe the 4th and 5th pin or something similar?? Thank you

joerg_rw 2012-05-22 18:20

Re: [Announce] USB hostmode beta release
 
if automatic hostmode was possible, I had shipped it 16 months ago


I:E: N900 has no way to auto-detect a Y-cable or a peripheral with normal cable and F-F-adapter (there's a more theoretical option to detect ID-to-GND short as you find it on A-plugs which don't fit into N900 B-receptacle. This needs pullup on ID though, which by default isn't enabled)
/j

pablocrossa 2012-05-22 19:35

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by joerg_rw (Post 1210886)
if automatic hostmode was possible, I had shipped it 16 months ago


I:E: N900 has no way to auto-detect a Y-cable or a peripheral with normal cable and F-F-adapter (there's a more theoretical option to detect ID-to-GND short as you find it on A-plugs which don't fit into N900 B-receptacle. This needs pullup on ID though, which by default isn't enabled)
/j

I have got it detecting the y-cable using the edited method on my post on the previous page, works for me all the time, now modifying the hostmode script but blue_led or whatever his name is so it can detect the speed of the device connected by stopping the charging, doing its vboost magic and then starting the charging again :)
Good to know the theoretical approach is not accessible (well, bad really, but you understand what I mean). I guess then I will only be able to automatically host while using y-cable then, the other hosting will require a button... shame

Estel 2012-05-23 10:02

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by joerg_rw (Post 1210886)
you find it on A-plugs which don't fit into N900 B-receptacle. This needs pullup on ID though, which by default isn't enabled)
/j

It's quite easy to pill plug in a way, that it plugs into N900 nicely, and ID pin is detected as it should. Making proper detection of speed without ages-long connection (due to enabling as disabling vboost and speed 3 times) is harder to achieve, I think.

/Estel

antaniz 2012-06-07 10:49

Re: [Announce] USB hostmode beta release
 
Hallo Everyone!
I am would like to use nokia n900, as a base for a usb-serial device which needs to be powered at 5V. ftdi driver on windows works good, while on linux on usb attach kernel recognises /dev/ttyUSB0 and /dev/ttyUSB1. Is there any chance and way i can make it workable in a stable way on nokia n900?

Win7Mac 2012-06-07 11:46

Re: [Announce] USB hostmode beta release
 
Can this be adapted for N9?

nokix 2012-07-23 12:52

Re: [Announce] USB hostmode beta release
 
I tried connecting a N9 as a client to a N900 running h-e-n. It didn't work. I got the message "unable to connect, no filesystem available". Is it possible to connect the N9 to the N900 like that?

I'll test connecting other flash drives to the N900 once I get my hands on some.

nokix 2012-07-27 15:39

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by nokix (Post 1241624)
I tried connecting a N9 as a client to a N900 running h-e-n. It didn't work. I got the message "unable to connect, no filesystem available". Is it possible to connect the N9 to the N900 like that?

I'll test connecting other flash drives to the N900 once I get my hands on some.

I can connect a flash drive to my N900 and read/write files. So it's the N9 that can't connect afterall. Has anyone tried connecting the N9 to the N900 as a client? Maybe h-e-n is missing a driver/module?

freemangordon 2012-07-27 16:15

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by nokix (Post 1243810)
I can connect a flash drive to my N900 and read/write files. So it's the N9 that can't connect afterall. Has anyone tried connecting the N9 to the N900 as a client? Maybe h-e-n is missing a driver/module?

Maybe N9 starts charging and triggers overcurrent protection of N900 ;)


All times are GMT. The time now is 05:03.

vBulletin® Version 3.8.8