Patent ID: 8510489

Claim:
A computing device, comprising: a baseboard management controller (BMC) comprising at least one physical serial port; an operating system (OS); a storage system; at least one processor; a serial communication unit comprising computerized codes in the form of one or more programs, which are stored in the storage system and executed by the at least one processor, the one or more programs comprising: a generation module operable to generate a virtual serial port for the OS by emulating serial port functionality of the physical serial port; a first detection module operable to detect whether the BMC is initializing the physical serial port, and detect whether a serial device is connected to the physical serial port when the BMC is initializing the physical serial port; an activation module operable to activate an interrupt handler to handle an interrupt triggered to the BMC by the serial device in a timely manner; a second detection module operable to detect whether the physical serial port has been initialized by the BMC; and a deactivation module operable to deactivate the interrupt handler when the physical serial port has been initialized by the BMC.