
23 Mar
2015
23 Mar
'15
5:46 p.m.
Hi,
On Mon, Mar 23, 2015 at 9:34 AM, Hans de Goede hdegoede@redhat.com wrote:
Hi,
On 23-03-15 17:28, Hans de Goede wrote:
vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connector.
vbus-available correctly always reflects if there is 5v present on the otg connector.
Except that it also gets set when there is a usb-host cable with a device attached plugged in, so this is going to need some more thinking, I'll send a new patch when I've something which does not break using the port in host mode.
My understanding is VBUS_Usable = VBUS_Available && (!(N_VBUSEN || reg 30h[7]))
reg 30h[7] says whether to check N_VBUSEN before using VBUS.
ChenYu