 |
Mamata, Tohru; |
USB legacy support system

Data input from a USB keyboard or mouse to a USB host controller is transformed by an SM-BIOS into data corresponding to a PS/2 keyboard/mouse, and then transferred to the I/O port (60h/64h) of a standard bus interface via the shadow port of a KBC. The KBC generates IRQ1 (IRQ12) similar to the case wherein it receives data from the PS/2 keyboard or mouse, thereby starting a keyboard driver.


I claim:
1. A computer system comprising:
a Peripheral Component Interconnect (PCI) bus;
an Industry Standard Architecture (ISA) bus;
a bus bridge connecting said PCI bus and said ISA bus;
a keyboard controller, coupled to said ISA bus, including a first I/O port buffer used for storing data corresponding to a PS/2-compliant I/O device, and for generating an IRQ interrupt to initiate a driver to read the data in said first I/O port buffer, wherein said keyboard controller further includes a second I/O port buffer;
a Universal Serial Bus (USB) host controller, coupled to said PCI bus, for controlling a USB I/O device, wherein said USB host controller issues a system management interrupt in response to reception of data from the USB I/O device; and
System Management Interrupt (SMI) BIOS means, responsive to the system management interrupt from said USB host controller, for transforming the data from said USB host controller into data corresponding to the PS/2-compliant I/O device and writing the transformed data in said second I/O port buffer, wherein said keyboard controller transfers the data written in said second I/O port buffer to said first I/O port buffer and issues the IRQ interrupt for causing the driver to read the data in said first I/O port buffer.
2. The system according to claim 1, wherein said USB host controller is incorporated in said bus bridge.
3. The system according to claim 1, wherein said USB I/O device is one of a USB keyboard or a USB mouse.
4. The system according to claim 1, wherein said driver includes means for writing a command to said first I/O port buffer so as to cause said keyboard controller to process the written command.
5. The system according to claim 4, wherein the command processed by said keyboard controller is transferred to at least one of the PS/2 compliant I/O device or USB I/O device.
6. The system according to claim 4, wherein said keyboard controller includes means for transferring the command written in said first I/O port buffer to said second I/O port buffer.
7. The system according to claim 6, wherein said SMI-BIOS means further includes means for transforming the command in said second I/O port buffer into a command corresponding to the USB I/O device to transfer the transformed command to said USB host controller.
8. A computer system comprising:
a Peripheral Component Interconnect (PCI) bus;
an Industry Standard Architecture (ISA) bus;
a bus bridge connecting said PCI bus and said ISA bus;
a keyboard controller, coupled to said ISA bus, including an I/O port buffer used for storing data corresponding to a PS/2-compliant I/O device, and for issuing an IRQ interrupt for causing a driver to read the data in said I/O port buffer; and
a USB (Universal Serial Bus) host controller, coupled to said PCI bus, to control a USB I/O device, wherein said USB host controller includes means for transforming data received from the USB I/O device into data corresponding to a PS/2-compliant I/O device, to serially transfer to said keyboard controller via a serial bus, wherein said keyboard controller includes a processor for transferring the data serially transferred from said USB host controller via the serial bus to said I/O port buffer, and to issue the IRQ interrupt for causing the driver to read the data in said I/O port buffer.
9. The system according to claim 8, wherein said USB I/O device is one of a USB keyboard or a USB mouse.
10. The system according to claim 8, wherein said driver includes means for writing a command to said I/O port buffer so as to cause said keyboard controller to process the written command.
11. The system according to claim 8, wherein the command processed by said keyboard controller is transferred to at least one of the PS/2-compliant I/O device or USB I/O device.
12. The system according to claim 8, wherein the command written in said I/O port buffer is transferred to said USB host controller via the serial bus to control the USB I/O device.
13. The system according to claim 12, wherein said processor includes means for transforming the command written in said I/O port buffer into a command compliant with the USB I/O device.
14. The system according to claim 12, wherein said USB host controller includes means for transforming the command written in said I/O port buffer into a command corresponding to the USB I/O device.
15. A computer system comprising:
a Peripheral Component Interconnect (PCI) bus;
an Industry Standard Architecture (ISA) bus;
a bus bridge connecting said PCI bus and said ISA bus;
a one-chip keyboard controller, coupled to said ISA bus, including an I/O port buffer used for storing data corresponding to a PS/2-compliant I/O device, and for issuing an IRQ interrupt for causing a driver to read the data in said I/O port buffer; and
a Universal Serial Bus (USB) host controller, coupled to said PCI bus and incorporated in said one-chip keyboard controller, for controlling a USB I/O device, wherein said USB host controller includes means for transforming data received from the USB I/O device into data corresponding to a PS/2-compliant I/O device, wherein said one-chip keyboard controller includes a processor for transferring the transformed data to said I/O port buffer and issues the IRQ interrupt for causing the driver to read the data in said I/O port buffer.
16. The system according to claim 15, wherein said USB I/O device is one of a USB keyboard or a USB mouse.
17. The system according to claim 15, wherein said driver includes means for writing a command to said I/O port buffer so as to cause said keyboard controller to process the written command.
18. The system according to claim 15, wherein the command processed by said keyboard controller is transferred to at least one of the PS/2-compliant I/O device or USB I/O device.
19. The system according to claim 18, wherein said processor includes means for transforming the command written in said I/O port buffer into a command corresponding to the USB I/O device.
20. The system according to claim 18, wherein said USB host controller includes means for transforming the command written in said I/O port buffer into a command corresponding to the USB I/O device.
|