|
2010-05-05
, 14:21
|
Posts: 82 |
Thanked: 214 times |
Joined on Jan 2010
@ Cape town
|
#742
|
Javispedro, what do you mean by "does nothing"?
Have you tested with negative results?
The Following 2 Users Say Thank You to cb22 For This Useful Post: | ||
|
2010-05-05
, 14:53
|
Posts: 306 |
Thanked: 566 times |
Joined on Jan 2010
@ Romania
|
#743
|
Javispedro, what do you mean by "does nothing"?
Have you tested with negative results?
AIUI the PHY chip has a parallel->serial converter for sending data, a serial->parallel converter for receiving data (both for all I understand are completely unchanged function for both host and device mode!), and the only thing to switch to enter "host mode" are the pull-up resp pull-down resistor.
Even that doesn't completely stop host mode if not accomplished, as I could witness by using OM GTA02 Freerunner in externally powered host mode successfully (on GTA02 switching off the VBUS booster also switches the pulldowns/pullup)
The Following User Says Thank You to blue_led For This Useful Post: | ||
|
2010-05-05
, 16:08
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#744
|
The Following 4 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-05
, 16:27
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#745
|
Awhile ago in this thread (page 55), it was suggested by andree to add some lines of code which would set USB_TEST_FORCE_HOST
(http://talk.maemo.org/showpost.php?p...&postcount=541)
The Following User Says Thank You to egoshin For This Useful Post: | ||
|
2010-05-05
, 16:29
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#746
|
Please pretty please can we stop talking about ID pin every second sentence. It is used for OTG only, and we don't need it, don't want it, can't use it, and don't care!
otherwise I don't see the point where I'm supposedly "99.9%" wrong. I used Openmoko GTA02 with a USB keyboard, while those pulldown resistors were disabled, and the pullup ususally signaling the GTA02 is a device was enabled. It worked. Period
The Following User Says Thank You to egoshin For This Useful Post: | ||
|
2010-05-05
, 16:36
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#747
|
Can you detail a little more here?
Which resisters and which line pullup/down and what was a sequence?
To recap, the direction of power can be controlled:
Set to 0 (default), no power is provided at the USB port, charging is enabled, and host 15K pulldowns are removed from D+ and D-:
echo 0 > /sys/devices/platform/neo1973-pm-host.0/hostmode
Set to 1, provides up to 500mA USB power at the USB port (FreeRunner only), disables charging from USB, and applies 15K pulldowns to USB D+ and D-:
echo 1 > /sys/devices/platform/neo1973-pm-host.0/hostmode
The Following 2 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-05
, 17:14
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#748
|
Please pretty please can we stop talking about ID pin every second sentence. It is used for OTG only, and we don't need it, don't want it, can't use it, and don't care!
|
2010-05-05
, 17:25
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#749
|
The Following User Says Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-05
, 17:37
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#750
|
Also, from reading that stuff, I get the impression that even with chip changes and reroutes, that, besides the jack, Nokia made software-only changes to disable OTG and host mode (initially using just the TWL4030, and rerouted USB stuff to isp1707 later? [look at usb_emergency_stop() comments] Actually, initially using a OMAP4330 with a TWL5030 [Beagleboard?]).
Tags |
awesomeness in the works, boulevard of broken deals, host, i am the dealbreaker, inspector gadget lies, mobidapter is a scam, nokia fanbois, otg, over 9000, usb, usbcontrol |
Thread Tools | |
|
Have you tested with negative results?
AIUI the PHY chip has a parallel->serial converter for sending data, a serial->parallel converter for receiving data (both for all I understand are completely unchanged function for both host and device mode!), and the only thing to switch to enter "host mode" are the pull-up resp pull-down resistor.
Even that doesn't completely stop host mode if not accomplished, as I could witness by using OM GTA02 Freerunner in externally powered host mode successfully (on GTA02 switching off the VBUS booster also switches the pulldowns/pullup)