Samsung HL-R5668W HD Television RS-232 Serial Interface Driver Copyright (C) 2006 Eric Gumtow This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA ejgumtow@yahoo.com http://www.ejgumtow.com/ WHAT IS IT? =========== This code is a driver to control your Samsung WL-R5668W Hi-Def television. When properly compiled, it can be linked into your program. Your program can do whatever it wishes without knowing the specifics about the protocol between your computer and your television. FILES ===== There are six files. 1) README.txt - The file you are presently reading. 2) Makefile - A script for use under UNIX/Linux to easily compile the driver. 3) Samsung_HL-R5668W_driver.h - Header file with your interface to the driver. 4) Samsung_HL-R5668W_driver.c - The meat of the code. 5) Samsung_HL-R5668W_driver_pvt.h - Definitions you should not care about. 6) Samsung_HL-R5668W_driver_test.c - A simple test program you will use only if you have difficulties interfacing with your television. SERIAL TERMNIAL SETTINGS ======================== 19200 baud, 8 data bits, 1 stop bit, no parity, no flow control Null modem serial cable. Make sure to set your television to use the serial port. The serial bus is shared with two other connections and they cannot co-exist. DOCUMENTATION ============= Documentation on what options your television has and what can be controlled over the RS-232 serial link should have come with your television. The document I have is titled "Procedures for Controlling a DLP TV using an RS-232C Connection" and its revision (bottom right corner) is BP68-00514A-01. If you didn't receive the documentation, you might be out of luck because I can't find it anywhere online. You can sort of piece it together from the interface in Samsung_HL-R5668W_driver.h. TESTED ====== I'm running Cygwin on Windows XP with gcc 3.4.4. I've run SuSE Linux with gcc 4.0.4. I have not tested all the television options. Some of the seldom used options might not work, though they probably do. PORTABILITY =========== As is, this program won't work under straight-up Windows. The serial driver interface is much different (and more complex) under Windows, so I didn't write it. To make it work under Windows, one would need to change the port open and close functions - nothing more.