# US 6,732,218 B2 · Dual-role compatible USB hub device and method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 6,732,218 B2
- Document ID: US6732218B2
- Status: Granted
- Kind: B2
- Application number: 10/206,286
- Filed: 2002-07-26
- Published: 2004-01-29
- Granted: 2004-05-04
- Earliest claimed: 2002-07-26
- Assignees: Motorola, Inc.
- Inventors: Eric J. Overtoom; Mark R. Braun; Mark Carlson
- Web page: https://patentgrep.com/patent/US6732218B2

## CPC

- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A Universal Serial Bus hub apparatus and method is disclosed that is compatible with the On-the-Go (OTG) supplement to the USB 2.0 specification so as to enable dual-role devices (OTG devices) to be connected via a hub. The hub includes a number of ports that are configured to connect the hub to one or more external devices, which may include OTG devices. A controller within the hub controls operations therein. The hub also includes a port switching device controlled by the controller for selectively allowing one of the number of ports to act as a host port and the other remaining ports to act as device ports.

## Claims

### Claim 1

A Universal Serial Bus hub apparatus comprising:
a plurality of ports configured to connect the USB hub apparatus to one or more external devices;
a controller device; and
a port switching device coupled to the controller device and the plurality of ports and controlled by the controller device for selectively connecting any one of the plurality of ports to serve as a host port and the other ones of the plurality of ports to serve as device ports.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein each of the plurality of ports comprises an A-type of Universal Serial Bus port.

### Claim 3 (depends on 2)

The apparatus according to claim 2, further comprising:
an override port comprising a B-type of Universal Serial Bus port allowing connection of a personal computer to obtain host control.

### Claim 4 (depends on 1)

The apparatus according to claim 1 further comprising:
a collision detector and control device configured to detect signal collisions occurring between signals received by the plurality of ports acting as device ports from the external devices that are being transmitted to the host port and mitigate the collisions by selectively switching a multiplexing circuit.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the controller detects when the port acting as host port is idle for a predetermined period and controls the port switching device to connect the USB hub apparatus as a host control.

### Claim 6 (depends on 1)

The apparatus according to claim 1, wherein the controller comprises a microcontroller, a USB host controller and a USB peripheral controller.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein the microcontroller is configured to communicatively connect the USB host controller to the port switching device during a start-up of the USB hub apparatus.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the microcontroller is configured to detect when a request by an external device to act as host control is received via one of the plurality of ports to which the external device is attached and control the switching device to reconfigure the switching device such that all other ports of the plurality ports are device ports in response to the detection of the request.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the microcontroller is configured such that when a USB peripheral controller port acting as host port is idle for a predetermined period the microcontroller controls the port switching device to connect the USB hub apparatus as a host control.

### Claim 10 (depends on 1)

The apparatus according to claim 1 wherein the USB hub apparatus is configured to operate according to the On-the-Go supplement to the USB 2.0 specification and the ports are configured to be connectable to On-the-Go dual-role devices.

### Claim 11 (depends on 1)

The apparatus according to claim 1, wherein the controller is configured to assume host control during the occurrence at least one of start up of the USB hub apparatus, idleness of a current host device and transfer of host control between two peripheral devices.

### Claim 12

A USB communication system comprising:
one or more dual-role peripheral devices; and
a hub apparatus comprising:
a plurality of ports configured to connect the hub apparatus device to the one or more peripheral devices;
a controller device; and
a port switching device coupled to the controller device and the plurality of ports and controlled by the controller device for selectively connecting any one of the plurality of ports to serve as a host port allowing a dual-role peripheral of the one or more dual-role peripheral device to assume host control and the other ones of the plurality of ports to serve as device ports.

### Claim 13 (depends on 12)

The system according to claim 12, wherein each of the plurality of ports comprises an A-type of Universal Serial Bus port.

### Claim 14 (depends on 13)

The system according to claim 13, further comprising:
an override port comprising a B-type of Universal Serial Bus port allowing connection of a personal computer to obtain host control.

### Claim 15 (depends on 12)

The system according to claim 12 further comprising:
a collision detector and control device configured to detect signal collisions occurring between signals received by the plurality of ports acting as device ports from the external devices that are being transmitted to the host port and mitigate the collisions by selectively switching a multiplexing circuit.

### Claim 16 (depends on 12)

The system according to claim 12, wherein the controller detects when the port acting as host port is idle for a predetermined period and controls the port switching device to connect the hub apparatus as a host control.

### Claim 17 (depends on 12)

The system according to claim 12, wherein the controller comprises a microcontroller, a USB host controller and a USB peripheral controller.

### Claim 18 (depends on 17)

The system according to claim 17, wherein the microcontroller is configured to communicatively connect the USB host controller to the port switching device during a start-up of the hub apparatus.

### Claim 19 (depends on 18)

The system according to claim 18, wherein the microcontroller is configured to detect when a request by an external device to act as host control is received via one of the plurality of ports to which the external device is attached and control the switching device to reconfigure the switching device such that all other ports of the plurality ports are device ports in response to the detection of the request.

### Claim 20 (depends on 19)

The system according to claim 19, wherein the microcontroller is configured such that when a USB peripheral controller port acting as host port is idle for a predetermined period the microcontroller controls the port switching device to connect the hub apparatus as a host control.

### Claim 21 (depends on 12)

The system according to claim 12 wherein the hub apparatus is configured to operate according to the On-the-Go supplement to the USB 2.0 specification and the ports are configured to be connectable to On-the-Go dual-role devices.

### Claim 22 (depends on 12)

The system according to claim 12, wherein the controller is configured to assume host control during the occurrence at least one of start up of the hub apparatus, idleness of a current host device and transfer of host control between two peripheral devices.

### Claim 23

A method of operating a USB hub having a plurality of ports and a hub controller for controlling routing of the ports, the method comprising:
operating the hub as a host device having host control during a start-up period;
determining using the hub controller which of the plurality of ports are connected to corresponding external devices and assigning addresses to those devices;
enabling a host negotiation protocol on the external devices; and
transferring host control from the hub to a first external device connected to a first port of the plurality of ports when a request for host control is received by the hub controller from the first external device via the first port, the first port being any of the plurality of ports.

### Claim 24 (depends on 23)

The method according to claim 23 further comprising:
transferring host control back to the hub controller from the first external device after an external device to which host control was transferred no longer requests host control according to a predetermined condition.

### Claim 25 (depends on 24)

The method according to claim 24, wherein the predetermined condition comprises when no communication occurs on the port to which the first external device is connected indicating that the first external device is idle.

### Claim 26 (depends on 24)

The method according to claim 24, wherein the predetermined condition comprises when a signal from the first external device is received by the hub indicating that the external device no longer requests host control.

### Claim 27 (depends on 23)

The method according to claim 23, further comprising:
transferring host control to a second external device connected to a second port of the plurality of ports when a signal requesting host control is received by the hub via the second port from the second external device.

### Claim 28 (depends on 23)

The method according to claim 23, further comprising:
transferring host control to an override port of the plurality of ports when a personal computer is connected to the override port.
