summaryrefslogtreecommitdiff
path: root/utilities/graphlcd_base
diff options
context:
space:
mode:
authorroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
committerroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
commit0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch)
tree11517ce0d3d2977c6732b3aa583b0008083e0bd3 /utilities/graphlcd_base
downloadx-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz
x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2
hello world
Diffstat (limited to 'utilities/graphlcd_base')
-rw-r--r--utilities/graphlcd_base/graphlcd-base-0.1.5-gcc43.patch312
-rw-r--r--utilities/graphlcd_base/graphlcd.conf459
-rw-r--r--utilities/graphlcd_base/utilitie.sh130
3 files changed, 901 insertions, 0 deletions
diff --git a/utilities/graphlcd_base/graphlcd-base-0.1.5-gcc43.patch b/utilities/graphlcd_base/graphlcd-base-0.1.5-gcc43.patch
new file mode 100644
index 0000000..5ec1fa2
--- /dev/null
+++ b/utilities/graphlcd_base/graphlcd-base-0.1.5-gcc43.patch
@@ -0,0 +1,312 @@
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/avrctl.c graphlcd-base-0.1.5/glcddrivers/avrctl.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/avrctl.c 2008-06-15 14:01:50.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/avrctl.c 2008-06-15 14:02:15.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2005 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <stdint.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "avrctl.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/config.c graphlcd-base-0.1.5/glcddrivers/config.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/config.c 2008-06-15 14:01:52.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/config.c 2008-06-15 14:02:15.000000000 +0200
+@@ -9,10 +9,12 @@
+ * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <syslog.h>
+ #include <fstream>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "drivers.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/framebuffer.c graphlcd-base-0.1.5/glcddrivers/framebuffer.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/framebuffer.c 2008-06-15 14:01:53.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/framebuffer.c 2008-06-15 14:02:15.000000000 +0200
+@@ -14,10 +14,12 @@
+ #include <stdio.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/mman.h>
+ #include <sys/ioctl.h>
++#include <cstdlib>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "framebuffer.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/g15daemon.c graphlcd-base-0.1.5/glcddrivers/g15daemon.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/g15daemon.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/g15daemon.c 2008-06-15 14:07:32.000000000 +0200
+@@ -17,10 +17,11 @@
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
+ #include <poll.h>
+ #include <arpa/inet.h>
+ #include <unistd.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+
+ #include "g15daemon.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu126x64D-K610A4.c graphlcd-base-0.1.5/glcddrivers/gu126x64D-K610A4.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu126x64D-K610A4.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu126x64D-K610A4.c 2008-06-15 14:08:52.000000000 +0200
+@@ -23,10 +23,12 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu126x64D-K610A4.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu140x32f.c graphlcd-base-0.1.5/glcddrivers/gu140x32f.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu140x32f.c 2008-06-15 14:01:53.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu140x32f.c 2008-06-15 14:02:15.000000000 +0200
+@@ -19,10 +19,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu140x32f.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-372.c graphlcd-base-0.1.5/glcddrivers/gu256x64-372.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-372.c 2008-06-15 14:01:54.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu256x64-372.c 2008-06-15 14:02:15.000000000 +0200
+@@ -21,10 +21,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu256x64-372.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-3900.c graphlcd-base-0.1.5/glcddrivers/gu256x64-3900.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-3900.c 2008-06-15 14:01:54.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu256x64-3900.c 2008-06-15 14:02:15.000000000 +0200
+@@ -27,10 +27,11 @@
+ #include <fcntl.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <termios.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu256x64-3900.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/hd61830.c graphlcd-base-0.1.5/glcddrivers/hd61830.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/hd61830.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/hd61830.c 2008-06-15 14:03:34.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "hd61830.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/image.c graphlcd-base-0.1.5/glcddrivers/image.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/image.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/image.c 2008-06-15 14:04:11.000000000 +0200
+@@ -10,10 +10,11 @@
+ * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <stdio.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/ks0108.c graphlcd-base-0.1.5/glcddrivers/ks0108.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/ks0108.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/ks0108.c 2008-06-15 14:03:45.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "ks0108.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/network.c graphlcd-base-0.1.5/glcddrivers/network.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/network.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/network.c 2008-06-15 14:08:05.000000000 +0200
+@@ -16,10 +16,11 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <errno.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "network.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/noritake800.c graphlcd-base-0.1.5/glcddrivers/noritake800.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/noritake800.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/noritake800.c 2008-06-15 14:07:04.000000000 +0200
+@@ -32,10 +32,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "noritake800.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/sed1330.c graphlcd-base-0.1.5/glcddrivers/sed1330.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/sed1330.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/sed1330.c 2008-06-15 14:05:55.000000000 +0200
+@@ -17,10 +17,12 @@
+ * (c) 2003 Roland Praml <praml.roland AT t-online.de>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "sed1330.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/sed1520.c graphlcd-base-0.1.5/glcddrivers/sed1520.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/sed1520.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/sed1520.c 2008-06-15 14:05:31.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "sed1520.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/simlcd.c graphlcd-base-0.1.5/glcddrivers/simlcd.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/simlcd.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/simlcd.c 2008-06-15 14:02:15.000000000 +0200
+@@ -11,10 +11,11 @@
+ * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
+ */
+
+ #include <stdio.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "simlcd.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/t6963c.c graphlcd-base-0.1.5/glcddrivers/t6963c.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/t6963c.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/t6963c.c 2008-06-15 14:06:33.000000000 +0200
+@@ -10,10 +10,12 @@
+ *
+ * (c) 2003, 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <syslog.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "t6963c.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcdgraphics/glcd.c graphlcd-base-0.1.5/glcdgraphics/glcd.c
+--- graphlcd-base-0.1.5.orig/glcdgraphics/glcd.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcdgraphics/glcd.c 2008-06-15 14:02:15.000000000 +0200
+@@ -14,11 +14,11 @@
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <syslog.h>
+
+-#include <string>
++#include <cstring>
+
+ #include "bitmap.h"
+ #include "glcd.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcdgraphics/pbm.c graphlcd-base-0.1.5/glcdgraphics/pbm.c
+--- graphlcd-base-0.1.5.orig/glcdgraphics/pbm.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcdgraphics/pbm.c 2008-06-15 14:02:15.000000000 +0200
+@@ -10,12 +10,13 @@
+ */
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <syslog.h>
++#include <cstdlib>
+
+-#include <string>
++#include <cstring>
+
+ #include "bitmap.h"
+ #include "pbm.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/tools/convpic/bmp.c graphlcd-base-0.1.5/tools/convpic/bmp.c
+--- graphlcd-base-0.1.5.orig/tools/convpic/bmp.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/tools/convpic/bmp.c 2008-06-15 14:09:57.000000000 +0200
+@@ -27,12 +27,12 @@
+ ***************************************************************************/
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <string.h>
+-
+-#include <string>
++#include <cstring>
++#include <cstdlib>
+
+ #include <glcdgraphics/bitmap.h>
+ #include <glcdgraphics/image.h>
+
+ #include "bmp.h"
diff --git a/utilities/graphlcd_base/graphlcd.conf b/utilities/graphlcd_base/graphlcd.conf
new file mode 100644
index 0000000..873f569
--- /dev/null
+++ b/utilities/graphlcd_base/graphlcd.conf
@@ -0,0 +1,459 @@
+# graphlcd.conf.sample
+#
+# This file contains a sample configuration for the graphlcd driver
+# library.
+#
+# The format is ini-file-like. It is divided into sections that start
+# at markers that look like [section]. Comments are all line-based
+# comments, and are lines that start with '#'.
+#
+# The file starts with general settings, that are used by several
+# drivers, followed by the sections. Each section represents a single
+# display with a driver definition and specific settings which define
+# how the driver acts. Some of these parameters like device, port and
+# size are already parsed by the library but the drivers can also read
+# their own options from the config file. The library passes them to
+# the drivers.
+
+# WaitMethod
+# Select the method that is used for sleeping.
+# Possible values:
+# 0 - usleep
+# 1 - nanosleep
+# 2 - nanosleep (sched_rr) - This is recommended on kernel 2.4 systems
+# 3 - gettimeofday - This is recommended on kernel 2.6 systems
+# Defaukt value: 2
+WaitMethod=3
+
+# WaitPriority
+# Select the process priority that is used when sleeping.
+# Possible values: -20 <= x <= 19
+# Default value: 0
+WaitPriority=0
+
+# General driver settings
+# This section lists the display settings that are parsed and
+# recognized by the driver library.
+#
+# Driver
+# Sets the display's driver.
+# Currently available are: framebuffer, gu140x32f, gu256x64-372,
+# gu256x64C-3xx0, hd61830, image, ks0108,
+# sed1520, sed1330, simlcd, t6963c
+#
+# Device
+# Instead of using the direct output via port address (see Port), you
+# can use the parport device (/dev/parportX). The advantage over the
+# direct output via port address is that this works for non-root users
+# also. But it's a little bit slower. The modules ppdev.o, parport.o
+# and parport_pc.o must be loaded or compiled into the kernel.
+#
+# Port
+# Sets the port address of the parallel port. If this parameter is not
+# given, 0x378 is used. To use this direct output, the program that
+# uses the driver library has to be started with user 'root'.
+#
+# Width
+# Sets the horizontal size of the display. If this parameter is not
+# given, a default one specific to the driver is used.
+#
+# Height
+# Sets the vertical size of the display. If this parameter is not
+# given, a default one specific to the driver is used.
+#
+# UpsideDown
+# Rotates the display output by 180 degrees. This might be useful, if
+# the LCD is mounted upside-down.
+# Possible values: 'yes', 'no'
+# Default value: 'no'
+#
+# Invert
+# Inverts the display.
+# Possible values: 'yes', 'no'
+# Default value: 'no'
+#
+# Brightness
+# Sets the brightness of your display's backlight if supported by its
+# driver.
+# Supported by: gu140x32f, gu256x64-372, gu256x64-3900
+# Possible values: 0 <= x <= 100)
+# Default value: 100
+#
+# Contrast
+# Sets the contrast of your display if supported by its driver.
+# Supported by: serdisplib
+# Possible values: 0 <= x <= 10
+# Default value: 5
+#
+# Backlight
+# Switches the backlight of your display on and off if supported by
+# its driver.
+# Supported by: serdisplib
+# Possible values: 'yes', 'no'
+# Default value: 'yes'
+#
+# AdjustTiming
+# To get a timing that is as accurate as possible, the drivers measure
+# the time for port commands (see: benchmark in syslog). You might
+# decrease or increase the time to wait after port commands with this
+# parameter. Normally, there is no need to change this parameter.
+# (used by gu140x32f, gu256x64-372, gu256x64-3900, hd61830, ks0108,
+# sed1330, sed1520)
+# Possible values: -50 <= x <= 50
+# Default value: 0
+#
+# RefreshDisplay
+# Normally, most of the drivers do not update the whole display, but
+# only the areas that have changed since last update. So it might be,
+# that some faulty pixels would stay a longer time. To avoid this, the
+# plugin makes a complete refresh from time to time. This parameter
+# defines how often a complete refresh will be done.
+# e.g.: A value of 5 means, that the plugin will make a complete
+# refresh on every 5th update.
+# A value of 0 completely disables complete refreshs.
+# Possible values: 0 <= x <= 50
+# Default value: 5
+
+########################################################################
+
+[framebuffer]
+# framebuffer driver
+# Output goes to a framebuffer device
+# Default size: 320 x 240
+Driver=framebuffer
+
+#Width=320
+#Height=240
+#UpsideDown=no
+#Invert=no
+
+# Zoom
+# Determines if pixels should be drawn double sized.
+# Possible values: 0, 1
+Zoom=1
+
+########################################################################
+
+[gu140x32f]
+# gu140x32f driver
+# This is an 8-bit driver module for Noritake GU140x32-F7806 VFD
+# displays. The VFD is operating in it's 8 bit-mode connected to a
+# single PC parallel port.
+# Default size: 140 x 32
+Driver=gu140x32f
+
+#Port=0x378
+Device=/dev/parport0
+#Width=140
+#Height=32
+#UpsideDown=no
+#Invert=no
+#Brightness=100
+#AdjustTiming=0
+#RefreshDisplay=1
+
+# Wiring
+# Select the type of wiring your display is connected with.
+# Possible values: 'Standard', 'Windows'
+# Default value: 'Standard'
+Wiring=Standard
+
+########################################################################
+
+[gu256x64-372]
+# gu256x64-372 driver
+# This is an 8-bit driver module for Noritake GU256x64-372 VFD
+# displays. The VFD is operating in it's 8 bit-mode connected to a
+# single PC parallel port.
+# Default size: 256 x 64
+Driver=gu256x64-372
+
+#Port=0x378
+Device=/dev/parport0
+#Width=256
+#Height=64
+#UpsideDown=no
+#Invert=no
+#Brightness=100
+#AdjustTiming=0
+#RefreshDisplay=1
+
+########################################################################
+
+[gu256x64-3900]
+# gu256x64-3900 driver
+# This is a driver module for Noritake GU256X64x-3900 VFD displays. The
+# VFD is either operating in 8 bit-mode connected to a single PC
+# parallel port or in serial mode connected to a single PC serial port.
+# Default size: 256 x 64
+Driver=gu256x64-3900
+
+#Port=0x378
+Device=/dev/parport0
+#Width=256
+#Height=64
+#UpsideDown=no
+#Invert=no
+#Brightness=100
+#AdjustTiming=0
+#RefreshDisplay=1
+
+# Wiring
+# Select the type of wiring your display is connected with.
+# Possible values: 'Standard', 'Satyr'
+# Default value: 'Standard'
+Wiring=Standard
+
+# Interface
+# Select the interface your display is connnected to.
+# Possible values: 'Parallel', 'Serial'
+# Default value: 'Parallel'
+Interface=Parallel
+
+# DMA
+# Enables/disables the usage of the controller's DMA mode which
+# increases writing speed. This only works in parallel interface mode.
+# Possible values: 'yes', 'no'
+# Default value: 'yes'
+DMA=yes
+
+########################################################################
+
+[hd61830]
+# hd61830 driver
+# This is a driver module for the Hitachi HD61830 LCD controller.
+# Default size: 240 x 128
+Driver=hd61830
+#Port=0x378
+Device=/dev/parport0
+#Width=240
+#Height=128
+#UpsideDown=no
+#Invert=no
+#AdjustTiming=0
+#RefreshDisplay=1
+
+########################################################################
+
+[image]
+# image driver
+# This is a driver module for writing image sequences in PBM (Portable
+# Bit Map) format that show the plugin's output.
+# Default size: 240 x 128
+Driver=image
+#Width=240
+#Height=128
+#UpsideDown=no
+#Invert=no
+
+########################################################################
+
+[ks0108]
+# ks0108 driver
+# This is a driver module for the Samsung KS0108 LCD controller.
+# Default size: 128 x 64
+Driver=ks0108
+#Port=0x378
+Device=/dev/parport0
+Width=128
+Height=64
+#UpsideDown=no
+#Invert=no
+#AdjustTiming=0
+RefreshDisplay=1
+
+# Control
+# Select the variant of triggering the display's control lines.
+# Possible values: '0', '1'
+# Default value: '1'
+Control=0
+
+########################################################################
+
+[sed1330]
+# sed1330 driver
+# This is a driver module for the Epson SED1330/1335 LCD controller.
+# Default size: 320 x 240
+Driver=sed1330
+#Port=0x378
+Device=/dev/parport0
+Width=240
+Height=64
+#UpsideDown=no
+#Invert=no
+#AdjustTiming=0
+refreshDisplay=1
+
+# Wiring
+# Select the type of wiring your display is connected with.
+# Possible values: 'Original', 'PowerLCD', 'LCDProc', 'Tweakers',
+# 'YASEDW'
+# Default value: 'Original'
+Wiring=PowerLCD
+
+# OscillatorFrequency
+# Select the frequency the oscillator on your LCD board uses in kHz.
+# Possible values: 1000 <= x <= 15000)
+# Default value: 9600
+OscillatorFrequency=9600
+
+# Interface
+# Select the interface mode your display is connected with.
+# Possible values: '6800', '8080'
+# Default value: '6800'
+Interface=8080
+
+########################################################################
+
+[sed1520]
+# sed1520 driver
+# This is a driver module for the Epson SED1520 LCD controller.
+# Default size: 120 x 32
+Driver=sed1520
+#Port=0x378
+Device=/dev/parport0
+#Width=120
+#Height=32
+#UpsideDown=no
+#Invert=no
+#AdjustTiming=0
+#RefreshDisplay=1
+
+########################################################################
+
+[simlcd]
+# simlcd driver
+# This is the SimLCD driver module. Output goes to a file instead of
+# LCD. Use SimLCD tool to view this file.
+# Default size: 240 x 128
+Driver=simlcd
+#Width=240
+#Height=128
+#UpsideDown=no
+#Invert=no
+
+########################################################################
+
+[t6963c]
+# t6963c driver
+# This is a driver module for the Toshiba T6963C LCD controller.
+# Default size: 240 x 128
+Driver=t6963c
+#Port=0x378
+Device=/dev/parport0
+#Width=240
+#Height=128
+#UpsideDown=no
+#Invert=no
+#RefreshDisplay=1
+
+# Wiring
+# Select the type of wiring your display is connected with.
+# Possible values: 'Standard', 'Windows'
+# Default value: 'Standard'
+Wiring=Standard
+
+# FontSelect
+# Select the font width your display uses for text mode. In most cases
+# this is selectable through one of the pins of your LCD board
+# Possible values: '6', '8'
+# Default value: '6'
+FontSelect=6
+
+# AutoMode
+# Enables or disables the usage of T6963C's auto mode which doubles
+# writing speed when enabled.
+# Possible values: 'yes', 'no'
+# Default value: 'yes'
+AutoMode=yes
+
+# StatusCheck
+# Enables or disables the usage of T6963C's status check. When using a
+# shielded cable for connecting your display, the disabling may be
+# possible. This results in doubling the speed of writing data to the
+# LCD.
+# Possible values: 'yes', 'no'
+# Default value: 'yes'
+StatusCheck=yes
+
+########################################################################
+
+[serdisp]
+# Controller
+# Select the serdisplib name of your display.
+# Possible values: See README in serdisplib package or http://serdisplib.sourceforge.net
+#Controller=nokia7110
+#Controller=sed1335
+Controller=optrex323
+
+# Options
+# Pass display specific options
+# Possible values: See driver-specific hardware page at http://serdisplib.sourceforge.net
+#
+# IMPORTANT: when using generic controllers like sed1330,sed1335,t6963c, width and height
+# need to be set here (if different from default settings)!
+# (serdisplib needs to be extended to be able to use 'Width' and 'Height'
+# settings directly - this will be added later)
+#
+#Options=MODE=8080
+#Options=DELAY=2000;FONTWIDTH=8;CHECK=1
+#Options=WIDTH=128;HEIGHT=64
+#Options=WIDTH=128;HEIGHT=64;DELAY=2000;FONTWIDTH=8;CHECK=1
+
+# Wiring
+# Select Wiring
+# Possible values: See driver-specific hardware page at http://serdisplib.sourceforge.net
+#Wiring=1
+#Wiring=PowerLCD
+#Wiring=DATA8,CS:nAUTO,A0:INIT,WR:nSTRB,RD:nSELIN
+
+#Port=0x378
+Device=/dev/parport0
+#UpsideDown=no
+#Invert=no
+Contrast=5
+Backlight=yes
+
+# Settings 'Width' and 'Height' are ignored at the moment. For generic controllers # (sed1330/1335, t6963) width and height need to be set using setting 'Options' (look above)
+##Width=240
+##Height=128
+
+########################################################################
+
+[noritake800]
+# noritake800 driver
+# This is an 8-bit driver module for Noritake Noritake 800(A) series VFD
+# displays. The VFD is operating in it's 8 bit-mode connected to a
+# single PC parallel port.
+# Default size: 128 x 64
+Driver=noritake800
+#Port=0x378
+Device=/dev/parport0
+Width=128
+Height=64
+#UpsideDown=no
+#Invert=no
+Brightness=50
+#AdjustTiming=0 # not used
+#RefreshDisplay=0 # not used
+
+# Wiring
+# Select the type of wiring your display is connected with.
+# Possible values: 'LiquidMp3', 'MZ'
+# Default value: 'LiquidMp3'
+Wiring=LiquidMp3
+
+[avrctl]
+# avrctl driver
+# This is an driver module for my AVR controlled LCD display connected via
+# USB port. It uses some simple commands to update the display content.
+# Default size: 256 x 128
+Driver=avrctl
+Device=/dev/ttyUSB0
+Width=256
+Height=128
+#UpsideDown=no
+#Invert=no
+Brightness=50
+RefreshDisplay=1
+
diff --git a/utilities/graphlcd_base/utilitie.sh b/utilities/graphlcd_base/utilitie.sh
new file mode 100644
index 0000000..9b4c1e1
--- /dev/null
+++ b/utilities/graphlcd_base/utilitie.sh
@@ -0,0 +1,130 @@
+#!/bin/sh
+
+# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis)
+# von Marc Wernecke - www.zulu-entertainment.de
+# 23.06.2008
+
+# graphlcd-base - module fuer graphlcd
+
+source ./../../x-vdr.conf
+source ./../../setup.conf
+source ./../../functions
+
+WEB="http://download.berlios.de/graphlcd/graphlcd-base-0.1.5.tgz"
+VERSION="graphlcd-base-0.1.5"
+LINK="graphlcd-base"
+VAR=`basename $WEB`
+DIR=`pwd`
+
+# Make.config fuer graphlcd
+function make_makeconfig() {
+MAKECONFIG="$SOURCEDIR/$LINK/Make.config"
+
+if [ -f $MAKECONFIG ] ; then
+ cp $MAKECONFIG $MAKECONFIG.old
+ rm -f $MAKECONFIG
+fi
+
+echo "#
+# User defined Makefile options for graphlcd daemon and tools
+
+### The C compiler and options:
+
+CC = gcc
+CFLAGS = -O2
+
+CXX = g++
+CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual
+#CXXFLAGS = -g -ggdb -O0 -Wall -Woverloaded-virtual
+
+#LDFLAGS = -g -ggdb -O0
+
+LDCONFIG = ldconfig
+
+### The directory environment:
+
+BINDIR = $PREFIX/bin
+LIBDIR = $PREFIX/lib
+INCDIR = $PREFIX/include
+MANDIR = $PREFIX/man
+
+### Includes and defines
+
+#INCLUDES += -I
+
+DEFINES += -D_GNU_SOURCE
+
+HAVE_FREETYPE2=1" >> $MAKECONFIG
+}
+
+# install
+function make_util() {
+ download_util
+ extract_util
+
+ # setzen des symlinks
+ cd $SOURCEDIR
+ rm -f $LINK
+ ln -vfs $VERSION $LINK
+
+ make_makeconfig
+
+ patch -p0 < $DIR/graphlcd-base-0.1.5-gcc43.patch
+
+ # graphlcd-base
+ cd $SOURCEDIR/$LINK
+ make all
+ make install
+
+ if [ -f $DIR/graphlcd.conf ] ; then
+ cp -f $DIR/graphlcd.conf /etc
+ else
+ cp -f graphlcd.conf /etc
+ fi
+
+ ldconfig
+
+ # test
+ if [ -f /usr/lib/libglcddrivers.so ]; then
+ log "SUCCESS - $VERSION erstellt"
+ else
+ log "ERROR - $VERSION konnte nicht erstellt werden"
+ fi
+}
+
+# uninstall
+function clean_util() {
+ cd $SOURCEDIR/$LINK
+ make uninstall
+ make clean
+
+ # remove source
+ cd $SOURCEDIR
+ rm -rf $LINK
+ rm -rf $VERSION
+
+ ldconfig
+}
+
+# test
+function status_util() {
+ if [ -f /usr/lib/libglcddrivers.so ]; then
+ [ -d $SOURCEDIR/$LINK ] && echo "2" && return 0
+ echo "1"
+ else
+ echo "0"
+ fi
+}
+
+# start
+
+# plugin commands
+if [ $# \> 0 ]; then
+ cmd=$1
+ cmd_util
+else
+ make_util
+ status_util
+fi
+
+exit 0