cec: added the vendor id for Sony
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 11 Jan 2012 01:10:27 +0000 (02:10 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 11 Jan 2012 01:10:27 +0000 (02:10 +0100)
include/cectypes.h
src/lib/CECProcessor.cpp

index 1ad7d407fc24362c14862c1568d8f4f5f5fb62d5..10f8a566862c4dfa1e6de4efa67337140b9b1984 100644 (file)
@@ -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;
 
index a42921619e5bf874cf3b0c2d8f5063394557ab94..798c38a422cda0c8a855cac235a898d849961cc3 100644 (file)
@@ -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";
   }