Hi zusammen,
leider bekomme ich das lcdproc plugin nicht zum laufen ![sad :(](https://www.vdr-portal.de/images/smilies/emojione/2639.png)
Ich habe hier im Forum schon nach Lösungen gesucht, aber alles hat nichts geholfen ![sad :(](https://www.vdr-portal.de/images/smilies/emojione/2639.png)
Ich starte LCDd in /etc/init.d/rcStart mit folgenden Paramtern:
progress 80 "starting vdr"
#execute kill $STPID
/usr/bin/nohup /usr/bin/LCDd >/dev/null 2>&1 &
sleep 1
execute /etc/init.d/runvdr start &
Hier erscheint dann auch was auf dem Display und netstat -a sagt folgendes:
linvdr:~# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:8000 *:* LISTEN
tcp 0 0 localhost:13666 *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:www *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:445 *:* LISTEN
tcp 0 132 192.168.0.200:ssh miditower.mshome.n:1286 ESTABLISHED
udp 0 0 192.168.0.20:netbios-ns *:*
udp 0 0 *:netbios-ns *:*
udp 0 0 192.168.0.2:netbios-dgm *:*
udp 0 0 *:netbios-dgm *:*
udp 0 0 *:4711 *:*
udp 0 0 *:sunrpc *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 1604 /var/run/acpid.socket
unix 4 [ ] DGRAM 1578 /dev/log
unix 2 [ ACC ] STREAM LISTENING 4615 /dev/lircd
unix 2 [ ] DGRAM 1863
unix 2 [ ] DGRAM 1591
Alles anzeigen
Hier meine /etc/LCDd.conf:
# LCDd.conf
#
# This file contains the configuration for the LCDd server.
#
# 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 '#' or ';'.
#
# The server has a 'central' section named [server]. Further each driver
# has a section which defines how the driver acts.
#
# The drivers are activated by specifiying them in a driver= line in the
# server section, like:
#
# Driver=curses
#
# This tells LCDd to use the curses driver. The first driver that is
# loaded and is capable of output becomes 'the' output driver.
# All extra drivers can only serve as input.
# The default driver to use is curses.
#
# The drivers can read their own options from the config file, but most of
# them don't do this yet. They expect 'command-line'-format parameters that
# were previously placed on the command line. These parameters can be
# given to the driver in the following way:
#
# Arguments="place arguments here"
#
# The arguments between the quotes are passed to the driver.
# As said before these are the same arguments that the driver would have
# been passed under the old command line format of
#
# -d <driver> "<driverargs>"
#
# Note that the -d option still works, but not allows driverargs anymore.
# If -d is specified on the command line, the Driver= options in the
# config file are ignored.
[server]
# Server section with all kinds of settings for the LCDd server
#Driver=none
#Driver=curses
Driver=HD44780
#Driver=lcdm001
#Driver=MtxOrb
#Driver=CFontz
#Driver=CwLnx
#Driver=Wirz-sli
#Driver=SGX120
#
# Tells the server to load the given drivers. Multiple lines can be given.
# NOTE: You may activate several input (input only) drivers but only ONE output
# driver, which should be the first.
Bind=127.0.0.1
#Bind=192.168.0.200
# Tells the driver to bind to the given interface
Port=13666
# Listen on this specified port; defaults to 13666.
ReportLevel=2
# Sets the reporting level; defaults to 2 (warnings and errors only).
ReportToSyslog=yes
#ReportToSyslog=no
# Should we report to syslog instead of stderr ? Default: no
WaitTime=5
# Sets the default time in seconds to displays a screen.
User=nobody
#User=root
# User to run as. LCDd will drop its root priviledges,
# if any, and run as this user instead.
ServerScreen=no
# Enables the built-in server screen [Default: no]
# yes : always,
# no : when there are no other screens active.
Foreground=yes
# The server will stay in the foreground if set to true.
# Otherwise the server will fork to background and report
# to syslog
# TIP: The following options can also be modified from the
# server menu (which requires a driver that supports input)
Heartbeat=open
# The server has serveral heartbeat modes
# on Stays on all the time
# off Stays off all the time
# slash Rotating slash all the time
# open Can be controlled by all clients
InitialHeartbeat=on
# This sets the initial heartbeat state if the heartbeat mode is "open"
# Affects the server screen only ;)
# on Heartbeat activated
# off Heartbeat disabled
# slash Heartbeat replaced with a rotating slash
Backlight=open
# The server has serveral backlight modes
# on Stays on all the time
# off Stays off all the time
# open Can be controlled by all clients
InitialBacklight=on
# This sets the initial backlight state if the backlight mode is "open"
# Affects the server screen only ;)
BacklightBrightness=255
# This sets the backlight brightness in state "on"
# NOTE: Not all drivers/devices support setting the brightness this
# way. Some don't support switching the backlight on/off at all,
# some can switch the backlight on or off only. If the latter is
# the case BacklightBrightness must be > 0.
BacklightOffBrightness=0
# This sets the backlight brightness in state "off"
# NOTE: Not all drivers/devices support setting the brightness this
# way. Some don't support switching the backlight on/off at all,
# some can switch the backlight on or off only. If the latter is
# the case BacklightBrightness must be = 0.
[input]
# Input section with settings that are related to input handling
# NOTE: Not all drivers have input functionality
# keypad settings
# Keyname Function
# Normal context Menu context
# ------- -------------- ------------
#
# PauseKey Pause/Continue Enter/select
# BackKey Back(Go to previous screen) Up/Left
# ForwardKey Forward(Go to next screen) Down/Right
# MainMenuKey Open main menu Exit/Cancel
#FreePauseKey=yes
# If set to yes, this prevents LCDd from handling the PauseKey itself
#FreeBackKey=yes
# If set to yes, this prevents LCDd from handling the BackKey itself
#FreeForwardKey=yes
# If set to yes, this prevents LCDd from handling the ForwardKey itself
#FreeMainMenuKey=no
# If set to yes, this prevents LCDd from handling the MainMenuKey itself
# TIP: Even if you "free" the above keys, you can still use the menu
# provided you set FreeMainMenuKey=no
# Driver sections are below this line, in alphabetical order
[bayrad]
# EMAC BayRAD driver
Arguments="fill in here"
# -d --device Select the output device to use [/dev/lcd]
# -t --type Select the LCD type (size) [20x2]
# -s --speed Set the communication speed [19200]
# -h --help Show this help information
[CFontz]
# CrystalFontz driver
# Select the output device to use [/dev/lcd]
Device=/dev/ttyS0
# Select the LCD type (size) [20x4]
#Size=20x4
Size=16x4
# Set the initial contrast [140]
Contrast=140
# The backlight brightness settings are retrieved
# from the serversection now. And can therefore be
# modified from the server menu now.
# Set the communication speed [9600]
# possible values: 1200, 2400, 4800, 9600, 19200
Speed=9600
# Set the firmware version (New means >= 2.0) [no]
# if set, set Speed to 19200
NewFirmware=no
# Reinitialize the LCD's BIOS [no]
# normally you shouldn't need this
Reboot=no
# This is using the USB->serial driver [no]
#USB=no
[SGX120]
# Seetron SGX120-L driver
# Select the output device to use [/dev/lcd]
Device=/dev/ttyS0
# Select the LCD type (size) [20x4]
Size=20x4
# Set the communication speed [9600]
# possible values: 1200, 2400, 4800, 9600, 19200
Speed=9600
# Reinitialize the LCD's BIOS [no]
# normally you shouldn't need this
Reboot=no
[CwLnx]
# Cwlinux driver
# Select the output device to use [/dev/lcd]
#Device=/dev/ttyS0
Device=/dev/ttyUSB0
# Use this if using the USB version [no]
# Typical problem when you don't put yes is that the display
# show a growing line at the bottom of the LCD...
USB=yes
# Select the LCD type (size) [20x4]
Size=20x4
# Set the communication speed [9600]
# possible values: 9600, 19200
Speed=19200
# Reinitialize the LCD's BIOS [no]
# normally you shouldn't need this
Reboot=yes
# If you have a keypad connected [no]
Keypad=yes
# On fixed configuration LCD testing wich caracter each key generate
# is not usefull...
# However for testing purpose, or if you use custom made keypad.
# you can use keypad_test_mode=yes [no]
# Afterwards you can modify the settings again and set to no.
keypad_test_mode=no
# See [input] section for an explanation of the key mappings
#PauseKey=A
#BackKey=C
#ForwardKey=D
#MainMenuKey=B
[curses]
# Curses driver
# color settings
# foreground color [blue]
foreground=blue
# background color [cyan]
background=cyan
# backlight color [red]
backlight=red
# display size [20x4]
size=20x4
# What position (X,Y) to start the left top corner at...
# Default: (7,7)
topleftx=7
toplefty=7
# The current curses driver uses some features your curses
# implementation might handle incorrectly
# If you experience any problem with the output of screens
# that use vertical bars, please set the following to yes
#useoldvbarmap=yes
[GLK]
# Matrix Orbital GLK driver
# Set the output device to use [/dev/lcd]
device=/dev/lcd
# Set the initial contrast [140]
contrast=140
# Set the communication speed [19200]
speed=19200
[IrMan]
#IrMan driver
Arguments="fill in here"
# -d --device Select the input device to use
# -c --config Select the configuration file to use
# -h --help Show this help information
[joy]
# Joystick driver
Arguments="-d /dev/js0"
# -d --device Select the input device to use [/dev/js0]
# -a --axes Modify the axis map
# -b --buttons Modify the button map
# -h --help Show this help information
[LB216]
# LB216 driver
Arguments="-d /dev/ttyS0 -s 9600"
# -d --device Select the output device to use [/dev/lcd]
# -t --type Select the LCD type (size) [16x2]
# -b --brightness Set the initial brightness [255]
# -s --speed Set the communication speed [9600]
# -r --reboot Reinitialize the LCD's BIOS
# -h --help Show this help information;
[lcdm001]
# LCDM001 driver
Device=/dev/ttyS0
# See [input] section for an explanation of the key mappings
PauseKey=DownKey
BackKey=LeftKey
ForwardKey=RightKey
MainMenuKey=UpKey
# You can rearrange the settings here.
# If your device is broken, have a look at server/drivers/lcdm001.h
HBarWorkaround=yes
# This enables the workaround code that is neccessary to emulate
# the custom characters used for horizontal bar graphs
# (The device does not support real custom characters)
VBarWorkaround=yes
# This enables the workaround code that is neccessary to emulate
# the custom characters used for vertical bar graphs
# (The device does not support real custom characters)
[lircin]
# LIRC input driver
#lircrc=/etc/lircrc.lcdproc
# Specify an alternative location of the lircrc file, which is
# normally ~/.lircrc
#prog=lcdd
# Must be the same as in your lircrc
[MtxOrb]
# Matrix Orbital driver
# Select the output device to use [/dev/lcd]
device=/dev/lcd
# Set the display size [20x4]
size=20x4
# Switch on the backlight? [yes]
# NOTE: The driver will ignore this if the display
# is a vfd or vfd as they crash if the backlight
# is turned off
enablebacklight=yes
# Set the initial contrast [140]
# NOTE: The driver will ignore this if the display
# is a vfd or vfd as they don't have this feature
contrast=140
# Set the communication speed [19200]
speed=19200
# Set the display type [lcd]
# Possible settings: lcd, lkd, vfd, vkd
type=lcd
# See [input] section for an explanation of the key mappings
PauseKey=N
BackKey=K
ForwardKey=A
MainMenuKey=F
# You can find out which key of your display sends which
# character by setting keypad_test_mode to yes and running
# LCDd. LCDd will output all characters it receives.
# Afterwards you can modify the settings above and set
# keypad_set_mode to no again.
keypad_test_mode=no
[SED1330]
# Seiko Epson 1330 driver
Port=0x378
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
Type=G321D
#Type=G121C
#Type=G242C
# Type of LCD module. G321D is the only one that is tested currently.
[SED1520]
# Seiko Epson 1520 driver
Port=0x378
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
[stv5730]
# stv5730 driver
Port=0x378
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
Mode=0
# Select Mode: 0=auto detect 1=full page mode 2=mixed mode
VidSys=1
# Select Video System: 1=PAL 2=NTSC
ZoomFirst=1
# Zoom First Line: 1=yes 0=no
#Select Color:
# 0=Black 1=Blue 2=Green 3=Cyan 4=Red 5=Magenta 6=Yellow 7=White
ColFline=4
# Color of first line text
ColText=1
# Color of text
ColCback=3
# Color of Character Background
ColCbord=0
# Color of Character Border
ColSback=2
# Color of Screen Background
[svgalib]
# SVGAlib driver
# No options
[T6963]
# Toshiba T6963 driver
Arguments="fill in here"
# -p --port Select the output port to use [0x378]
# -t --type Select the LCD type (size) [20x6]
# -h --help Show this help information
[text]
# Text driver
# display size [20x4]
size=20x4
[Wirz-sli]
# Wirz SLI LCD driver
Arguments="-d /dev/ttyS0 -s 19200"
# -d --device Select the output device to use [/dev/lcd]
# -s --speed Set the communication speed [19200]
# -h --help Show this help information
[HD44780]
# Hitachi HD44780 driver
# See docs/hd44780_howto.txt
Port=0x378
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
#ConnectionType=4bit
ConnectionType=winamp
# Select what type of connection. See documentation for types.
Keypad=no
# If you have a keypad connected. Keypad layout is currently not
# configureable from the config file.
Backlight=yes
# If you have a switchable backlight.
#Size=20x4
Size=16x2
# Specifies the size of the LCD.
# In case of multiple combined displays, this should be the total size.
#vspan=1,2
# For multiple displays: at what 'logical' lines do the individual displays
# start.
#extended=yes
# If you want to use more than 3 HD44780 controllers on the LPT, you need to
# specify this. See documentation.
DelayMult=1
# If your display is slow and cannot keep up with the flow of data from
# LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
# to increase the delays. Default: 1.
DelayBus=true
#DelayBus=false
# You can reduce the inserted delays by setting this to false.
# On fast PCs it is possible your LCD does not respond correctly.
# Default: true.
#Device=/dev/ttyS0
# For PIC-an-LCD connection type only: the serial device to which the LCD
# is connected. Default: /dev/lcd
Alles anzeigen
Das Display wird während des Rechner Beriebes weiter angesteuert (heartbeat ...), nur kann scheinbar das lcdproc plugin nicht mit LCDd kommunizieren ![sad :(](https://www.vdr-portal.de/images/smilies/emojione/2639.png)
ein "/dev/lcd" gibt es bei mir nicht. Brauche ich das für ein Parralelport device? Wenn ja, wo muss es hin verlinkt werden?
Mein logfile enthält folgende info's:
Dec 31 14:25:39 linvdr user.debug vdr[4382]: tuner on device 1 thread ended (pid=4382, tid=2050)
Dec 31 14:25:39 linvdr user.debug vdr[4383]: section handler thread ended (pid=4383, tid=3075)
Dec 31 14:25:39 linvdr user.info vdr[4376]: deleting plugin: lcdproc
Dec 31 14:25:39 linvdr user.debug vdr[4376]: max. latency time 0 seconds
Dec 31 14:25:39 linvdr user.info vdr[4376]: exiting
Dec 31 14:26:44 linvdr user.warn kernel: saa7146: unregister extension 'budget_av'.
Dec 31 14:26:44 linvdr user.warn kernel: saa7146: unregister extension 'budget_ci dvb'.
Dec 31 14:26:44 linvdr user.warn kernel: saa7146: unregister extension 'budget dvb'.
Dec 31 14:26:44 linvdr user.warn kernel: saa7146: unregister extension 'dvb'.
Dec 31 14:26:44 linvdr user.info kernel: ACPI: PCI interrupt for device 0000:01:00.0 disabled
Dec 31 14:26:50 linvdr user.info kernel: Linux video capture interface: v1.00
Dec 31 14:26:50 linvdr user.warn kernel: saa7146: register extension 'dvb'.
Dec 31 14:26:50 linvdr user.info kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 12 (level, low) -> IRQ 12
Dec 31 14:26:50 linvdr user.warn kernel: saa7146: found saa7146 @ mem e0b38000 (revision 1, irq 12) (0x13c2,0x0000).
Dec 31 14:26:50 linvdr user.warn kernel: DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-S rev1.X or Fujitsu Siemens DVB-C).
Dec 31 14:26:50 linvdr user.warn kernel: adapter has MAC addr = 00:d0:5c:02:f8:8a
Dec 31 14:26:50 linvdr user.warn kernel: dvb-ttpci: gpioirq unknown type=0 len=0
Dec 31 14:26:50 linvdr user.warn kernel: dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 8000261d
Dec 31 14:26:50 linvdr user.warn kernel: dvb-ttpci: firmware @ card 0 supports CI link layer interface
Dec 31 14:26:50 linvdr user.warn kernel: dvb-ttpci: Crystal audio DAC @ card 0 detected
Dec 31 14:26:50 linvdr user.warn kernel: saa7146_vv: saa7146 (0): registered device video0 [v4l2]
Dec 31 14:26:51 linvdr user.warn kernel: DVB: registering frontend 0 (Philips TDA8083 DVB-S)...
Dec 31 14:26:51 linvdr user.info kernel: dvb-ttpci: found av7110-0.
Dec 31 14:26:51 linvdr user.warn kernel: saa7146: register extension 'budget dvb'.
Dec 31 14:26:51 linvdr user.warn kernel: saa7146: register extension 'budget_ci dvb'.
Dec 31 14:26:51 linvdr user.warn kernel: saa7146: register extension 'budget_av'.
Dec 31 14:26:52 linvdr user.info kernel: lirc_serial: auto-detected active low receiver
Dec 31 14:26:52 linvdr user.warn kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Dec 31 14:26:52 linvdr user.info vdr[4611]: VDR version 1.3.37 started
Dec 31 14:26:52 linvdr user.info vdr[4611]: Bigpatch 2005-12-10 with LifeBuffer 0.1.4 is active!
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading plugin: /usr/lib/vdr/plugins/libvdr-lcdproc.so.1.3.37
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/setup.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/sources.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/diseqc.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/channels.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/timers.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/commands.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/reccmds.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/svdrphosts.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/ca.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/remote.conf
Dec 31 14:26:52 linvdr user.info vdr[4611]: loading /etc/vdr/keymacros.conf
Dec 31 14:26:52 linvdr user.debug vdr[4615]: video directory scanner thread started (pid=4615, tid=1026)
Dec 31 14:26:52 linvdr user.debug vdr[4611]: reading EPG data from /ramdisk/epg.data
Dec 31 14:26:52 linvdr user.debug vdr[4611]: probing /dev/dvb/adapter0/frontend0
Dec 31 14:26:52 linvdr user.debug vdr[4615]: video directory scanner thread ended (pid=4615, tid=1026)
Dec 31 14:26:54 linvdr user.debug vdr[4611]: probing /dev/dvb/adapter1/frontend0
Dec 31 14:26:54 linvdr user.info vdr[4611]: found 1 video device
Dec 31 14:26:54 linvdr user.info vdr[4611]: initializing plugin: lcdproc (0.0.10): LCDproc output
Dec 31 14:26:54 linvdr user.info vdr[4611]: setting primary device to 1
Dec 31 14:26:54 linvdr user.debug vdr[4617]: tuner on device 1 thread started (pid=4617, tid=2050)
Dec 31 14:26:54 linvdr user.debug vdr[4618]: section handler thread started (pid=4618, tid=3075)
Dec 31 14:26:54 linvdr user.info vdr[4611]: SVDRP listening on port 2001
Dec 31 14:26:54 linvdr user.info vdr[4611]: loading /etc/vdr/themes/classic-default.theme
Dec 31 14:26:54 linvdr user.info vdr[4611]: starting plugin: lcdproc
Dec 31 14:26:55 linvdr user.debug vdr[4617]: tuner on device 1 thread ended (pid=4617, tid=2050)
Dec 31 14:26:55 linvdr user.debug vdr[4618]: section handler thread ended (pid=4618, tid=3075)
Dec 31 14:26:55 linvdr user.info vdr[4611]: deleting plugin: lcdproc
Dec 31 14:26:55 linvdr user.debug vdr[4611]: max. latency time 0 seconds
Dec 31 14:26:55 linvdr user.info vdr[4611]: exiting
Alles anzeigen
hier ist testweise nur das plugin "lcdproc" aktiviert um porbleme mit anderen plugins auszuschliessen.
Ich hatte vorher plain linvdr 0.7 am laufen, da hat es auch nicht funktioniert. Um es zu Laufen zu bekommen (und mit dem alten kernel funktionierte meine 1GBit Netzwerkkarte nicht korrekt ...) habe ich auf einen neuen Kernel und ein neues vdr upgedatet, wie es hier im Forum beschrieben wird ....
Ich hoffe mir kann hier einer weiterhelfen.
Schon mal Danke und einen guten Rutsch ...
CU. emboi