LCDproc development and user support list

Text archives Help


[Lcdproc] Issue with added irtrans driver


Chronological Thread 
  • From: warpme AT o2.pl (Warpme)
  • Subject: [Lcdproc] Issue with added irtrans driver
  • Date: Sun Mar 2 14:33:02 2008

Hi *

I'm trying to get LCDd 0.5.1 to get working with my vfd AHANIX case.
I manually add irtrans diver to 0.5.1. Compile and trying to launch LCDd.
Issue is that I'm not able to launch LCDd.
Maybe somebody can help me to overcome this issue ?

Details:

Device reports as:
0403:fc60 Future Technology Devices International, Ltd
FTDI USB Serial Device

Kernel has already proper support for this device. Syslog reports:
Mar 2 13:54:57 (none) user.info kernel: ftdi_sio 1-6:1.0: FTDI USB Serial Device converter detected
Mar 2 13:54:57 (none) user.debug kernel: PM: Adding info for usb-serial:ttyUSB0
Mar 2 13:54:57 (none) user.info kernel: drivers/usb/serial/ftdi_sio.c: Detected FT232RL
Mar 2 13:54:57 (none) user.debug kernel: PM: Adding info for No Bus:ttyUSB0
Mar 2 13:54:57 (none) user.info kernel: usb 1-6: FTDI USB Serial Device converter now attached to ttyUSB0
Mar 2 13:54:57 (none) user.info kernel: usbcore: registered new interface driver ftdi_sio
Mar 2 13:54:57 (none) user.info kernel: drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver

I add irtrans support according to LCDproc documentation.
After compilation I copy LCDd binary file to /usr/local/bin and irtrans.so object to /lib

Launching LCDd gives following error:

irtrans: unable to init client socket
Driver [irtrans] init failed, return code < 0
Could not load driver irtrans
There is no output driver
Critical error while initializing, abort.

My LCDd.conf if following:
# 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=irtrans
#
# 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
# Tells the driver to bind to the given interface

Port=13666
# Listen on this specified port; defaults to 13666.

#ReportLevel=5
# Sets the reporting level; defaults to 2 (warnings and errors only).

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=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=off
# 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=off
# 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=on
# 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

[irtrans]
#IrTrans driver
Device=/dev/ttyUSB0

Arguments="-hostname localhost -lcdw 16 -lcdh 2 -backlight -timeout 1"
#hostname: IP / Hostname of irserver
#lcdw: Breite des LCD Displays (default=16)
#lcdh: Höhe des LCD Displays (default=4)

begin:vcard
fn:Warpme
n:;Warpme
email;internet:warpme AT o2.pl
version:2.1
end:vcard




Archive powered by MHonArc 2.6.18.

Top of page