removed disabling of port A power during self detect. Lightning cable was falsely tripping this, preventing charging of Apple products.