Patent ID: 8751182
Filing Date: 2014-06-10
Classification: G06F

Abstract:
1. A computing device, comprising: a storage system; at least one processor; a motherboard comprising a serial port; and one or more programs stored in the storage system and executed by the at least one processor, the one or more programs comprising: a sending module operable to enable a transmit data (TXD) pin of the serial port to send test data to a receive data (RXD) pin of the serial port; an acquisition module operable to enable the RXD pin to receive a test result from the serial port, and acquire status values of the serial port; a determination module operable to compare the test data with the test result, and determine that the TXD pin and the RXD pin work normally upon the condition that the test data is identical to the test result; a setting module operable to set voltages of a data terminal ready (DTR) pin and a request to send (RTS) pin of the serial port at high level; the determination module further operable to determine that the RTS pin and a data carrier detect (DCD) pin of the serial port work normally, upon the condition that the status values indicate the voltages of the RTS pin and the DCD pin are at high level; the determination module further operable to determine that the DTR pin and a ring indicator (RI) pin of the serial port work normally, upon the condition that the status values indicate the voltages of the DTR pin and the RI pin are at high level; and the determination module further operable to determine that a data send ready (DSR) pin and a clear to send (CTS) pin of the serial port work normally, upon the condition that the status values indicate the voltages of the DSR pin and the CTS pin are at high level.