Patent ID: 7214089

Claim:
A Universal Serial Bus On-The-Go apparatus, which comprises: a USB OTG controller; at least one port switching device, coupled to said USB OTG controller for switching a host role or a slave role connected to it, respectively; a first receptacle, coupled to said port switching device for connecting to a first USB device; a second receptacle, coupled to said switching device for connecting to a second USB device; and a state machine logic, coupled to said USB OTG controller for selectively enabling said port switching device by a pre-determined priority and sensing plug-in activity to said first receptacle or second receptacle, wherein said state machine logic is implemented as part of a firmware of said USB OTG controller, wherein said second controller further comprises a physical interface and at least one receptacle for coupling to an IEEE1394 peripheral device, wherein said pre-determined priority of said state machine logic determines said first receptacle having the highest priority, said second receptacle having the middle priority, and said receptacle coupled to said second controller having the lowest priority.