From a92e58b2a8fc37e0a838593676bc5e065c4d28f6 Mon Sep 17 00:00:00 2001 From: Ronny Strutz Date: Fri, 2 Sep 2005 21:59:24 +0000 Subject: [PATCH] enable color on thedoc's box (depends as usual on mac) --- lib/driver/avswitch.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/driver/avswitch.cpp b/lib/driver/avswitch.cpp index 31db25a4..f7b1bbd4 100644 --- a/lib/driver/avswitch.cpp +++ b/lib/driver/avswitch.cpp @@ -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() -- 2.30.2