lcd4linux

E

element

Moin erstmal.

Kennt sich jemand von euch mit lcd4linux aus?? hab mir vor kurzem einem lcd-display (16x2) gekauft. Hab alles gut verlötet und wollte ihn nun ans laufen bekommen. das problem ist soald ich ihn anschließe (strom kommt über usb und daten über druckerport) ist die erste reihe schwarz und die zweite weiß.

Meine lcd4linux config:
Code:
Display HD44780-winamp {
    Driver 'HD44780'
    Model 'generic'
    UseBusy 1	
    Port '/dev/parport0'
    Size '16x2'
    Wire {
	RW      'AUTOFD'
	RS      'INIT'
	ENABLE  'STROBE'
	ENABLE2 'GND'
	GPO     'GND'
    }
}

Widget MemFree {
    class  'Text'
    expression meminfo('MemFree')/1024
    postfix ' MB'	
    width  7
    precision 0
    align  'R'
    update tick
}

Widget Busy {
    class 'Text'
    expression proc_stat::cpu('busy', 500)
    prefix 'CPU'	
    postfix '%'	
    width 8	
    precision 0
    align 'R'	
    update tick	
}	

Widget BusyBar {
    class 'Bar'
    expression  proc_stat::cpu('busy',   500)
#    expression2 proc_stat::cpu('system', 500)
    length 8	
    direction 'E'
    update tack
}

Widget Load {
    class 'Text'
    expression loadavg(1)
    prefix 'Load'
    postfix loadavg(1)>1.0?'!':' '
    width 9
    precision 1
    align 'R'
    update tick
}

Layout L16x2 {
    Row1 {
        Col1 'Busy'
	Col9 'BusyBar'
    }
    Row2 {
        Col1 'Load'
	Col10 'MemFree'
    }
}

Display 'HD44780-WinAmp'
Layout 'L16x2'

Variables {
   tick 500
   tack 100
   minute 60000
}
wenn ich nun lcd4linux mit
Code:
sudo lcd4linux -Fvv
starte erhalte ich folgendes:
Code:
Version 0.10.1-RC2-796 starting
plugin_cfg.c: Variable minute = '60000' (60000)
plugin_cfg.c: Variable tack = '100' (100)
plugin_cfg.c: Variable tick = '500' (500)
[KVV] Using station 89
[KVV] Using default port 80
[KVV] Using default refresh interval of 60 seconds
[KVV] Default abbreviation setting: off
lcd4linux.c: initializing driver HD44780
HD44780: $Rev: 773 $
HD44780: using model 'generic'
HD44780: using parallel port
HD44780: using 1 Controller(s)
HD44780: using 8 bit mode
udelay: The file 'include/asm/msr.h' was missing at compile time.
udelay: Even if your CPU supports TSC, it will not be used!
udelay: You *really* should install msr.h and recompile LCD4linux!
udelay: using gettimeofday() delay loop
HD44780: using ppdev /dev/parport0
HD44780: wiring: DISPLAY:RS        - PARPORT:INIT   (Pin 16)
HD44780: wiring: DISPLAY:RW        - PARPORT:AUTOFD (Pin 14)
HD44780: wiring: DISPLAY:ENABLE    - PARPORT:STROBE (Pin  1)
HD44780: wiring: DISPLAY:ENABLE2   - PARPORT:GND
HD44780: wiring: DISPLAY:ENABLE3   - PARPORT:GND
HD44780: wiring: DISPLAY:ENABLE4   - PARPORT:GND
HD44780: wiring: DISPLAY:BACKLIGHT - PARPORT:GND
HD44780: wiring: DISPLAY:GPO       - PARPORT:GND
HD44780: wiring: DISPLAY:POWER     - PARPORT:GND
HD44780: timing:     CY =  1000 ns (default)
HD44780: timing:     PW =   450 ns (default)
HD44780: timing:     AS =   140 ns (default)
HD44780: timing:     AH =    20 ns (default)
HD44780: timing:  INIT1 =  4100 us (default)
HD44780: timing:  INIT2 =   100 us (default)
HD44780: timing:   EXEC =    80 us (default)
HD44780: timing:   WRCG =   120 us (default)
HD44780: timing:  CLEAR =  2250 us (default)
HD44780: timing:   HOME =  2250 us (default)
HD44780: timing:  ONOFF =  2250 us (default)
HD44780: using busy-flag checking
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: timeout waiting for busy flag on controller 1 (0xff)
HD44780: too many busy flag failures, turning off busy flag checking.
HD44780: using 0 GPI's and 0 GPO's
initializing layout 'L16x2'
lcd4linux.c: starting main loop
und es passiert nichts.....
Bitte helft mir!!


mfg element
EDIT:
.
.

Das Hwoto war scheiße geschrieben... klappt nun. war nur flashc verkabelt
 
Zuletzt bearbeitet von einem Moderator:
könntest du mal den link zum howto schicken? ich hab mir das ganze auch schonmal angesehen, habe aber nirgends ne bauanleitung gefunden...

habe nur rausgefunden dass man das display via com-port anschließen, sollte. wie genau aber das gehn soll hatte ich ned gefunden
 
also genauer gesagt stand es in einer linuxuser wo ich zufläälig drauf gestoßen bin...
ich kann dir bei gelegenheit mal den schaltplan abfotografieren...
Der passende Display dazu: hier

pm mit mal deine email dann schick ich dir den

mfg element

achja strom über usb und steuerung über lpt
 

Ähnliche Themen

Displayport + externer Monitor zeigt bei startx nichts erst bei DVI

Rollei Mini Wifi Camcorder

NagiosGrapher 1.7.1 funktioniert nicht

Wo sind die Geräte?

Ubuntu X / dbus problem

Zurück
Oben