Patent ID: 8907805

Claim:
A method for sensing a connection port, adapted for a computer system, the method comprising: providing a sensing device nearing a connection port; providing a lighting device nearing the connection port; and activating the lighting device by a connection port sensing apparatus when the sensing device detects an object being nearing the connection port to light the connection port to facilitate an external device into the connection port; wherein the computer system further comprises: a keyboard controller having a first general purpose input output pin and a second general purpose input output pin, wherein the first general purpose input output pin is coupled to the sensing device and the second general purpose input output pin is coupled to the lighting device; a motherboard chip having a low pin count bus and a specific bus, wherein the motherboard chip is coupled to the keyboard controller through the low pin count bus and the motherboard chip is coupled to the port of the connection port through the specific bus, when the keyboard controller determines that the sensing device detects the object being nearing the connection port through the first general purpose input output pin; the keyboard controller notifying the motherboard chip through the low pin count bus, while the motherboard chip displaying a message on a screen through the operating system of the computer system; and the keyboard controller controls the operation of the lighting device through the second general purpose input output pin.