Hallo zusammen,
ich bin nun seit einiger Zeit dran mein Display zum laufen zu bringen. Unter LinVDR lief es problemlos, doch nun unter EasyVDR 0.5beta3 hab ich es nur einmal zum laufen gebracht. Nach einem Reboot war es dann wieder weg. Ich bin mir nicht bewusst das ich irgendwas in der Richtung geändert habe.
Vielleicht kann mich jemand von euch an der Hand nehmen und mit mir Step by Step mal schauen woran es liegen kann.
Jetzt möchte ich euch mal mit Informationen füttern.
Logread | grep graphlcd
easyVDR:~# logread | grep graphlcd
Oct 1 17:13:07 (none) user.debug showpic: glcdgraphics: image /etc/vdr/plugins/graphlcd/fsck/240x128-fsck_06.glcd loaded.
Oct 1 17:13:08 (none) user.debug showpic: glcdgraphics: image /etc/vdr/plugins/graphlcd/fsck/240x128-fsck_07.glcd loaded.
Oct 1 17:13:08 (none) user.debug showpic: glcdgraphics: image /etc/vdr/plugins/graphlcd/fsck/240x128-fsck_08.glcd loaded.
Oct 1 15:13:31 (none) user.notice Runvdr: graphlcd starten
Oct 1 15:13:32 (none) user.info vdr: [2555] loading plugin: /usr/vdr/plugins/libvdr-graphlcd.so.1.4.5
Oct 1 15:13:33 (none) user.info vdr: [2555] loading plugin: /usr/vdr/plugins/libvdr-graphlcd.so.1.4.5
Oct 1 15:13:33 (none) user.info vdr: [2555] initializing plugin: graphlcd (0.1.5): Output to graphic LCD
Oct 1 15:13:33 (none) user.info vdr: [2555] graphlcd plugin: No config file specified, using default (/etc/graphlcd.conf).
Oct 1 15:13:33 (none) user.info vdr: [2555] graphlcd plugin: WARNING: No display specified, using first one (t6963c).
Oct 1 15:13:34 (none) user.info vdr: [2555] initializing plugin: graphlcd (0.1.5): Output to graphic LCD
Oct 1 15:13:34 (none) user.err vdr: glcdgraphics: open /etc/vdr/plugins/graphlcd/logos/0-55-884_l.glcd failed (cGLCDFile::Load).
Oct 1 15:13:35 (none) user.info vdr: [2555] starting plugin: graphlcd
Oct 1 15:13:35 (none) user.debug vdr: [2555] graphlcd plugin: waiting for display thread to get ready
Oct 1 15:13:35 (none) user.debug vdr: [2555] graphlcd plugin: display thread ready
Oct 1 15:13:42 (none) user.info vdr: [2555] starting plugin: graphlcd
Oct 1 15:13:42 (none) user.debug vdr: [2555] graphlcd plugin: waiting for display thread to get ready
Oct 1 15:13:42 (none) user.debug vdr: [2555] graphlcd plugin: display thread ready
Oct 1 15:13:43 (none) user.err vdr: glcdgraphics: open /etc/vdr/plugins/graphlcd/logos/0-55-884_l.glcd failed (cGLCDFile::Load).
Oct 1 15:13:43 (none) user.err vdr: glcdgraphics: open /etc/vdr/plugins/graphlcd/logos/0-55-884_l.glcd failed (cGLCDFile::Load).
Alles anzeigen
Die fehlenden Logos sind im Moment ja nicht so wichtig. Muss ich noch anpassen.
Wenn ich Showpic so ausführe
kommt im Logread folgende Meldung aber kein Bild am Display.
Oct 1 15:34:36 (none) user.debug showpic: t6963c: Testing ECP mode...
Oct 1 15:34:36 (none) user.debug showpic: t6963c: working!
Oct 1 15:34:36 (none) user.info showpic: t6963c: T6963 initialized.
Oct 1 15:34:36 (none) user.debug showpic: glcdgraphics: image ARTE_l.glcd loaded.
Meine Graphlcd.conf sieht so aus.
easyVDR:/etc/vdr# more graphlcd.conf
# 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=2
# 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
########################################################################
[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=Windows
# 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
Alles anzeigen
Meine Runvdr für das LCD schaut so aus
case "$LCD" in
"graphlcd")
[ $LOGGING = "yes" ] && $LOGGERCMD "graphlcd starten"
PLUGINLIST="$PLUGINLIST \"-Pgraphlcd -c /etc/graphlcd.conf -d $LCD_DRIVER \""
killall -9 showpic
;;
"lcdproc")
[ $LOGGING = "yes" ] && $LOGGERCMD "LCD-lcdproc starten"
LCDd -s -c /etc/LCDd.conf &
PLUGINLIST="$PLUGINLIST \"-Plcdproc \""
;;
Alles anzeigen
Die sysconfig Einträge für das Display
Woran kann es bei mir scheitern das ich kein Bild angezeigt bekomme?
Gruß
Steffen