Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/09/2005, à 16:40

Ratur

Probleme avec LCDproc et LCD alphanumerique 4x20

Salut,

J'essaie d'installer LCDproc sous ubuntu, mais sans succes jusqu'à maintenant. LCDproc sert à controler un petit écran alphanumerique. Je precise que celui ci fonctionne correctement sous windows, il n'est donc pas en cause

Je l'ai installé via apt
Il fichier LCDd.conf est à prioris bien configuré.

Quand le tente de lancer le server LCDd, voici l'erreur que j'obtiens :

16:22 ratur@Ratur-M ~% sudo LCDd
Could not bind to port 13666
sock_create_server: Error creating socket
Error opening socket
Critical error: main.c:239, abort
zsh: exit 255   sudo LCDd

Je ne vois pas d'où peut venir ce probleme de port. Le port 13666 est le port par défaut, en accord avec la documentation ( http://lcdproc.sourceforge.net/docs/stable-0-4-x-user-html/c268.html#AEN292 )
Voici un extrait de mon fichier LCDd.conf :

[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
# 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=ratur
# 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.

[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
# 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

Est-ce que quelqu'un a une idée ? smile

Hors ligne

#2 Le 07/09/2005, à 23:07

marc059

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

Salut Ratur,

Je ne connais pas LCDproc. Sur mon autre ordinateur j'utilise lcdmod

wink

A+


Lire c'est apprendre, faire c'est comprendre.
Un Ch'ti à Paris :-)
Jaunty sur Eeepc 1000H et sur Station.

Hors ligne

#3 Le 12/09/2005, à 17:57

marc059

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

Salut Ratur,

Ratur a écrit :

Je precise que celui ci fonctionne correctement sous windows, il n'est donc pas en cause

Le montage, correspond t-il a celui indiqué : ici

Ratur a écrit :

Quand le tente de lancer le server LCDd, voici l'erreur que j'obtiens :

16:22 ratur@Ratur-M ~% sudo LCDd
Could not bind to port 13666
sock_create_server: Error creating socket
Error opening socket
Critical error: main.c:239, abort
zsh: exit 255   sudo LCDd

As-tu des erreurs dans le fichiers : /var/log/auth.log ?

J'avais une erreur a la ligne 238, car mon montage ne correspond pas a celui indiqué pour Lcdproc (T6963). J'ai modifié ce dernier, et depuis plus de problème.

Par contre je suis sur : Bind=127.0.0.3 et Port=888.

As-tu installé un firewall ?

wink

A+

PS : J'utilise la version LCDproc v0.4.5 (depuis les sources).

Dernière modification par perso (Le 12/09/2005, à 18:00)


Lire c'est apprendre, faire c'est comprendre.
Un Ch'ti à Paris :-)
Jaunty sur Eeepc 1000H et sur Station.

Hors ligne

#4 Le 13/09/2005, à 09:36

marc059

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

Salut,

Tiens, c'est étrange, je viens de lancer LCDd et je n'ai pas d'erreur, alors qu'il n'y a pas de LCD de brancher roll

A+

EDIT : J'abandonne l'utilisation de ce programme pour mon LCD. roll

Dernière modification par perso (Le 13/09/2005, à 23:17)


Lire c'est apprendre, faire c'est comprendre.
Un Ch'ti à Paris :-)
Jaunty sur Eeepc 1000H et sur Station.

Hors ligne

#5 Le 14/09/2005, à 19:55

marc059

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

Salut Ratur,

Je viens d'essayer LCD4linux , ce programme me parrait trés puissant.

Un peut trop, car maintenant je recherche une documentation sur le mode intéractif.

wink

A+

Dernière modification par perso (Le 14/09/2005, à 19:56)


Lire c'est apprendre, faire c'est comprendre.
Un Ch'ti à Paris :-)
Jaunty sur Eeepc 1000H et sur Station.

Hors ligne

#6 Le 16/09/2005, à 14:02

marc059

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

Salut,

Pour info, voici ce que j'obtiens avec LCD4linux et un écran LCD 240x128 :

p10100058fm.th.jpgp10100064kv.th.jpg

wink

A+

Dernière modification par perso (Le 16/09/2005, à 14:33)


Lire c'est apprendre, faire c'est comprendre.
Un Ch'ti à Paris :-)
Jaunty sur Eeepc 1000H et sur Station.

Hors ligne

#7 Le 16/09/2005, à 14:05

Ratur

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

Merci pour tous ces détails wink
Je vais tester LCD4Linux alors, il a l'air fort interessant smile

Hors ligne

#8 Le 16/09/2005, à 23:54

Ratur

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

LCD4Linux fonctionne sans problemes avec mon LCD ! Merci de ton aide smile

Demain, je met les mains dans le camboui et je m'occupe du fichier du configuration ... merci de ton aide smile

Hors ligne

#9 Le 17/09/2005, à 12:52

marc059

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

Salut Ratur,

Ratur a écrit :

LCD4Linux fonctionne sans problemes avec mon LCD ! Merci de ton aide smile

N'oublie pas de modifier le titre du post.

wink

A+


Lire c'est apprendre, faire c'est comprendre.
Un Ch'ti à Paris :-)
Jaunty sur Eeepc 1000H et sur Station.

Hors ligne

#10 Le 11/05/2007, à 13:57

MarcelPentium

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

je remonte ce post, car j'aimerai utiliser des ecrans 4x16 sur deux machines pour me faire un serveur web et un serveur de fichier!


Atari Falcon, Amiga 1200, Athlon 2400XP,  1 Go, Nvidia 5200, ubuntu 9.04, Intel 1200@3ghz, Nvidia 8600 GT 512 Mo 4 Go, 500 Go Ubuntu 9.04 64/XP/OSX 10.5.7, Amd Athlon LE1620, Nvidia 9300GS, 2 GO, 500 Go, Ubuntu 9.04, Intel 5200@3,4ghz, 2 Go, 300 Go, OS X 10.5.5, XP, Zodiac 2

Hors ligne

#11 Le 12/05/2007, à 23:28

MarcelPentium

Re : Probleme avec LCDproc et LCD alphanumerique 4x20

personne n'utilise de LCD?


Atari Falcon, Amiga 1200, Athlon 2400XP,  1 Go, Nvidia 5200, ubuntu 9.04, Intel 1200@3ghz, Nvidia 8600 GT 512 Mo 4 Go, 500 Go Ubuntu 9.04 64/XP/OSX 10.5.7, Amd Athlon LE1620, Nvidia 9300GS, 2 GO, 500 Go, Ubuntu 9.04, Intel 5200@3,4ghz, 2 Go, 300 Go, OS X 10.5.5, XP, Zodiac 2

Hors ligne