enable color on thedoc's box (depends as usual on mac)
[enigma2.git] / lib / driver / avswitch.cpp
index 31db25a47dc573c93989b7f9e52cf8a6d8ac09b7..f7b1bbd4e7afe37e4248c43e3184937ad65f427f 100644 (file)
@@ -17,6 +17,10 @@ eAVSwitch::eAVSwitch()
        instance = this;
        
        avsfd = open("/dev/dbox/avs0", O_RDWR);
+       
+       //enable colors on thedoc's tv 
+       ioctl(avsfd, 0x1000 | 35, 2);
+       ioctl(avsfd, 0x1000 | 9, 1);
 }
 
 eAVSwitch::~eAVSwitch()