1. A method implemented by a host computing device comprising: detecting connection of a connector to an accessory port of the host computing device based on signals conveyed via a pair of detection pins allocated in the connector; ascertaining an orientation of the connection of the connector to the accessory port based on the signals, the signals indicating a logic state combination for the pair of detection pins, the logic state combination indicating whether an accessory device connected via the connector is a one wire device or a two wire device; and configuring a switching mechanism of the host computing device to route signals according to the ascertained orientation and the logic state combination.
8. A method as described in claim 1 , wherein ascertaining an orientation of the connection of the connector comprises: sampling signals associated with allocated detection pins of the connector to determine a device type for the accessory device as a one wire device or a two wire device; and when the device type is a one wire device, determining the orientation of the connection directly from the sampled signals; or when the device type is a two wire device, resolving the orientation through an authentication sequence in which credentials supplied by the accessory device are employed to establish validity states for the detection pins indicative of the orientation.