# US 2003/0223486 A1 · Method for detecting data transmission rate of USB controller by using USB device

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

- Number: US 2003/0223486 A1
- Document ID: US20030223486A1
- Status: Published application
- Kind: A1
- Application number: 10/263,751
- Filed: 2002-10-04
- Published: 2003-12-04
- Earliest claimed: 2002-05-29
- Assignees: VIA Technologies, Inc.
- Inventors: Hung-Chou Hsu
- Web page: https://patentgrep.com/patent/US20030223486A1

## CPC

- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention discloses a method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, said method comprising steps of: activating an IRQ signal of a timer by using a program; detecting whether said USB controller transmits a signal corresponding to a high-speed USB controller within a pre-determined period of time; if not, setting data transmission in a full-speed mode; if yes, setting data transmission in a high-speed mode.

## Claims

### Claim 1

A method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, said method comprising steps of:
a. activating an IRQ signal of a timer by using a program;
b. detecting whether said USB controller transmits a K signal within a pre-determined period of time; if not, setting data transmission in a full-speed mode; if yes, proceeding with step c;
c. detecting whether said USB controller transmits a J signal within said pre-determined period of time; if not, setting data transmission in said full-speed mode; if yes, proceeding with step d;
d. repeating step b and step c twice, and proceeding with step e only if data transmission is not set in said full-speed mode; and
e. setting data transmission in a high-speed mode.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein said program storage device comprises a transmission rate identifying flag.

### Claim 3 (depends on 2)

The method as claimed in claim 2, further comprising a step a0 before said step a:
setting said transmission rate identifying flag to be zero.

### Claim 4 (depends on 3)

The method as claimed in claim 3, wherein said step b and said step c are replaced respectively by steps of:
bb. detecting whether said USB controller transmits a K signal within said pre-determined period of time; if not, setting said transmission rate identifying flag and data transmission in said full-speed mode; if yes, proceeding with step cc; and
cc. detecting whether said USB controller transmits a J signal within said pre-determined period of time; if not, setting said transmission rate identifying flag and data transmission in said full-speed mode; if yes, proceeding with said step d.

### Claim 5 (depends on 4)

The method as claimed in claim 4, further comprising a step d1 after said step d:
examining whether said transmission rate identifying flag is in said full-speed mode; if yes, setting data transmission in said full-speed mode; if not, proceeding with said step e.

### Claim 6 (depends on 1)

The method as claimed in claim 1, wherein said program storage device is a memory.

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein said pre-determined period of time is 3.0 ms.

### Claim 8 (depends on 2)

The method as claimed in claim 2, wherein said transmission rate identifying flag is a column in a register.

### Claim 9 (depends on 2)

The method as claimed in claim 2, wherein the value “1” of said transmission rate identifying flag represents said full-speed mode.

### Claim 10 (depends on 1)

The method as claimed in claim 1, wherein said USB controller is installed in a host selected from one of a computer and a hub.

### Claim 11

A method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, said method comprising steps of:
activating an IRQ signal of a timer;
detecting whether said USB controller transmits a signal corresponding to a high-speed USB controller within a pre-determined period of time, and
if yes, setting data transmission in a high-speed mode; if not, setting data transmission in a full-speed mode.

### Claim 12 (depends on 11)

The method as claimed in claim 11, wherein said pre-determined period of time is 3.0 ms.

### Claim 13 (depends on 11)

The method as claimed in claim 11, wherein said signal corresponding to said high-speed USB controller is a signal representing KJKJKJ.

### Claim 14 (depends on 13)

The method as claimed in claim 13, wherein said period of time between said K and said J signal is less than 3.0 ms.

### Claim 15 (depends on 11)

The method as claimed in claim 11, wherein said USB controller is installed in a host selected from one of a computer and a hub.

### Claim 16 (depends on 11)

The method as claimed in claim 11, wherein said program storage device is a memory.

### Claim 17 (depends on 11)

The method as claimed in claim 11, wherein said program storage device comprises a transmission rate identifying flag.

### Claim 18

A method for detecting data transmission rate of a USB controller by using a USB device having at least one program storage device, wherein said program storage device comprises a transmission rate identifying flag, said method comprising steps of:
setting said transmission rate identifying flag to be zero before transmitting said IRQ signal;
detecting whether said USB controller transmits said signal corresponding to said high-speed USB controller within said pre-determined period of time;
if yes, setting said transmission rate identifying flag in said high-speed mode; if not, setting said transmission rate identifying flag in said full-speed mode; and
setting data transmission rate according to said transmission rate identifying flag.

### Claim 19 (depends on 18)

The method as claimed in claim 18, further comprising a step before setting said data transmission rate:
confirming that the detecting result is consistent with said transmission rate identifying flag.

### Claim 20 (depends on 18)

The method as claimed in claim 18, wherein the value “1” of said transmission rate identifying flag represents said full-speed mode.
