Quote:
Originally Posted by HeliumX10
First - I wont quote, because this thread goes out of control
Blocking schottky diode is necessary - it prevents the voltage shortcut between powered host and possibly self power providing slave.
...
 )).
|
 Sorry - quoting a bit blindly
Looks like you're right though about protection being necessary against two devices driving V+ at the same time. See this thread:
[webcam support] USB Host support that YOU can try (now in nightlies)
http://forum.xda-developers.com/show....php?t=1105497
He has a bit marked out in red where he managed to toast the USB in his Nook.
Also these guys are researching the same issue on the Nook (color?) and seem to be way ahead of anyone working on the Galaxy Note.
I am now looking at (kernel) code to see whats going on, and I see a lot of FIXME and TODO-type comments in the OTG code, and this is in ICS 4.04 kernel which Samsung are releasing now. That said, the power management/supply chip is a MAX8997, which appears to provide full support for OTG (BC_1.1 ) though how bug-free that is I couldn't say.
I haven't identified what USB transceiver is in use yet.
What I'm looking at now is an app to supply-to/charge-from/turn-off USB power, and host/client/off USB. This I'm sure is going to take kernel mods. It seems that its going to be needed in the short run; and I think it may have some value in the long run too (back-powered hubs being quite common it seems)
Renate: You've written an app for the nook that does that. Can you point me at details and maybe source somewhere? Also such an app was available in the above quoted thread (yours Renate?) for the Nook; I follow the download link and its expired though.
Here is an interesting thread on back-powering hubs again: (I have no idea what a raspberry pi is)
http://www.raspberrypi.org/phpBB3/vi...11419&p=125412
ONE MORE THING
Quote:
Found in GT-N7000_SEA_IC_Kernel/arch/arm/mach-exynos/p10-battery.c:
/* matching with power_supply_type in power_supply.h */
static sec_charging_current_t charging_current_table[] = {
{0, 0, 0, 0}, /* POWER_SUPPLY_TYPE_BATTERY */
{2000, 2000, 256, 0}, /* POWER_SUPPLY_TYPE_MAINS */
{500, 500, 256, 0}, /* POWER_SUPPLY_TYPE_USB */
{500, 500, 256, 0}, /* POWER_SUPPLY_TYPE_USB_DCP */
{500, 500, 256, 0}, /* POWER_SUPPLY_TYPE_USB_CDP */
{500, 500, 256, 0}, /* POWER_SUPPLY_TYPE_USB_ACA */
{0, 0, 0, 0}, /* POWER_SUPPLY_TYPE_OTG */
{0, 0, 0, 0}, /* POWER_SUPPLY_TYPE_DOCK */
{500, 500, 256, 0}, /* POWER_SUPPLY_TYPE_MISC */
{0, 0, 0, 0}, /* POWER_SUPPLY_TYPE_WIRELESS */
};
|
 I don't think I've ever seen my Note charging at 2A - the charger supplied was just a 1A USB thing that I plugged the data cable into. Not sure if it shorts the D+/D- pins or not.
|