secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sun Aug 19, 2012 3:40 pm

i saw that and tried it but couldnt get an output from with under raspbmc

which is why i was holding out for an altered lcdproc that can literally have its dependancies installed, the lcdproc installed, the "settings" adjusted for whatever output you want and away it goes under the raspbmc modified kernal

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

It's alive \o/

Wed Aug 22, 2012 11:29 am

LCDproc.jpg
LCDproc.jpg (56.81 KiB) Viewed 5145 times
8-)

mwingaa
Posts: 9
Joined: Sun May 13, 2012 7:43 am
Location: Elsinore, Denmark

Re: looking for volunteer programmer.

Thu Aug 23, 2012 8:49 pm

Hi Serac,

I have bought a display like yours on eBay and it's on the way from China.
Could you please describe the steps you took to make this work?

Thanks in advance.

Mikael

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Thu Aug 23, 2012 9:01 pm

Follow the instructions at: http://www.raspberrypi-spy.co.uk/2012/0 ... ng-python/ (not my web site). Use the python script to test the display. Pay attention to the warning about tying the R/W pin low.

In the three/four weeks it will take to get one from China, I should have the code cleaned up and might even have a Debian package built.

mwingaa
Posts: 9
Joined: Sun May 13, 2012 7:43 am
Location: Elsinore, Denmark

Re: looking for volunteer programmer.

Thu Aug 23, 2012 9:27 pm

Serac,

thanks a lot.

Mikael

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Fri Aug 24, 2012 2:18 pm

A new patch posted on the LCDproc mailing list today - This one is generated against the CVS sources and contains a couple of useful features. One of which being user defined gpio mappings in the config file. Kinda handy if you want to use some of the gpio pins for other things.
Attachments
RaspberryPiV2.patch.gz
(4.84 KiB) Downloaded 223 times

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Fri Aug 24, 2012 2:28 pm

kool, im having issues getting some code to work to any lcdproc play for me is on hold till i get an output on this screen lol

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sat Aug 25, 2012 7:27 pm

got my screen functional. just needs your coding now lol. so ready whenever you are and looking forward to dancing around the lounge when it finally does what its meant to rofl.

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Sun Aug 26, 2012 1:42 pm

Simple (hopefully) steps:

Grab the latest LCDproc sources from the CVS repository (on the target Pi)

Code: Select all

cvs -z3 -d:pserver:[email protected]:/cvsroot/lcdproc co -P lcdproc
Download the patch from a couple of messages ago and transfer it to the Pi and place it in the lcdproc directory. Decompress with:

Code: Select all

gunzip RaspberryPiV2.patch.gz
Whilst in the lcdproc directory, apply the patch:

Code: Select all

patch -p0 < RaspberryPiV2.patch
Next step, generate the configure script:

Code: Select all

bash ./autogen.sh
One final step before compiling the code, run:

Code: Select all

./configure --enable-drivers=hd44780
The above steps assume you have the required packages installed (cvs, patch, autoconf, automake). Additional -dev packages may be required if you want some of the other lcdproc modules for (e.g.) USB, Ethernet, or ncurses.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sun Aug 26, 2012 3:24 pm

hi serac, i have followed your instructions installing the additional packages along the way but on the last command i get this returned

Code: Select all

[email protected]:/home/pi/lcdproc# ./configure --enable-drivers=hd44780
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking whether to enable debugging... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/pi/lcdproc':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
heres the log

Code: Select all

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by lcdproc configure 0.5dev, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --enable-drivers=hd44780

## --------- ##
## Platform. ##
## --------- ##

