Entra

View Full Version : lcdproc


DaRkBoDoM
15-05-2003, 13:05
Hola.
Ho finalmente collegato l'LCD, usando questo schema:
http://www.myrolypoly.com/lcd_project/lcd_project_pics/lcd-db25.gif

sotto windows tutto funziona egregiamente usando CrystalControl, sotto linux, usando lcdproc, lo schermo viene "ripulito" quando avvio il demone ma poi non succede niente... qualcun altro ha avuto modo di provare questo programma? HElp!

P.s. L'LCD è Hitachi-compatible.

DaRkBoDoM
15-05-2003, 13:07
Dimenticavo.... eccole le parti interessate del mio LCDd.conf


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

#Driver=none
#Driver=curses
Driver=HD44780
#Driver=lcdm001
#Driver=MtxOrb
#
# 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=yes
# Should we report to syslog instead of stderr ? Default: no

WaitTime=3
# 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=no
# 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.

[HD44780]
# Hitachi HD44780 driver
# See docs/hd44780_howto.txt

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

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=no
# If you have a switchable backlight.

Size=20x4
# 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=2
# 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
# 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

Icedguardian
16-05-2003, 08:54
Perdona la mia ignoranza, usi la porta parallela per pilotare un monitor :confused:
Perchè, ma soprattutto perchè dovrebbe funzionare? :D

Ciao

lovaz
16-05-2003, 09:05
Originally posted by "Icedguardian"

Perdona la mia ignoranza, usi la porta parallela per pilotare un monitor :confused:
Perchè, ma soprattutto perchè dovrebbe funzionare? :D

Ciao

Credo non sia un monitor come intendi tu, ma uno di quei piccoli pannelli lcd per controllare vari parametri del pc.

Comunque e' una domanda abb. tecnica, non so quanti qui abbiano un dispositivo simile.

Jøhñ Ðøë
16-05-2003, 10:36
io ce l'ho...
da montare :D

Ho un circuito che una volta funzionava, poi la gravità a riportato circuito + display verso terra e... vabbeh... :D

Ho ricomprato il display alla fiera dell'eletrronica ma ora mi manca il tempo

John

Lukather
16-05-2003, 10:43
Non so se hai già chiesto nella sezione modding,cmq ho un LCD della crystalfontz anche io 20*4, appena ho installato linux provo a farlo funzionare e ti facico sapere.