From: Lars Op den Kamp Date: Wed, 11 Jan 2012 01:10:27 +0000 (+0100) Subject: cec: added the vendor id for Sony X-Git-Tag: upstream/2.2.0~1^2~41^2~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1a87cacc08dda28c8f4c42a20bd7fdbe12364bf6;p=deb_libcec.git cec: added the vendor id for Sony --- diff --git a/include/cectypes.h b/include/cectypes.h index 1ad7d40..10f8a56 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -600,13 +600,14 @@ typedef enum cec_bus_device_status typedef enum cec_vendor_id { - CEC_VENDOR_SAMSUNG = 0x00F0, - CEC_VENDOR_LG = 0xE091, - CEC_VENDOR_PANASONIC = 0x8045, - CEC_VENDOR_PIONEER = 0xE036, - CEC_VENDOR_ONKYO = 0x09B0, - CEC_VENDOR_YAMAHA = 0xA0DE, - CEC_VENDOR_PHILIPS = 0x903E, + CEC_VENDOR_SAMSUNG = 0x0000F0, + CEC_VENDOR_LG = 0x00E091, + CEC_VENDOR_PANASONIC = 0x008045, + CEC_VENDOR_PIONEER = 0x00E036, + CEC_VENDOR_ONKYO = 0x0009B0, + CEC_VENDOR_YAMAHA = 0x00A0DE, + CEC_VENDOR_PHILIPS = 0x00903E, + CEC_VENDOR_SONY = 0x080046, CEC_VENDOR_UNKNOWN = 0 } cec_vendor_id; diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index a429216..798c38a 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -1440,6 +1440,8 @@ const char *CCECProcessor::ToString(const cec_vendor_id vendor) return "Yamaha"; case CEC_VENDOR_PHILIPS: return "Philips"; + case CEC_VENDOR_SONY: + return "Sony"; default: return "Unknown"; }