hostname = raspbmc
uname -m = armv6l
uname -r = 3.1.9-test-12-06
uname -s = Linux
uname -v = #1 PREEMPT Sun Aug 12 12:52:27 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2358: checking for a BSD-compatible install
configure:2426: result: /usr/bin/install -c
configure:2437: checking whether build environment is sane
configure:2487: result: yes
configure:2628: checking for a thread-safe mkdir -p
configure:2667: result: /bin/mkdir -p
configure:2680: checking for gawk
configure:2710: result: no
configure:2680: checking for mawk
configure:2696: found /usr/bin/mawk
configure:2707: result: mawk
configure:2718: checking whether make sets $(MAKE)
configure:2744: result: no
configure:2828: checking build system type
configure:2842: result: armv6l-unknown-linux-gnueabihf
configure:2862: checking host system type
configure:2875: result: armv6l-unknown-linux-gnueabihf
configure:2946: checking whether to enable debugging
configure:2963: result: no
configure:3025: checking for gcc
configure:3055: result: no
configure:3118: checking for cc
configure:3165: result: no
configure:3221: checking for cl.exe
configure:3251: result: no
configure:3275: error: in `/home/pi/lcdproc':
configure:3277: error: no acceptable C compiler found in $PATH
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=armv6l-unknown-linux-gnueabihf
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=armv6l-unknown-linux-gnueabihf
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_make_make_set=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/pi/lcdproc/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AUTOCONF='${SHELL} /home/pi/lcdproc/missing --run autoconf'
AUTOHEADER='${SHELL} /home/pi/lcdproc/missing --run autoheader'
AUTOMAKE='${SHELL} /home/pi/lcdproc/missing --run automake-1.11'
AWK='mawk'
CC=''
CCDEPMODE=''
CCSHARED=''
CFLAGS=' -O3'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DARWIN_FALSE=''
DARWIN_TRUE='#'
DEFS=''
DEPDIR=''
DOT=''
DOXYGEN=''
DOX_FALSE=''
DOX_TRUE=''
DRIVERS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FT2_CFLAGS=''
FT2_LIBS=''
GLCD_DRIVERS=''
GREP=''
HD44780_DRIVERS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LDSHARED=''
LIBCURSES=''
LIBFTDI=''
LIBFTDI_CFLAGS=''
LIBFTDI_LIBS=''
LIBG15=''
LIBGLCD=''
LIBHID_CFLAGS=''
LIBHID_LIBS=''
LIBIRMAN=''
LIBLIRC_CLIENT=''
LIBMX5000=''
LIBOBJS=''
LIBPNG_CFLAGS=''
LIBPNG_LIBS=''
LIBPTHREAD_LIBS=''
LIBS=''
LIBSERDISP=''
LIBSVGA=''
LIBUSB_1_0_CFLAGS=''
LIBUSB_1_0_LIBS=''
LIBUSB_CFLAGS=''
LIBUSB_LIBS=''
LIBXOSD=''
LIBXOSD_CFLAGS=''
LIBXOSD_CONFIG=''
LIBXOSD_LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/pi/lcdproc/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT=''
PACKAGE='lcdproc'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='lcdproc'
PACKAGE_STRING='lcdproc 0.5dev'
PACKAGE_TARNAME='lcdproc'
PACKAGE_URL=''
PACKAGE_VERSION='0.5dev'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE='MAKE=make'
SHELL='/bin/bash'
SO=''
STRIP=''
VERSION='0.5dev'
XMLTO=''
_png_config=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='armv6l-unknown-linux-gnueabihf'
build_alias=''
build_cpu='armv6l'
build_os='linux-gnueabihf'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_dot=''
enable_html_dox=''
enable_latex_dox=''
exec_prefix='NONE'
host='armv6l-unknown-linux-gnueabihf'
host_alias=''
host_cpu='armv6l'
host_os='linux-gnueabihf'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/pi/lcdproc/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pidfiledir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "lcdproc"
#define PACKAGE_TARNAME "lcdproc"
#define PACKAGE_VERSION "0.5dev"
#define PACKAGE_STRING "lcdproc 0.5dev"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define PACKAGE "lcdproc"
#define VERSION "0.5dev"
#define LINUX 1
#define SYSTEM_HOST Linux

configure: exit 1
also you say thats the last step before compiling. um, how do you compile? (dumb question i know)

might as well throw this one in as well, which file needs editing to define the ouput?

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Sun Aug 26, 2012 4:11 pm

Code: Select all

configure: error: no acceptable C compiler found in $PATH
You are missing a compiler, try installing gcc (and also libc6-dev)

When configuring/running LCDproc, the /etc/LCDd.conf file will have a section headed [hd44780]. This section wants to look something like:

Code: Select all

ConnectionType=rpi
D7=18
D6=23
D5=24
D4=25
RS=7
EN=8
These refer to the signal lines from the LCD module and the gpio pins available on the P1 header - The numbers given are the defaults, so if they are not specified in the config, this is what the gpio lines map to.
If you attempt to specify an invalid gpio pin, LCDproc will refuse to run so you can't do any damage ;)

Oh, don't forget to set the correct driver in the [server] section to:

Code: Select all

Driver=hd44780
Last edited by Serac on Sun Aug 26, 2012 4:23 pm, edited 1 time in total.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sun Aug 26, 2012 4:18 pm

okay, i installed GCC to get a compatible compiler.

but im getting no output on the lcd screen. when navigating the menus and so on it does dim down then come back but no text output.

so do i need to configure other files to tell it what to put out?

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Sun Aug 26, 2012 4:32 pm

In another terminal, try:

Code: Select all

lcdproc -f T
T can be replaced by one or more of the following:
C CPU show detailed CPU usage

[ b]P[/b] SMP-CPU CPU usage overview: one line per CPU, especially
useful on SMP systems.

G CPUGraph CPU histogram

L Load Load histogram

M Memory memory & swap usage

S ProcSize memory usage of 5 biggest processes

D Disk filling level of the mounted file systems

I Iface network interface usage

B Battery battery status

T TimeDate time & date information

O OldTime old time screen

U Uptime uptime screen

K BigClock big clock

N MiniClock minimal clock

A About credits page

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sun Aug 26, 2012 5:28 pm

i was trying to get this to display information relating to a playing file in raspbmc, i.e file name, current playtime and total playtime.

however thats a moot point at the moment as i still cant get any output.

[email protected]:/home/pi# lcdproc -f T
bash: lcdproc: command not found
[email protected]:/home/pi#

mind if i upload my LCDd.conf file for you to look at and if needs be, edit?
Last edited by secretreeve on Sun Aug 26, 2012 5:43 pm, edited 1 time in total.

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Sun Aug 26, 2012 5:41 pm

Didya do a:

Code: Select all

make install

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sun Aug 26, 2012 5:45 pm

Code: Select all

[email protected]:/home/pi/lcdproc# make install
bash: make: command not found
[email protected]:/home/pi/lcdproc#

Code: Select all

## Hitachi HD44780 driver ##
[hd44780]

# Select what type of connection. See documentation for types.
ConnectionType=rpi
D7=18
D6=23
D5=24
D4=25
RS=7
EN=8

# Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC
Port=0x378

# Device of the serial interface [default: /dev/lcd]
Device=/dev/ttyS0

# Bitrate of the serial port (0 for interface default)
Speed=0

# If you have a keypad connected.
# You may also need to configure the keypad layout further on in this file.
Keypad=no

# Set the initial contrast (bwctusb, lcd2usb, and usb4all)
# [default: 800; legal: 0 - 1000]
#Contrast=0

# Set brightness of the backlight (lcd2usb and usb4all):
# Brightness is the brightness while the backlight is set to 'on'.
# [default: 800; legal: 0 - 1000]
#Brightness=1000

# OffBrightness is the brightness while the backlight is set to 'off'.
# [default: 300; legal: 0 - 1000]
#OffBrightness=0

# If you have a switchable backlight.
Backlight=no

# If you have the additional output port ("bargraph") and you want to
# be able to control it with the lcdproc OUTPUT command
OutputPort=no

# Specifies if the last line is pixel addressable (yes) or it controls an
# underline effect (no). [default: yes; legal: yes, no]
#Lastline=yes
# Specifies the size of the LCD.
# In case of multiple combined displays, this should be the total size.
Size=16x2

# For multiple combined displays: how many lines does each display have.
# Vspan=2,2 means both displays have 2 lines.
#vspan=2,2

# If you have an HD66712, a KS0073 or another 'almost HD44780-compatible',
# set this flag to get into extended mode (4-line linear).
#ExtendedMode=yes

# In extended mode, on some controllers like the ST7036 (in 3 line mode)
# the next line in DDRAM won't start 0x20 higher. [default: 0x20]
#LineAddress=0x10

# Character map to to map ISO-8859-1 to the LCD's character set
# [default: hd44780_default; legal: hd44780_default, hd44780_euro, ea_ks0073,
# sed1278f_0b, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5, upd16314 ]
# (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if
# compiled with additional charmaps)
CharMap=hd44780_default

# 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.
#DelayMult=2

# Some displays (e.g. vdr-wakeup) need a message from the driver to that it
# is still alive. When set to a value bigger then null the character in the
# upper left corner is updated every <KeepAliveDisplay> seconds. Default: 0.
#KeepAliveDisplay=0

# If you experience occasional garbage on your display you can use this
# option as workaround. If set to a value bigger than null it forces a
# full screen refresh <RefreshDiplay> seconds. Default: 0.
#RefreshDisplay=5

# 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.
DelayBus=true

# If you have a keypad you can assign keystrings to the keys.
# See documentation for used terms and how to wire it.
# For example to give directly connected key 4 the string "Enter", use:
#   KeyDirect_4=Enter
# For matrix keys use the X and Y coordinates of the key:
#   KeyMatrix_1_3=Enter
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Sun Aug 26, 2012 8:23 pm

secretreeve wrote:ihowever thats a moot point at the moment as i still cant get any output
secretreeve wrote:

Code: Select all

[email protected]:/home/pi/lcdproc# make install
bash: make: command not found
[email protected]:/home/pi/lcdproc#
.
Unlike Python or any other interpreted/scripting languages, C/C++ needs to be compiled first, hence the requirement for gcc, make, and assorted -dev libraries (along with a few other optional support tools). Might I suggest you take a few days out with google and read up on the basics of compiling and installing a basic C program.

It also helps if you take time to read any error messages - If you are not sure what they mean, try your favorite search engine first and then ask. Most of the time, it is a basic problem that is well documented, other times, it is something that requires some serious low level work...e.g. My problem:

Code: Select all

[   55.968037] Unable to handle kernel paging request at virtual address bf0198d4
[   55.979392] pgd = ca884000
[   55.984154] [bf0198d4] *pgd=0bb05811, *pte=00000000, *ppte=00000000
[   55.992682] Internal error: Oops: 80000007 [#1]
yadda
yadda
[   56.903954] Exception stack(0xcaa0df68 to 0xcaa0dfb0)
[   56.912067] df60:                   ecac8b10 40000000 40257a08 c04d3848 ca818230 00000000
[   56.926182] df80: ca818050 00000001 00000b00 c000e698 caa0c230 00000000 20000093 caa0dfb0
[   56.940350] dfa0: c000e64c c00092d4 60000013 ffffffff
[   56.948505]  r4:c00092d4 r3:c000e64c
[   56.955196] Code: bad PC value
[   56.961187] ---[ end trace 9deccd1fe61246c1 ]---
[   56.968681] Kernel panic - not syncing: Fatal exception in interrupt

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sun Aug 26, 2012 8:33 pm

i thought i had already apt-get install make because i had done it on a previous install. my very very bad.

so!

Code: Select all

make install
then what?

p.s im under pressure from my partner to get the screen working rofl

p.s just "make" proves to be an interesting command on its own rofl

Code: Select all

[email protected]:/home/pi/lcdproc# lcdproc -f T
sock_connect: connect failed
Error connecting to LCD server localhost on port 13666.
Check to see that the server is running and operating normally.
[email protected]:/home/pi/lcdproc#

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Sun Aug 26, 2012 9:08 pm

secretreeve wrote:

Code: Select all

[email protected]:/home/pi/lcdproc# lcdproc -f T
sock_connect: connect failed
Error connecting to LCD server localhost on port 13666.
Check to see that the server is running and operating normally.
[email protected]:/home/pi/lcdproc#
LCDproc runs in two parts, the first is the server which is responsible for the low level grunt of displaying "stuff" on the LCD. This is (usually) started up at boot time with an init script. If you have already installed the Deb package, try:

Code: Select all

/etc/init.d/LCDd start
... Or from the command line:

Code: Select all

LCDd -f -c /etc/LCDd.conf
- If either fail, it might mean that you already have the LCDproc server running, in which case:

Code: Select all

/etc/init.d/LCDd stop
The second part of LCDproc is the client - This is the part that collates information and sends it to the server to be displayed. The client is started with

Code: Select all

lcdproc U
(as an example). A number of other applications have their own builtin client (such as XBMC) so that snippets of text can be displayed on an LCD.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sun Aug 26, 2012 9:17 pm

i have lcdproc installed.

but i tried a couple of your commands there,

Code: Select all

[email protected]:/home/pi/lcdproc# LCDd -f -c /etc/LCDd.conf
bash: LCDd: command not found
[email protected]:/home/pi/lcdproc# /etc/init.d/LCDd stop
bash: /etc/init.d/LCDd: No such file or directory
[email protected]:/home/pi/lcdproc# /etc/init.d/LCDd start
bash: /etc/init.d/LCDd: No such file or directory
[email protected]:/home/pi/lcdproc#
when you say package installed, which one are you refering? judging by what you've said it would appear (to my understanding, which as you know is limited) that the "server" either isnt present or something is preventing it from working

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Sun Aug 26, 2012 11:57 pm

okay tried your commands from a few different directories including the root.

cant get LCDd to run, stop or anything as it just returns command not found. so i guess its not installed?

anyway, i got xbmc "advancedsettings.xml" and "lcd.xml" typed up and adjusted so hopefully it can take over telling LCDd just what data exactly to display

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Mon Aug 27, 2012 3:09 pm

ran through this again on a clean installation of RASPBMC.

went through it all up to and including

Code: Select all

make install
so this has made a install program right? but what do i need to do with the install after make install?

im still getting this either way

Code: Select all

[email protected]:/home/pi/lcdproc# lcdproc -f T
sock_connect: connect failed
Error connecting to LCD server localhost on port 13666.
Check to see that the server is running and operating normally.
[email protected]:/home/pi/lcdproc# /etc/init.d/LCDd start
bash: /etc/init.d/LCDd: No such file or directory
[email protected]:/home/pi/lcdproc# CDd -f -c /etc/LCDc.conf
bash: CDd: command not found
[email protected]:/home/pi/lcdproc# LCDd -f -c /etc/LCDc.conf
bash: LCDd: command not found
[email protected]:/home/pi/lcdproc# /etc/init.d/LCDd stop
bash: /etc/init.d/LCDd: No such file or directory
here is my LCDd.conf

Code: Select all

# LCDd.conf -- configuration file for the LCDproc server daemon LCDd
#
# 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]. For the menu there is
# a section called [menu]. Further each driver has a section which
# defines how the driver acts.
#
# The drivers are activated by specifying 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 defines the
# size of the display. The default driver to use is curses.
# If the driver is specified using the -d <driver> command line option,
# the Driver= options in the config file are ignored.
#
# The drivers read their own options from the respective sections.



## Server section with all kinds of settings for the LCDd server ##
[server]

# Where can we find the driver modules ?
# IMPORTANT: Make sure to change this setting to reflect your
#            specific setup! Otherwise LCDd won't be able to find
#            the driver modules and will thus not be able to
#            function properly.
# NOTE: Always place a slash as last character !
DriverPath=server/drivers/

# Tells the server to load the given drivers. Multiple lines can be given.
# The name of the driver is case sensitive and determines the section
# where to look for further configuration options of the specific driver
# as well as the name of the dynamic driver module to load at runtime.
# The latter one can be changed by giving a File= directive in the
# driver specific section.
#
# The following drivers are supported:
#   bayrad, CFontz, CFontzPacket, curses, CwLnx, ea65,
#   EyeboxOne, g15, glcd, glcdlib, glk, hd44780, icp_a106, imon, imonlcd,
#   IOWarrior, irman, joy, lb216, lcdm001, lcterm, lirc, lis, MD8800,
#   mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, picolcd,
#   pyramid, sdeclcd, sed1330, sed1520, serialPOS, serialVFD, shuttleVFD, sli,
#   stv5730, svga, t6963, text, tyan, ula200, vlsys_m428, xosd
Driver=hd44780

# Tells the driver to bind to the given interface
Bind=127.0.0.1

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

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

# Should we report to syslog instead of stderr ? [default: no; legal: yes, no]
#ReportToSyslog=yes

# User to run as.  LCDd will drop its root privileges, if any,
# and run as this user instead.
User=nobody

# The server will stay in the foreground if set to true.
#Foreground=no

# Hello message: each entry represents a display line; default: builtin
#Hello="  Welcome to"
#Hello="   LCDproc!"

# GoodBye message: each entry represents a display line; default: builtin
#GoodBye="Thanks for using"
#GoodBye="   LCDproc!"

# Sets the default time in seconds to displays a screen.
WaitTime=5

# If set to no, LCDd will start with screen rotation disabled. This has the
# same effect as if the ToggleRotateKey had been pressed. Rotation will start
# if the ToggleRotateKey is pressed. Note that this setting does not turn off
# priority sorting of screens. [default: on; legal: on, off]
#AutoRotate=no

# If yes, the the serverscreen will be rotated as a usual info screen. If no,
# it will be a background screen, only visible when no other screens are
# active. The special value 'blank' is similar to no, but only a blank screen
# is displayed. [default: on; legal: on, off, blank]
#ServerScreen=no

# Set master backlight setting. If set to 'open' a client may control the
# backlight for its own screens (only). [default: open; legal: off, open, on]
#Backlight=open

# Set master heartbeat setting. If set to 'open' a client may control the
# heartbeat for its own screens (only). [default: open; legal: off, open, on]
#Heartbeat=open

# set title scrolling speed [default: 10; legal: 0-10]
#TitleSpeed=10

# The "...Key=" lines define what the server does with keypresses that
# don't go to any client. The ToggleRotateKey stops rotation of screens, while
# the PrevScreenKey and NextScreenKey go back / forward one screen (even if
# rotation is disabled.
# Assign the key string returned by the driver to the ...Key setting. These
# are the defaults:
ToggleRotateKey=Enter
PrevScreenKey=Left
NextScreenKey=Right
#ScrollUpKey=Up
#ScrollDownKey=Down


## The menu section. The menu is an internal LCDproc client. ##
[menu]
# You can configure what keys the menu should use. Note that the MenuKey
# will be reserved exclusively, the others work in shared mode.

# Up to six keys are supported. The MenuKey (to enter and exit the menu), the
# EnterKey (to select values) and at least one movement keys are required.
# These are the default key assignments:
MenuKey=Escape
EnterKey=Enter
UpKey=Up
DownKey=Down
#LeftKey=Left
#RightKey=Right


### Driver sections are below this line, in alphabetical order  ###


## EMAC BayRAD driver ##
[bayrad]

# Select the output device to use [default: /dev/lcd]
Device=/dev/lcd

# Set the communication speed [default: 9600; legal:  1200, 2400, 9600, 19200]
Speed=9600



## CrystalFontz driver (for CF632 & CF634) ##
[CFontz]

# Select the output device to use [default: /dev/lcd]
Device=/dev/ttyS0
# Select the LCD size [default: 20x4]
Size=20x4
# Set the initial contrast [default: 560; legal: 0 - 1000]
Contrast=350
# Set the initial brightness [default: 1000; legal: 0 - 1000]
Brightness=1000
# Set the initial off-brightness [default: 0; legal: 0 - 1000]
# This value is used when the display is normally
# switched off in case LCDd is inactive
OffBrightness=0
# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200,
# 115200]
Speed=9600
# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
NewFirmware=no
# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
# normally you shouldn't need this
Reboot=no



## CrystalFontz packet driver (for CFA533, CFA631, CFA633 & CFA635) ##
[CFontzPacket]

# Select the LCD model [default: 633; legal: 533, 631, 633, 635]
Model=633

# Select the output device to use [default: /dev/lcd]
Device=/dev/ttyUSB0

# Set the initial contrast [default: 560; legal: 0 - 1000]
Contrast=350

# Set the initial brightness [default: 1000; legal: 0 - 1000]
Brightness=1000

# Set the initial off-brightness [default: 0; legal: 0 - 1000]
# This value is used when the display is normally
# switched off in case LCDd is inactive
OffBrightness=50

# Reinitialize the LCD's BIOS on driver start. [default: no; legal: yes, no]
Reboot=yes

# Enable the USB flag if the device is connected to an USB port. For
# serial ports leave it disabled. [default: no; legal: yes, no]
#USB=yes

# Very old 633 firmware versions do not support partial screen updates using
# 'Send Data to LCD' command (31). For those devices it may be necessary to
# enable this flag. [default: no; legal: yes, no]
#OldFirmware=yes

# Override the LCD size known for the selected model. Usually setting this
# value should not be necessary.
#Size=20x4

# Override the default communication speed known for the selected model.
# Default value depends on model [legal: 19200, 115200]
#Speed=115200

## Curses driver ##
[curses]

# color settings
# foreground color [default: blue]
Foreground=blue
# background color when "backlight" is off [default: cyan]
Background=cyan
# background color when "backlight" is on [default: red]
Backlight=red

# display size [default: 20x4]
Size=20x4

# What position (X,Y) to start the left top corner at...
# Default: (7,7)
TopLeftX=7
TopLeftY=7

# use ASC symbols for icons & bars [default: no; legal: yes, no]
UseACS=no

# draw Border [default: yes; legal: yes, no]
DrawBorder=yes



## Cwlinux driver ##
[CwLnx]

# Select the LCD model [default: 12232; legal: 12232, 12832, 1602]
Model=12232

# Select the output device to use [default: /dev/lcd]
Device=/dev/ttyUSB0

# Select the LCD size. Default depends on model:
# 12232: 20x4
# 12832: 21x4
# 1602: 16x2
Size=20x4

# Set the communication speed [default: 19200; legal: 9600, 19200]
Speed=19200

# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
# normally you shouldn't need this
Reboot=no

# If you have a keypad connected. Keypad layout is currently not
# configureable from the config file.
Keypad=yes

# If you have a non-standard keypad you can associate any keystrings to keys.
# There are 6 input keys in the CwLnx hardware that generate characters
# from 'A' to 'F'.
#
# The following is the built-in default mapping hardcoded in the driver.
# You can leave those unchanged if you have a standard keypad.
# You can change it if you want to report other keystrings or have a non
# standard keypad.
# KeyMap_A=Up
# KeyMap_B=Down
# KeyMap_C=Left
# KeyMap_D=Right
# KeyMap_E=Enter
# KeyMap_F=Escape

# keypad_test_mode permits one to test keypad assignment
# Default value is no
#keypad_test_mode=yes



## ea65 driver for the display in AOpen XC Cube AV EA65 media barebones ##
[ea65]

# Device is fixed /dev/ttyS1
# Width and Height are fixed 9x1

# As the VFD is self luminescent we don't have a backlight
# But we can use the backlight functions to control the front LEDs
# Brightness 0 to 299 -> LEDs off
# Brightness 300 to 699 -> LEDs half bright
# Brightness 700 to 1000 -> LEDs full bright
Brightness=500
# OffBrightness is the the value used for the 'backlight off' state
OffBrightness=0



## EyeboxOne driver ##
[EyeboxOne]

# Select the output device to use [default: /dev/ttyS1]
#Device=/dev/cua01
Device=/dev/ttyS1

# Set the display size [default: 20x4]
Size=20x4

# Switch on the backlight? [default: yes]
Backlight=yes

# Switch on the cursor? [default: no]
Cursor=no

# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
Speed=19200

# Enter Key is a \r character, so it's hardcoded in the driver
LeftKey=D
RightKey=C
UpKey=A
DownKey=B
EscapeKey=P

# 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



## g15 driver for Logitech G15 Keyboard LCDs ##
[g15]

# Display size (currently unused)
size=20x5



## glcd generic graphical display driver
[glcd]
# Select what type of connection. See documentation for types.
ConnectionType=t6963

# Width and height of the display in pixel. The supported sizes may depend on
# the ConnectionType. [default: 128x64; legal: 1x1 - 640x480]
#Size=128x64

# Width and height of a character cell in pixels. This value is only used if
# the driver has been compiled with FreeType and it is enabled. Otherwise the
# default 6x8 cell is used.
#CellSize=12x16

# If LCDproc has been compiled with FreeType 2 support this option can be used
# to turn if off intentionally. [default: yes; legal: yes, no]
#useFT2=no

# Path to font file to use for FreeType rendering. This font must be monospace
# and should contain some special Unicode characters like arrows (Andale Mono
# is recommended and can be fetched at http://corefonts.sf.net).
#normal_font=/usr/local/lib/X11/fonts/TTF/andalemo.ttf

# Some fonts miss the Unicode characters used to represent icons. In this case
# the built-in 5x8 font can used if this option is turned off. [default: yes;
# legal: yes, no]
#fontHasIcons=no

# Set the initial contrast if supported by connection type.
# [default: 600; legal: 0 - 1000]
#Contrast=600

# Set brightness of the backlight if the backlight is switched 'on'.
# [default: 800; legal: 0 - 1000]
#Brightness=1000

# Set brightness of the backlight if the backlight is switched 'off'. Set this
# to zero to completely turn off the backlight. [default: 100; legal: 0 - 1000]
#OffBrightness=0

# Time (ms) from first key report to first repeat. Set to 0 to disable repeated
# key reports. [default: 500; legal: 0 - 3000]
#KeyRepeatDelay=500

# Time (ms) between repeated key reports. Ignored if KeyRepeatDelay is disabled
# (set to zero). [default: 300; legal: 0 - 3000]
#KeyRepeatInterval=300

# Assign key strings to keys. There may be up to 16 keys numbered 'A' to 'Z'.
# By default keys 'A' to 'F' are assigned Up, Down, Left, Right, Enter, Escape.
KeyMap_A=Up
KeyMap_B=Down
KeyMap_C=Enter
KeyMap_D=Escape

# t6963: Parallel port to use [default: 0x378; legal: 0x200 - 0x400]
#Port=0x378

# t6963: Use LPT port in bi-directional mode. This should work on most LPT port
# and is required for proper timing! [default: yes; legal: yes, no]
#bidirectional=yes

# t6963: Insert additional delays into reads / writes. [default: no;
# legal: yes, no]
#delayBus=no

# serdisplib: Name of the underlying serdisplib driver, e.g. ctinclud. See
# serdisplib documentation for details.
serdisp_name=t6963

# serdisplib: The display device to use, e.g. serraw:/dev/ttyS0,
# parport:/dev/parport0 or USB:07c0/1501.
serdisp_device=/dev/ppi0

# serdisplib: Options string to pass to serdisplib during initialization. Use
# this to set any display related options (e.g. wiring). The display size is
# always set based on the Size configured above! By default, no options are
# set.
# Important: The value must be quoted as it contains equal signs!
#serdisp_options="INVERT=1"


## glcdlib meta driver for graphical LCDs ##
[glcdlib]

## mandatory:

# which graphical display supported by graphlcd-base to use [default: image]
# (see /etc/graphlcd.conf for possible drivers)
Driver=noritake800

# no=use graphlcd bitmap fonts (they have only one size / font file)
# yes=use fonts supported by FreeType2 (needs Freetype2 support in
# libglcdprocdriver and its dependants)
UseFT2=yes

# text resolution in fixed width characters [default: 16x4]
# (if it won't fit according to available physical pixel resolution
# and the minimum available font face size in pixels, then
# 'DebugBorder' will automatically be turned on)
TextResolution=20x4

# path to font file to use
FontFile=/usr/share/fonts/corefonts/courbd.ttf

## these only apply if UseFT2=yes:

# character encoding to use
CharEncoding=iso8859-2

# minimum size in pixels in which fonts should be rendered
MinFontFaceSize=7x12

## optional:
Brightness=50                   # Brightness (in %) if applicable
Contrast=50                     # Contrast (in %) if applicable
Backlight=no                    # Backlight if applicable
UpsideDown=no                   # flip image upside down
Invert=no                       # invert light/dark pixels
ShowDebugFrame=no               # turns on/off 1 pixel thick debugging
                                # border within the usable text area,
                                # for setting up TextResolution and
                                # MinFontFaceSize (if using FT2);
ShowBigBorder=no                # border around the unused area
ShowThinBorder=yes              # border around the unused area
PixelShiftX=0
PixelShiftY=2



## Matrix Orbital GLK driver ##
[glk]

# select the serial device to use [default: /dev/lcd]
Device=/dev/lcd

# set the initial contrast value [default: 560; legal: 0 - 1000]
Contrast=560

# set the serial port speed [default: 19200; legal: 9600, 19200, 38400]
Speed=19200



## Hitachi HD44780 driver ##
[hd44780]

# Select what type of connection. See documentation for types.
ConnectionType=rpi
D7=18
D6=23
D5=24
D4=25
RS=7
EN=8

# Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC
Port=0x378

# Device of the serial interface [default: /dev/lcd]
Device=/dev/ttyS0

# Bitrate of the serial port (0 for interface default)
Speed=0

# If you have a keypad connected.
# You may also need to configure the keypad layout further on in this file.
Keypad=no

# Set the initial contrast (bwctusb, lcd2usb, and usb4all)
# [default: 800; legal: 0 - 1000]
#Contrast=0

# Set brightness of the backlight (lcd2usb and usb4all):
# Brightness is the brightness while the backlight is set to 'on'.
# [default: 800; legal: 0 - 1000]
#Brightness=1000

# OffBrightness is the brightness while the backlight is set to 'off'.
# [default: 300; legal: 0 - 1000]
#OffBrightness=0

# If you have a switchable backlight.
Backlight=no

# If you have the additional output port ("bargraph") and you want to
# be able to control it with the lcdproc OUTPUT command
OutputPort=no

# Specifies if the last line is pixel addressable (yes) or it controls an
# underline effect (no). [default: yes; legal: yes, no]
#Lastline=yes

# Specifies the size of the LCD.
# In case of multiple combined displays, this should be the total size.
Size=16x2

# For multiple combined displays: how many lines does each display have.
# Vspan=2,2 means both displays have 2 lines.
#vspan=2,2

# If you have an HD66712, a KS0073 or another 'almost HD44780-compatible',
# set this flag to get into extended mode (4-line linear).
#ExtendedMode=yes

# In extended mode, on some controllers like the ST7036 (in 3 line mode)
# the next line in DDRAM won't start 0x20 higher. [default: 0x20]
#LineAddress=0x10

# Character map to to map ISO-8859-1 to the LCD's character set
# [default: hd44780_default; legal: hd44780_default, hd44780_euro, ea_ks0073,
# sed1278f_0b, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5, upd16314 ]
# (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if
# compiled with additional charmaps)
CharMap=hd44780_default

# 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.
#DelayMult=2

# Some displays (e.g. vdr-wakeup) need a message from the driver to that it
# is still alive. When set to a value bigger then null the character in the
# upper left corner is updated every <KeepAliveDisplay> seconds. Default: 0.
#KeepAliveDisplay=0

# If you experience occasional garbage on your display you can use this
# option as workaround. If set to a value bigger than null it forces a
# full screen refresh <RefreshDiplay> seconds. Default: 0.
#RefreshDisplay=5

# 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.
DelayBus=true

# If you have a keypad you can assign keystrings to the keys.
# See documentation for used terms and how to wire it.
# For example to give directly connected key 4 the string "Enter", use:
#   KeyDirect_4=Enter
# For matrix keys use the X and Y coordinates of the key:
#   KeyMatrix_1_3=Enter
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape



## ICP A106 driver ##
[icp_a106]
Device=/dev/ttyS1



## Code Mercenaries IO-Warrior driver ##
[IOWarrior]

# display dimensions
Size=20x4

# serial number. Must be exactly as listed by usbview
# (if not given, the 1st IOWarrior found gets used)
#SerialNumber=00000674

# If you have an HD66712, a KS0073 or another 'almost HD44780-compatible',
# set this flag to get into extended mode (4-line linear).
#ExtendedMode=yes

# Specifies if the last line is pixel addressable (yes) or it controls an
# underline effect (no). [default: yes; legal: yes, no]
#Lastline=yes



## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ##
[imon]

# select the device to use
Device=/dev/lcd0

# display dimensions
Size=16x2

# Character map to to map ISO-8859-1 to the displays character set.
# [default: none; legal: none, hd44780_euro, upd16314, hd44780_koi8_r,
# hd44780_cp1251, hd44780_8859_5 ] (upd16314, hd44780_koi8_r,
# hd44780_cp1251, hd44780_8859_5 are possible if compiled with additional
# charmaps)
CharMap=hd44780_euro

## Soundgraph iMON LCD ##
[imonlcd]
# Specify which iMon protocol should be used
# [legal: 0, 1; default: 0]
# Choose 0 for 15c2:ffdc device,
# Choose 1 for 15c2:0038 device
Protocol=0

# Set the exit behavior [legal: 0-2; default: 1]
# 0 means leave shutdown message,
# 1 means show the big clock,
# 2 means blank device
#OnExit=2

# Select the output device to use [default: /dev/lcd0]
Device=/dev/lcd0

# Select the displays contrast [default: 200; legal: 0-1000]
Contrast=200

# Specify the size of the display in pixels [default: 96x16]
#Size=96x16

# Set the backlight state [default: on; legal: on, off]
#Backlight=on

# Set the disc mode [legal: 0,1; default: 0]
# 0 => spin the "slim" disc - two disc segments,
# 1 => their complement spinning;
#DiscMode=0



## IrMan driver ##
[IrMan]
# in case of trouble with IrMan, try the Lirc emulator for IrMan

# Select the input device to use
#Device=/dev/irman

# Select the configuration file to use
#Config=/etc/irman.cfg



## IRtrans driver ##
[irtrans]

# Does the device have a backlight? [default: no; legal: yes, no]
#Backlight=no

# IRTrans device to connect to [default: localhost]
#Hostname=localhost

# display dimensions
Size=16x2



## Joystick driver ##
[joy]

# Select the input device to use [default: /dev/js0]
Device=/dev/js0

# set the axis map
Map_Axis1neg=Left
Map_Axis1pos=Right
Map_Axis2neg=Up
Map_Axis2pos=Down

# set the button map
Map_Button1=Enter
Map_Button2=Escape



## LB216 driver ##
[lb216]

# Select the output device to use [default: /dev/lcd]
Device=/dev/lcd

# Set the initial brightness [default: 255; legal: 0 - 255]
Brightness=255

# Set the communication speed [default: 9600; legal: 2400, 9600]
Speed=9600

# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
Reboot=no



## LCDM001 driver ##
[lcdm001]

Device=/dev/ttyS1

# 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
PauseKey=LeftKey
BackKey=UpKey
ForwardKey=DownKey
MainMenuKey=RightKey

# You can rearrange the settings here.
# If your device is broken, have a look at server/drivers/lcdm001.h



## HNE LCTerm driver ##
[lcterm]
Device=/dev/ttyS1
Size=16x2



## LIRC input driver ##
[lirc]

# Specify an alternative location of the lircrc file [default: ~/.lircrc]
#lircrc=/etc/lircrc.lcdproc

# Must be the same as in your lircrc
#prog=lcdd



## LIS MCE 2005 driver ##
[lis]

# Set the initial brightness [default: 1000; legal: 0 - 1000]
# 0-250 = 25%, 251-500 = 50%, 501-750 = 75%, 751-1000 = 100%
#Brightness=1000

# Columns by lines [default: 20x2]
#Size=20x2

# USB Vendor ID [default: 0x0403]
# Change only if testing a compatible device.
#VendorID=0x0403

# USB Product ID [default: 0x6001]
# Change only if testing a compatible device.
#ProductID=0x6001

# Specifies if the last line is pixel addressable (yes) or it only controls an
# underline effect (no). [default: yes; legal: yes, no]
#Lastline=yes



##The driver for the VFD of the Medion MD8800 PC ##
[MD8800]
# device to use [default: /dev/ttyS1]
#Device=/dev/ttyS1

# display size [default: 16x2]
#Size=16x2

# Set the initial brightness [default: 1000; legal: 0 - 1000]
Brightness=1000
# Set the initial off-brightness [default: 0; legal: 0 - 1000]
# This value is used when the display is normally
# switched off in case LCDd is inactive
OffBrightness=50



## Futuba MDM166A Display
[mdm166a]
# Show self-running clock after LCDd shutdown
# Possible values: [default: no; legal: no, small, big]
Clock=big
# Dim display, no dimming gives full brightness [default: no, legal: yes, no]
Dimming=no
# Dim display in case LCDd is inactive [default: no, legal: yes, no]
OffDimming=yes



## MSI MS-6931 driver for displays in 1HU servers ##
[ms6931]

# device to use [default: /dev/ttyS1]
Device=/dev/ttyS1

# display size [default: 16x2]
#Size=16x2



## MTC-S16209x driver ##
[mtc_s16209x]

# Select the output device to use [default: /dev/lcd]
Device=/dev/lcd

# Set the initial brightness [default: 255; legal: 0 - 255]
Brightness=255

# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
Reboot=no



## Matrix Orbital driver ##
[MtxOrb]

# Select the output device to use [default: /dev/lcd]
Device=/dev/ttyS0

# Set the display size [default: 20x4]
Size=20x4

# Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd]
Type=lkd

# Set the initial contrast [default: 480]
# NOTE: The driver will ignore this if the display
#       is a vfd or vkd as they don't have this feature
Contrast=480

# Some old displays do not have an adjustable backlight but only can
# switch the backlight on/off. If you experience randomly appearing block
# characters, try setting this to false. [default: yes; legal: yes, no]
hasAdjustableBacklight=no

# Set the initial brightness [default: 1000; legal: 0 - 1000]
Brightness=1000
# Set the initial off-brightness [default: 0; legal: 0 - 1000]
# This value is used when the display is normally
# switched off in case LCDd is inactive
OffBrightness=0

# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
Speed=19200

# The following table translates from MtxOrb key letters to logical key names.
# By default no keys are mapped, meaning the keypad is not used at all.
#KeyMap_A=Left
#KeyMap_B=Right
#KeyMap_C=Up
#KeyMap_D=Down
#KeyMap_E=Enter
#KeyMap_F=Escape
# See the [menu] section for an explanation of the key mappings

# 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



## mx5000 driver for LCD display on the Logitech MX5000 keyboard ##
[mx5000]

# Select the output device to use [default: /dev/hiddev0]
Device = /dev/hiddev0
# Time to wait in ms after the refresh screen has been sent [default: 1000]
WaitAfterRefresh = 1000



## Noritake VFD driver ##
[NoritakeVFD]
# device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1
# [default: /dev/lcd]
Device=/dev/ttyS0
# Specifies the size of the LCD.
Size=20x4
# Set the initial brightness [default: 1000; legal: 0 - 1000]
Brightness=1000
# Set the initial off-brightness [default: 0; legal: 0 - 1000]
# This value is used when the display is normally
# switched off in case LCDd is inactive
OffBrightness=50
# set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115$
Speed=9600
# Set serial data parity [default: 0; legal: 0-2 ]
# Meaning: 0(=none), 1(=odd), 2(=even)
Parity=0
# re-initialize the VFD [default: no; legal: yes, no]
Reboot=no



## Mini-box.com picoLCD (usblcd) driver ##
[picolcd]

# KeyTimeout is only used if the picoLCD driver is built with libusb-0.1. When
# built with libusb-1.0 key and IR data is input asynchronously so there is no
# need to wait for the USB data.
# KeyTimeout is the time in ms that LCDd spends waiting for a key press before
# cycling through other duties.  Higher values make LCDd use less CPU time and
# make key presses more detectable.  Lower values make LCDd more responsive
# but a little prone to missing key presses.  500 (.5 second) is the default
# and a balanced value. [default: 500; legal: 0 - 1000]
KeyTimeout=500

# Key auto repeat is only available if the picoLCD driver is built with
# libusb-1.0. Use KeyRepeatDelay and KeyRepeatInterval to configure key auto
# repeat.
#
# Key auto repeat delay (time in ms from first key report to first repeat). Use
# zero to disable auto repeat. [default: 300; legal: 0 - 3000]
KeyRepeatDelay=300

# Key auto repeat interval (time in ms between repeat reports). Only used if
# KeyRepeatDelay is not zero. [default: 200; legal: 0 - 3000]
KeyRepeatInterval=200

# Sets the initial state of the backlight upon start-up.
# [default: on; legal: on, off]
#Backlight=on

# Set the initial brightness [default: 1000; legal: 0 - 1000]. Works only
# with the 20x4 device
Brightness=1000

# Set the brightness while the backlight is 'off' [default: 0; legal: 0 - 1000].
# Works only with the 20x4 device.
#OffBrightness=0

# Set the initial contrast [default: 1000; legal: 0 - 1000]
Contrast=1000

# Link the key lights to the backlight? [default: on; legal: on, off]
#LinkLights=off

# Light the keys? [default: on; legal: on, off]
Keylights=on

# If Keylights is on, the you can unlight specific keys below:
# Key0 is the directional pad.  Key1 - Key5 correspond to the F1 - F5 keys.
# There is no LED for the +/- keys.  This is a handy way to indicate to users
# which keys are disabled.  [default: on; legal: on, off]
Key0Light=on
Key1Light=on
Key2Light=on
Key3Light=on
Key4Light=on
Key5Light=on

# Host name or IP address of the LIRC instance that is to receive IR codes
# If not set, or set to an empty value, IR support is disabled.
#LircHost=127.0.0.1

# UDP port on which LIRC is listening [default: 8765; legal: 1 - 65535]
LircPort=8765

# Threshold in jiffies of synthesized gap that triggers flushing the IR data
# to lirc [default: 100 ; max: 32767 ]
# 100 means 6.1ms. legal: 16 - 32767; Use 0 to disable.
LircFlushThreshold=100



## Pyramid LCD driver ##
[pyramid]

# device to connect to [default: /dev/lcd]
Device=/dev/ttyUSB0



## SDEC driver for Watchguard Firebox ##
[sdeclcd]
# No options



## Seiko Epson 1330 driver ##
[sed1330]

# Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC
Port=0x378

# Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446, SP14Q002)
# Note: Currently only tested with G321D & SP14Q002.
Type=G321D

# Width x Height of a character cell in pixels [legal: 6x7 - 8x16; default: 6x1$
CellSize=6x10

# Select what type of connection [legal: classic, bitshaker; default: classic]
ConnectionType=classic



## Seiko Epson 1520 driver ##
[sed1520]

# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
Port=0x378

# Select the interface type (wiring) for the display. Supported values are
# 68 for 68-style connection (RESET level high) and 80 for 80-style connection
# (RESET level low). [legal: 68, 80; default: 80]
InterfaceType=80

# On fast machines it may be necessary to slow down transfer to the display.
# If this value is set to zero, delay is disabled. Any value greater than
# zero slows down each write by one microsecond. [legal: 0-1000; default: 1]
DelayMult=0

# The original wiring used an inverter to drive the control lines. If you do
# not use an inverter set haveInverter to no. [default: yes; legal: yes, no]
haveInverter=no



## serial POS display driver ##
[serialPOS]

# Device to use in serial mode [default: /dev/lcd]
Device=/dev/lcd

# Specifies the size of the display in characters. [default: 16x2]
Size=16x2

# Set the communication protocol to use with the POS display.
# [default: AEDEX; legal: IEE, Epson, Emax, IBM, LogicControls, Ultimate]
Type=AEDEX

# communication baud rate with the display [default: 9600; legal: 1200, 2400,
# 19200, 115200]
Speed=9600



## Serial VFD driver ##
## Drives various (see below) serial 5x7dot VFD's.  ##
[serialVFD]

# Specifies the displaytype.[default: 0]
# 0 NEC (FIPC8367 based) VFDs.
# 1 KD Rev 2.1.
# 2 Noritake VFDs (*).
# 3 Futaba VFDs
# 4 IEE S03601-95B
# 5 IEE S03601-96-080 (*)
# 6 Futaba NA202SD08FA (allmost IEE compatible)
# 7 Samsung 20S207DA4 and 20S207DA6
# 8 Nixdorf BA6x / VT100
# (* most should work, not tested yet.)
Type=0

# "no" if display connected serial, "yes" if connected parallel. [default: no]
# I.e. serial by default
use_parallel=no

# Number of Custom-Characters. default is display type dependent
#Custom-Characters=0

# Portaddress where the LPT is. Used in parallel mode only. Usual values are
# 0x278, 0x378 and 0x3BC.
Port=0x378

# Set parallel port timing delay (us). Used in parallel mode only.
# [default: 2; legal: 0 - 255]
#PortWait=2

# Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1
Device=/dev/ttyS1

# Specifies the size of the VFD.
Size=20x2

# Set the initial brightness [default: 1000; legal: 0 - 1000]
# (4 steps 0-250, 251-500, 501-750, 751-1000)
Brightness=1000
# Set the initial off-brightness [default: 0; legal: 0 - 1000]
# This value is used when the display is normally
# switched off in case LCDd is inactive
# (4 steps 0-250, 251-500, 501-750, 751-1000)
OffBrightness=0

# set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115$
Speed=9600

# enable ISO 8859 1 compatibility [default: yes; legal: yes, no]
#ISO_8859_1=yes



## shuttleVFD driver ##
[shuttleVFD]
# No options



## stv5730 driver ##
[stv5730]

# Port the device is connected to [default: 0x378]
Port=0x378


[SureElec]

# Port the device is connected to  (by default first USB serial port)
Device=/dev/ttyUSB0

# Edition level of the device (can be 1, 2 or 3) [default: 2]
#Edition=1

# set display size
# Note: The size can be obtained directly from device for edition 2 & 3.
#Size=16x2

# Set the initial contrast [default: 480; legal: 0 - 1000]
#Contrast=200

# Set the initial brightness [default: 480; legal: 1 - 1000]
#Brightness=480

# Set the initial off-brightness [default: 100; legal: 1 - 1000]
# This value is used when the display is normally
# switched off in case LCDd is inactive
#OffBrightness=100


## SVGAlib driver ##
[svga]

# svgalib mode to use [default: G320x240x256 ]
# legal values are supported svgalib modes
#Mode=G640x480x256

# set display size [default: 20x4]
Size=20x4

# Set the initial contrast [default: 500; legal: 0 - 1000]
# Can be set but does not change anything internally
Contrast=500

# Set the initial brightness [default: 1000; legal: 1 - 1000]
Brightness=1000

# Set the initial off-brightness [default: 500; legal: 1 - 1000]
# This value is used when the display is normally
# switched off in case LCDd is inactive
OffBrightness=500



## Text driver ##
[text]
# Set the display size [default: 20x4]
Size=20x4



## Toshiba T6963 driver ##
[t6963]

# set display size in pixels [default: 128x64]
Size=128x64

# port to use [default: 0x378; legal: 0x200 - 0x400]
Port=0x378

# Use LPT port in bi-directional mode. This should work on most LPT port and
# is required for proper timing! [default: yes; legal: yes, no]
#bidirectional=yes

# Insert additional delays into reads / writes. [default: no; legal: yes, no]
#delayBus=no

# Clear graphic memory on start-up. [default: no; legal: yes, no]
#ClearGraphic=no



## Tyan Barebones LCD driver (GS10 & GS12 series) ##
[tyan]

# Select the output device to use [default: /dev/lcd]
Device=/dev/lcd

# Set the communication speed [default: 9600; legal: 4800, 9600]
Speed=9600

# set display size [default: 16x2]
Size=16x2



## ELV ula200 driver ##
[ula200]

# Select the LCD size [default: 20x4]
Size=20x4

# If you have a non standard keypad you can associate any keystrings to keys.
# There are 6 input key in the CwLnx hardware that generate characters
# from 'A' to 'F'.
#
# The following it the built-in default mapping hardcoded in the driver.
# You can leave those unchanged if you have a standard keypad.
# You can change it if you want to report other keystrings or have a non
# standard keypad.
# KeyMap_A=Up
# KeyMap_B=Down
# KeyMap_C=Left
# KeyMap_D=Right
# KeyMap_E=Enter
# KeyMap_F=Escape



## Wirz SLI LCD driver ##
[sli]

# Select the output device to use [default: /dev/lcd]
Device=/dev/lcd

# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200,
# 38400, 57600, 115200]
Speed=19200



## vlsys_m428 for VFD/IR combination in Moneual MonCaso 320 ##
[vlsys_m428]

# Select the output device to use [default: /dev/ttyUSB0]
#Device=/dev/ttyUSB0



## OnScreen Display using libxosd ##
[xosd]

# set display size [default: 20x4]
Size=20x4

# Offset in pixels from the top-left corner of the monitor [default: 0x0]
Offset=200x200

# X font to use, in XLFD format, as given by "xfontsel"
Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-*
Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-*

# EOF
note:

driver=hd44780

connectiontype=rpi

size=16x2

incase its useful to you, heres the lcdproc ls and ls -l

Code: Select all

[email protected]:/home/pi/lcdproc# ls -l
total 924
-rw-r--r-- 1 root root   1103 Nov  6  2010 000_CVS_READ_1ST
-rw-r--r-- 1 root root   1049 Nov 20  2011 BUGS
-rw-r--r-- 1 root root  17976 Dec  9  1999 COPYING
-rw-r--r-- 1 root root   6916 Jan  6  2011 CREDITS
drwxr-xr-x 2 root root   4096 Aug 27 14:50 CVS
-rw-r--r-- 1 root root  25351 Apr 25 06:34 ChangeLog
-rw-r--r-- 1 root root  11139 Nov  6  2010 INSTALL
-rw-r--r-- 1 root root  35872 Aug 27 15:05 LCDd.conf
-rw-r--r-- 1 root root  27679 Aug 27 15:00 Makefile
-rw-r--r-- 1 root root   1096 Oct 30  2010 Makefile.am
-rw-r--r-- 1 root root  27541 Aug 27 14:58 Makefile.in
-rw-r--r-- 1 root root   3638 Jan  5  2011 README
-rwxr-xr-x 1 root root  16199 Aug 27 14:55 RaspberryPiV2.patch
-rw-r--r-- 1 root root   2222 Feb 13  2011 TODO
-rw-r--r-- 1 root root  34870 Aug 27 14:56 acinclude.m4
-rw-r--r-- 1 root root  36218 Aug 27 14:57 aclocal.m4
-rw-r--r-- 1 root root   1385 Oct 16  2005 autogen.sh
drwxr-xr-x 2 root root   4096 Aug 27 14:57 autom4te.cache
drwxr-xr-x 8 root root   4096 Aug 27 15:00 clients
-rwxr-xr-x 1 root root   7274 Aug 27 14:57 compile
-rwxr-xr-x 1 root root  44826 Aug 27 14:57 config.guess
-rw-r--r-- 1 root root  12343 Aug 27 15:00 config.h
-rw-r--r-- 1 root root  11553 Aug 27 14:57 config.h.in
-rw-r--r-- 1 root root 112953 Aug 27 15:00 config.log
-rwxr-xr-x 1 root root  38714 Aug 27 15:00 config.status
-rwxr-xr-x 1 root root  35543 Aug 27 14:57 config.sub
-rwxr-xr-x 1 root root 282239 Aug 27 14:58 configure
-rw-r--r-- 1 root root  15057 Feb 22  2012 configure.in
drwxr-xr-x 5 root root   4096 Aug 27 14:51 contrib
-rwxr-xr-x 1 root root  20899 Aug 27 14:57 depcomp
-rw-r--r-- 1 root root    521 Nov 25  2010 diff_ignore
drwxr-xr-x 6 root root   4096 Aug 27 15:00 docs
-rwxr-xr-x 1 root root  13998 Aug 27 14:57 install-sh
-rwxr-xr-x 1 root root  10346 Aug 27 14:57 missing
drwxr-xr-x 5 root root   4096 Aug 27 15:00 scripts
drwxr-xr-x 6 root root   4096 Aug 27 15:00 server
drwxr-xr-x 4 root root   4096 Aug 27 15:01 shared
-rw-r--r-- 1 root root     23 Aug 27 15:00 stamp-h1

Code: Select all

[email protected]:/home/pi/lcdproc# ls
000_CVS_READ_1ST  Makefile.in          config.guess   diff_ignore
BUGS              README               config.h       docs
COPYING           RaspberryPiV2.patch  config.h.in    install-sh
CREDITS           TODO                 config.log     missing
CVS               acinclude.m4         config.status  scripts
ChangeLog         aclocal.m4           config.sub     server
INSTALL           autogen.sh           configure      shared
LCDd.conf         autom4te.cache       configure.in   stamp-h1
Makefile          clients              contrib
Makefile.am       compile              depcomp
and my /etc directory ls and -l

Code: Select all

[email protected]:/etc# ls
ConsoleKit              group-            manpath.config  rcS.d
NetworkManager          gshadow           mime.types      rc_keymaps
UPower                  gshadow-          mke2fs.conf     rc_maps.cfg
X11                     gssapi_mech.conf  modprobe.d      resolv.conf
adduser.conf            hdparm.conf       modules         resolvconf
alternatives            host.conf         motd            rmt
apm                     hostname          motd.tail       rpc
apt                     hosts             mtab            rsyslog.conf
avahi                   hosts.allow       mysql           rsyslog.d
bash.bashrc             hosts.deny        nanorc          securetty
bash_completion.d       idmapd.conf       netconfig       security
bindresvport.blacklist  ifplugd           network         selinux
ca-certificates         init              networks        services
ca-certificates.conf    init.d            nsswitch.conf   sgml
calendar                inittab           ntp.conf        shadow
chatscripts             inputrc           opt             shadow-
console-setup           insserv           os-release      shells
cron.d                  insserv.conf      pam.conf        skel
cron.daily              insserv.conf.d    pam.d           ssh
cron.hourly             iproute2          passwd          ssl
cron.monthly            issue             passwd-         sudoers
cron.weekly             issue.net         pcmcia          sudoers.d
crontab                 kbd               perl            sysctl.conf
dbus-1                  kernel            pm              sysctl.d
debconf.conf            ld.so.cache       pmount.allow    systemd
debian_version          ld.so.conf        polkit-1        terminfo
default                 ld.so.conf.d      ppp             timezone
deluser.conf            ldap              profile         ts.conf
dhcp                    libnl-3           profile.d       ucf.conf
dpkg                    lirc              protocols       udev
emacs                   locale.alias      pulse           ufw
environment             locale.gen        python          usb_modeswitch.conf
eventlircd.d            localtime         python2.7       usb_modeswitch.d
fonts                   logcheck          rc.local        usbmount
fstab                   login.defs        rc0.d           vim
fstab.d                 logrotate.conf    rc1.d           vsftpd.conf
ftpusers                logrotate.d       rc2.d           wgetrc
fuse.conf               magic             rc3.d           wpa_supplicant
gai.conf                magic.mime        rc4.d           xbmc.xboxdrv
groff                   mailcap           rc5.d           xml
group                   mailcap.order     rc6.d

Code: Select all

[email protected]:/etc# ls -l
total 748
drwxr-xr-x 5 root root    4096 Jan  1  1970 ConsoleKit
drwxr-xr-x 5 root root    4096 Jan  1  1970 NetworkManager
drwxr-xr-x 2 root root    4096 Jan  1  1970 UPower
drwxr-xr-x 6 root root    4096 Jan  1  1970 X11
-rw-r--r-- 1 root root    2981 Aug  7 13:58 adduser.conf
drwxr-xr-x 2 root root    4096 Aug 27 14:43 alternatives
drwxr-xr-x 3 root root    4096 Jan  1  1970 apm
drwxr-xr-x 6 root root    4096 Jan  1  1970 apt
drwxr-xr-x 3 root root    4096 Jan  1  1970 avahi
-rw-r--r-- 1 root root    1895 Jul 24 09:09 bash.bashrc
drwxr-xr-x 2 root root    4096 Jan  1  1970 bash_completion.d
-rw-r--r-- 1 root root     356 Jun 10 00:36 bindresvport.blacklist
drwxr-xr-x 3 root root    4096 Jan  1  1970 ca-certificates
-rw-r--r-- 1 root root    6854 Aug  7 14:02 ca-certificates.conf
drwxr-xr-x 2 root root    4096 Jan  1  1970 calendar
drwxr-s--- 2 root dip     4096 Jan  1  1970 chatscripts
drwxr-xr-x 2 root root    4096 Jan  1  1970 console-setup
drwxr-xr-x 2 root root    4096 Jan  1  1970 cron.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 cron.daily
drwxr-xr-x 2 root root    4096 Jan  1  1970 cron.hourly
drwxr-xr-x 2 root root    4096 Jan  1  1970 cron.monthly
drwxr-xr-x 2 root root    4096 Jan  1  1970 cron.weekly
-rw-r--r-- 1 root root     722 Jul  9 18:46 crontab
drwxr-xr-x 4 root root    4096 Jan  1  1970 dbus-1
-rw-r--r-- 1 root root    2969 Jun 19 23:11 debconf.conf
-rw-r--r-- 1 root root      11 Feb  7  2011 debian_version
drwxr-xr-x 2 root root    4096 Jan  1  1970 default
-rw-r--r-- 1 root root     604 May 15 20:48 deluser.conf
drwxr-xr-x 4 root root    4096 Jan  1  1970 dhcp
drwxr-xr-x 4 root root    4096 Jan  1  1970 dpkg
drwxr-xr-x 3 root root    4096 Aug 27 14:40 emacs
-rw-r--r-- 1 root root       0 Aug  7 13:57 environment
drwxr-xr-x 2 root root    4096 Jan  1  1970 eventlircd.d
drwxr-xr-x 4 root root    4096 Jan  1  1970 fonts
-rw-r--r-- 1 root root     334 Aug  7 14:11 fstab
drwxr-xr-x 2 root root    4096 Jun 25 07:47 fstab.d
-rw-r--r-- 1 root root     132 Jan  8  2012 ftpusers
-rw-r----- 1 root fuse     216 Jun 21 11:53 fuse.conf
-rw-r--r-- 1 root root    2940 Jun 10 00:36 gai.conf
drwxr-xr-x 2 root root    4096 Jan  1  1970 groff
-rw-r--r-- 1 root root     608 Aug 27 14:38 group
-rw------- 1 root root     591 Aug  7 14:10 group-
-rw-r----- 1 root shadow   502 Aug 27 14:38 gshadow
-rw------- 1 root root     488 Aug  7 14:10 gshadow-
-rw-r--r-- 1 root root     834 Jun 18 08:04 gssapi_mech.conf
-rw-r--r-- 1 root root    4781 Apr 26 03:43 hdparm.conf
-rw-r--r-- 1 root root       9 Aug  7  2006 host.conf
-rw-r--r-- 1 root root       8 Aug  7 14:11 hostname
-rw-r--r-- 1 root root     285 Aug  7 14:11 hosts
-rw-r--r-- 1 root root     580 Aug  7 14:00 hosts.allow
-rw-r--r-- 1 root root     880 Aug  7 14:00 hosts.deny
-rw-r--r-- 1 root root     214 Jul 10 17:42 idmapd.conf
drwxr-xr-x 3 root root    4096 Jan  1  1970 ifplugd
drwxr-xr-x 2 root root    4096 Jan  1  1970 init
drwxr-xr-x 2 root root    4096 Jan  1  1970 init.d
-rw-r--r-- 1 root root    2008 Apr 13 22:57 inittab
-rw-r--r-- 1 root root    1721 Mar 30 17:12 inputrc
drwxr-xr-x 3 root root    4096 Jan  1  1970 insserv
-rw-r--r-- 1 root root     839 May  2 11:48 insserv.conf
drwxr-xr-x 2 root root    4096 Jan  1  1970 insserv.conf.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 iproute2
-rw-r--r-- 1 root root      46 Aug  7 14:11 issue
-rw-r--r-- 1 root root      28 Jun  2 09:25 issue.net
drwxr-xr-x 2 root root    4096 Jan  1  1970 kbd
drwxr-xr-x 3 root root    4096 Jan  1  1970 kernel
-rw-r--r-- 1 root root   28393 Aug 27 14:42 ld.so.cache
-rw-r--r-- 1 root root      34 Aug  7 13:56 ld.so.conf
drwxr-xr-x 2 root root    4096 Jan  1  1970 ld.so.conf.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 ldap
drwxr-xr-x 2 root root    4096 Jan  1  1970 libnl-3
drwxr-xr-x 2 root root    4096 Jan  1  1970 lirc
-rw-r--r-- 1 root root    2570 Jun  3 20:37 locale.alias
-rw-r--r-- 1 root root    8570 Aug 27 14:34 locale.gen
-rw-r--r-- 1 root root     118 Aug 27 14:34 localtime
drwxr-xr-x 5 root root    4096 Jan  1  1970 logcheck
-rw-r--r-- 1 root root   10185 Jun  5 19:06 login.defs
-rw-r--r-- 1 root root     599 Feb 19  2009 logrotate.conf
drwxr-xr-x 2 root root    4096 Jan  1  1970 logrotate.d
-rw-r--r-- 1 root root     111 Jul 21 12:47 magic
-rw-r--r-- 1 root root     111 Jul 21 12:47 magic.mime
-rw-r--r-- 1 root root    2016 Aug  7 14:10 mailcap
-rw-r--r-- 1 root root     449 Feb 12  2012 mailcap.order
-rw-r--r-- 1 root root    5173 Jun 29 08:30 manpath.config
-rw-r--r-- 1 root root   24269 Feb 12  2012 mime.types
-rw-r--r-- 1 root root     956 Jun 19 08:07 mke2fs.conf
drwxr-xr-x 2 root root    4096 Jan  1  1970 modprobe.d
-rw-r--r-- 1 root root     248 Aug  7 13:58 modules
lrwxrwxrwx 1 root root      13 Jan  1  1970 motd -> /var/run/motd
-rw-r--r-- 1 root root     286 Aug  7 13:57 motd.tail
-rw-r--r-- 1 root root     154 Aug 27 14:54 mtab
drwxr-xr-x 3 root root    4096 Jan  1  1970 mysql
-rw-r--r-- 1 root root    8453 Mar 30 16:54 nanorc
-rw-r--r-- 1 root root     767 May  2  2011 netconfig
drwxr-xr-x 6 root root    4096 Jan  1  1970 network
-rw-r--r-- 1 root root      60 Aug  7 13:58 networks
-rw-r--r-- 1 root root     513 Aug  7 14:02 nsswitch.conf
-rw-r--r-- 1 root root    1988 May 18 20:32 ntp.conf
drwxr-xr-x 2 root root    4096 Aug  7 13:56 opt
-rw-r--r-- 1 root root      94 Jun  2 09:25 os-release
-rw-r--r-- 1 root root     552 Apr 29 15:36 pam.conf
drwxr-xr-x 2 root root    4096 Jan  1  1970 pam.d
-rw-r--r-- 1 root root    1147 Aug  7 14:07 passwd
-rw------- 1 root root    1131 Aug  7 14:07 passwd-
drwxr-xr-x 2 root root    4096 Jan  1  1970 pcmcia
drwxr-xr-x 4 root root    4096 Jan  1  1970 perl
drwxr-xr-x 5 root root    4096 Jan  1  1970 pm
-rw-r--r-- 1 root root     104 Apr 28 17:00 pmount.allow
drwxr-xr-x 5 root root    4096 Jan  1  1970 polkit-1
drwxr-xr-x 7 root dip     4096 Jan  1  1970 ppp
-rw-r--r-- 1 root root     774 Aug  7 13:59 profile
drwxr-xr-x 2 root root    4096 Jun  2 09:25 profile.d
-rw-r--r-- 1 root root    2933 May 13 23:11 protocols
drwxr-xr-x 2 root root    4096 Jan  1  1970 pulse
drwxr-xr-x 2 root root    4096 Jan  1  1970 python
drwxr-xr-x 2 root root    4096 Jan  1  1970 python2.7
-rwxr-xr-x 1 root root     356 Aug  7 14:03 rc.local
drwxr-xr-x 2 root root    4096 Jan  1  1970 rc0.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 rc1.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 rc2.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 rc3.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 rc4.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 rc5.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 rc6.d
drwxr-xr-x 2 root root    4096 Jan  1  1970 rcS.d
drwxr-xr-x 2 root root    4096 Jul  6 11:04 rc_keymaps
-rw-r--r-- 1 root root    7917 Jul  6 11:10 rc_maps.cfg
-rw-r--r-- 1 root root      77 Aug 27 14:53 resolv.conf
drwxr-xr-x 3 root root    4096 Jan  1  1970 resolvconf
-rwxr-xr-x 1 root root     268 Mar 30 17:37 rmt
-rw-r--r-- 1 root root     887 May 13 23:11 rpc
-rw-r--r-- 1 root root    2632 May  4 20:38 rsyslog.conf
drwxr-xr-x 2 root root    4096 May 16 09:23 rsyslog.d
-rw-r--r-- 1 root root    3964 Jun  5 19:06 securetty
drwxr-xr-x 4 root root    4096 Jan  1  1970 security
drwxr-xr-x 2 root root    4096 Jan  1  1970 selinux
-rw-r--r-- 1 root root   19398 May 13 23:11 services
drwxr-xr-x 2 root root    4096 Jan  1  1970 sgml
-rw-r----- 1 root shadow   731 Aug  7 14:08 shadow
-rw------- 1 root root     730 Aug  7 14:07 shadow-
-rw-r--r-- 1 root root      73 Aug  7 13:57 shells
drwxr-xr-x 2 root root    4096 Jan  1  1970 skel
drwxr-xr-x 2 root root    4096 Aug 27 14:29 ssh
drwxr-xr-x 4 root root    4096 Jan  1  1970 ssl
-r--r----- 1 root root     616 Jun 12 19:21 sudoers
drwxr-xr-x 2 root root    4096 Jan  1  1970 sudoers.d
-rw-r--r-- 1 root root    2127 Aug  7 14:11 sysctl.conf
drwxr-xr-x 2 root root    4096 Jan  1  1970 sysctl.d
drwxr-xr-x 3 root root    4096 Jan  1  1970 systemd
drwxr-xr-x 2 root root    4096 Jan  1  1970 terminfo
-rw-r--r-- 1 root root       8 Aug 27 14:34 timezone
-rw-r--r-- 1 root root     645 Mar 24 12:24 ts.conf
-rw-r--r-- 1 root root    1260 May 30  2008 ucf.conf
drwxr-xr-x 4 root root    4096 Jan  1  1970 udev
drwxr-xr-x 3 root root    4096 Jan  1  1970 ufw
-rw-r--r-- 1 root root     572 Apr 27 14:44 usb_modeswitch.conf
drwxr-xr-x 2 root root    4096 May 31 09:11 usb_modeswitch.d
drwxr-xr-x 4 root root    4096 Jan  1  1970 usbmount
drwxr-xr-x 2 root root    4096 Jan  1  1970 vim
-rw-r--r-- 1 root root     285 Aug  7 14:11 vsftpd.conf
-rw-r--r-- 1 root root    4496 May  2 11:29 wgetrc
drwxr-xr-x 2 root root    4096 Jan  1  1970 wpa_supplicant
-rw-r--r-- 1 root root    1059 Jul 10 09:54 xbmc.xboxdrv
drwxr-xr-x 2 root root    4096 Jan  1  1970 xml
i cant see anything in the /etc about LCDd though.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Mon Aug 27, 2012 8:12 pm

clues anyone? :oops:

Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: looking for volunteer programmer.

Mon Aug 27, 2012 8:48 pm

Code: Select all

apt-get install lcdproc
(Next is hackish and will get overwritten by any future upgrades)

Code: Select all

cp /home/pi/lcdproc/server/drivers/hd44780.so /usr/lib/lcdproc/

Code: Select all

cp <where ever you hid it>/LCDd.conf /etc/
When you have done that, then you can try running the LCDproc server & clients.

You need to take ownership of the code & applications you want to use. This entails looking at any error messages and reading them. For example:

Code: Select all

[email protected]:/home/pi/lcdproc# /etc/init.d/LCDd start
bash: /etc/init.d/LCDd: No such file or directory
[email protected]:/home/pi/lcdproc# LCDd -f -c /etc/LCDc.conf
bash: LCDd: command not found
"bash: /etc/init.d/LCDd: No such file or directory" and "bash: LCDd: command not found" should have told you all you need to know. The question should then have been "Why are these files missing ?" - Because you just blindly followed instructions, failed to read any documentation that came with the sources, and as a result, failed to install correctly.

Suggested reading:
How to use configure & make to install software from source.
How to use apt-get
What a "man page" is, and how to display it.

The rest is up to you.

secretreeve
Posts: 330
Joined: Mon Feb 20, 2012 8:39 am

Re: looking for volunteer programmer.

Mon Aug 27, 2012 8:56 pm

you need to remember not everyone is keyed up on linux letalone programming.

this is all new to me as i've only ever used ubuntu with a gui before. working without that gui is new.

so you have to be a little more patient.

also, dont give half information. "if you have the deb package" erm...what deb package?


oh and YES i did know the files where missing.

the question is:

"why are these files missing when following YOUR instructions?"

if your instructions where correct then surely they wouldnt be missing? im trying to be patient and learn but getting stressy with me isnt going to help. review the information you give and receive and perhaps answer questions when asked? like what deb package was you on about?

and hd44780.so?

Code: Select all

-rw-r--r-- 1 root root   9430 Jan 18  2010 hd44780-4bit.c
-rw-r--r-- 1 root root    164 Apr  4  2007 hd44780-4bit.h
-rw-r--r-- 1 root root   7321 Mar 28  2011 hd44780-bwct-usb.c
-rw-r--r-- 1 root root    398 Mar 28  2011 hd44780-bwct-usb.h
-rw-r--r-- 1 root root  22271 Nov 15  2011 hd44780-charmap.h
-rw-r--r-- 1 root root   3656 Aug 27 14:56 hd44780-drivers.h
-rw-r--r-- 1 root root   6940 Mar 30  2011 hd44780-ethlcd.c
-rw-r--r-- 1 root root    850 Mar 30  2011 hd44780-ethlcd.h
-rw-r--r-- 1 root root   6719 Jan 18  2010 hd44780-ext8bit.c
-rw-r--r-- 1 root root    167 Apr  4  2007 hd44780-ext8bit.h
-rw-r--r-- 1 root root   7811 Jan  2  2012 hd44780-ftdi.c
-rw-r--r-- 1 root root    153 Mar 28  2011 hd44780-ftdi.h
-rw-r--r-- 1 root root   4236 Aug 27 15:02 hd44780-hd44780-4bit.o
-rw-r--r-- 1 root root   3056 Aug 27 15:02 hd44780-hd44780-ext8bit.o
-rw-r--r-- 1 root root   5888 Aug 27 15:02 hd44780-hd44780-lis2.o
-rw-r--r-- 1 root root   5920 Aug 27 15:02 hd44780-hd44780-serial.o
-rw-r--r-- 1 root root   6292 Aug 27 15:03 hd44780-hd44780-serialLpt.o
-rw-r--r-- 1 root root   3860 Aug 27 15:02 hd44780-hd44780-usblcd.o
-rw-r--r-- 1 root root   3236 Aug 27 15:02 hd44780-hd44780-winamp.o
-rw-r--r-- 1 root root  21632 Aug 27 15:02 hd44780-hd44780.o
-rw-r--r-- 1 root root   8188 Oct 30  2010 hd44780-i2c.c
-rw-r--r-- 1 root root    155 Apr  4  2007 hd44780-i2c.h
-rw-r--r-- 1 root root   7359 Mar 28  2011 hd44780-lcd2usb.c
-rw-r--r-- 1 root root   1105 Mar 28  2011 hd44780-lcd2usb.h
-rw-r--r-- 1 root root   2244 Aug 27 15:02 hd44780-lcd_sem.o
-rw-r--r-- 1 root root  10427 Oct 30  2010 hd44780-lis2.c
-rw-r--r-- 1 root root    158 Apr  4  2007 hd44780-lis2.h
-rw-r--r-- 1 root root  11906 Aug 27 14:56 hd44780-low.h
-rw-r--r-- 1 root root   9647 Aug 27 14:56 hd44780-rpi.c
-rw-r--r-- 1 root root    714 Aug 27 14:56 hd44780-rpi.h
-rw-r--r-- 1 root root  11110 Apr 25 06:34 hd44780-serial.c
-rw-r--r-- 1 root root   3773 Apr 25 06:34 hd44780-serial.h
-rw-r--r-- 1 root root   8922 Jan 30  2010 hd44780-serialLpt.c
-rw-r--r-- 1 root root    173 Apr  4  2007 hd44780-serialLpt.h
-rw-r--r-- 1 root root  13553 Feb 22  2012 hd44780-usb4all.c
-rw-r--r-- 1 root root   1361 Feb 18  2012 hd44780-usb4all.h
-rw-r--r-- 1 root root   4773 Mar 28  2011 hd44780-usblcd.c
-rw-r--r-- 1 root root    174 Mar 28  2011 hd44780-usblcd.h
-rw-r--r-- 1 root root   3511 Mar 28  2011 hd44780-usbtiny.c
-rw-r--r-- 1 root root    344 Mar 28  2011 hd44780-usbtiny.h
-rw-r--r-- 1 root root   9176 Mar 28  2011 hd44780-uss720.c
-rw-r--r-- 1 root root    161 Mar 28  2011 hd44780-uss720.h
-rw-r--r-- 1 root root   7797 Jan 18  2010 hd44780-winamp.c
-rw-r--r-- 1 root root    164 Apr  4  2007 hd44780-winamp.h
-rw-r--r-- 1 root root  41372 Dec  3  2011 hd44780.c
-rw-r--r-- 1 root root   2175 Mar 28  2011 hd44780.h
none existant. why isnt there?

Return to “Media centres”