Method for controlling a source apparatus using cec of hdmi and the source apparatus

A source apparatus and a method for controlling the same by using CEC(Consumer Electronics Control) of an HDMI(High-Definition Multimedia Interface) are provided to receive a command of performing an operation related to a message by using the CEC, thereby enabling another operation related to the received message. A message related to a predetermined event is transmitted to a sync device by using a CEC protocol if the event is generated(910). A command for the execution of an operation related to the message is received from the sync device by using the CEC protocol(920). The operation related to the message is carried out based on the received command(930). The command is defined by using a vendor command format of the CEC protocol. The operation is executed based on the response previously stored in the sync device. The operation is performed based on the analysis of the response.