IP Library Granted Patent US 8,760,321
Granted Patent B2
US 8,760,321 · App. 12/005,325 · Granted Jun 24, 2014

Method for detecting and processing key scan codes of computer keyboard

Inventor: Chai-Chang Chiu (Tucheng, TW)
Assignee: Getac Technology Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,760,321
App. No.
12/005,325
Granted
Jun 24, 2014
Kind
B2
Abstract

A method for detecting and processing key scan codes of a computer keyboard is disclosed. At least one scan code table is established for a computer device in advance and is stored in a scan code table memory that is accessible by a keyboard controller so that the keyboard controller, after initialization, may load the scan code table from the scan code table memory to a scan code table load-in area within the keyboard controller. The keyboard controller, upon detecting the actuation of any key of the keyboard, generates a interrupt request signal to the south bridge, which in turn retrieves the scan code; or alternatively, the keyboard controller generates an interrupt signal to the south bridge, which in turn retrieves and transmits the interrupt query number of the interrupt signal to the computer operating system, which in turn executes a preset target program corresponding to the interrupt query number.

Claims (22)

1. A method for detecting and processing key scan codes of a computer keyboard electrically connected to a computer device comprising a central processing unit, a basic input/output system, a north bridge, a south bridge, the computer device being operated with an operating system, a keyboard controller being connected to the central processing unit through the south bridge and the north bridge, the keyboard controller comprising a data register and connected to a keyboard basic input/output system and a keyboard comprising a plurality of keys, the method comprising the following steps:

(a) establishing and storing at least one scan code table in an external scan code table memory that is accessible by the keyboard controller via a bus, each scan code table containing a plurality of sets of correlated data of keys and corresponding scan codes;

(b) the keyboard controller, after being initialized, loading one scan code table from the external scan code table memory into a scan code table load-in area of the keyboard controller;

(c) the keyboard controller, upon detecting actuation of one of the keys of the keyboard, retrieving a corresponding scan code from the loaded scan code table and generating an interrupt request signal to the south bridge; and

(d) the south bridge issuing a command signal to the keyboard to retrieve the corresponding scan code from the data register of the keyboard controller;

wherein a plurality of scan code tables are provided in the external scan code table memory, and a selection signal is applied between the keyboard controller whereby the keyboard controller selects and retrieves a selected scan code table among a plurality of scan code tables for loading in the scan code table load-in area.

2. The method as claimed in claim 1 , wherein the external scan code table memory comprises a read-only memory burnt in with the plural sets of correlated data of keys and corresponding scan codes.

3. The method as claimed in claim 1 , wherein the external scan code table memory comprises an erasable writable memory whereby the correlated data of keys and corresponding scan codes of the plurality of scan code tables are updateable.

4. The method as claimed in claim 1 , wherein the scan code table load-in area is a random access memory.

5. The method as claimed in claim 1 , wherein the scan code table load-in area is a register.

6. A method for detecting and processing key scan codes of a computer keyboard electrically connected to a computer device comprising a central processing unit, a basic input/output system, a north bridge, a south bridge, the computer device being operated with an operating system, a keyboard controller being connected to the central processing unit through the south bridge and the north bridge, the keyboard controller comprising a data register and connected to a keyboard basic input/output system and a keyboard comprising a plurality of keys, the method comprising the following steps:

(a) establishing and storing at least one scan code table in an external scan code table memory that is accessible by the keyboard controller via a bus, each scan code table containing a plurality of sets of correlated data of keys and corresponding scan codes;

(b) the keyboard controller, after being initialized, loading one scan code table from the external scan code table memory into a scan code table load-in area of the keyboard controller;

(c) the keyboard controller, upon detecting actuation of one of the keys of the keyboard, retrieving a corresponding scan code from the loaded scan code table and generating an interrupt signal to the south bridge;

(d) the south bridge issuing an interrupt query number retrieval signal to the keyboard controller to obtain an interrupt query number of the interrupt signal;

(e) the south bridge transmitting the interrupt query number so obtained to the operating system; and

(f) the operating system executing a preset target program corresponding to the interrupt query number;

wherein a plurality of scan code tables are provided in the external scan code table memory, and a selection signal is applied between the keyboard controller whereby the keyboard controller selects and retrieves a selected scan code table among a plurality of scan code tables for loading in the scan code table load-in area.

7. The method as claimed in claim 6 , wherein the external scan code table memory comprises a read-only memory burnt in with the plural sets of correlated data of keys and corresponding scan codes.

8. The method as claimed in claim 6 , wherein the external scan code table memory comprises an erasable writable memory whereby the correlated data of keys and corresponding scan codes of the plurality of scan code tables are updateable.

9. The method as claimed in claim 6 , wherein the scan code table load-in area is a random access memory.

10. The method as claimed in claim 6 , wherein the scan code table load-in area is a register.

Assignments (2)
CHANGE OF NAME Recorded May 13, 2014
From: MITAC TECHNOLOGY CORPORATION
To: GETAC TECHNOLOGY CORPORATION
Reel/Frame 032892/0167 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 28, 2008
From: CHIU, CHAI-CHANG
To: MITAC TECHNOLOGY CORP.
Reel/Frame 020730/0580 →
Priority Claims (1)
CN 2007 1 0029415 · Jul 27, 2007 · national
Continuity (1)
Related Publication 20090027236A1 · Jan 29, 2009