Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Could not load driver HD44780

Help
address
2012-02-12
2013-03-31
  • address
    address
    2012-02-12

    Hello forum!

    I have a problem with LCDPROC 0.5.5-1.

    I start the daemon with:

    # LCDd -f -r 4
    LCDd version 0.5.5 starting
    Built on Nov 12 2011, protocol version 0.3, API version 0.5
    Using Configuration File: /etc/LCDd.conf
    Set report level to 4, output to stderr
    LCDd 0.5.5, LCDproc Protocol 0.3
    Part of the LCDproc suite
    Copyright (C) 1998-2010 William Ferrell, Selene Scriven
                            and many other contributors
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    Server running in foreground
    Listening for queries on 127.0.0.1:13666
    Could not open driver module HD44780.so: HD44780.so: cannot open shared object file: No such file or directory
    Driver [HD44780] binding failed
    Module HD44780.so could not be loaded
    Could not load driver HD44780
    There is no output driver
    Critical error while initializing, abort.
    

    and this output is interesting too:

    # ls /dev/l*
    /dev/log    /dev/loop1   /dev/loop3  /dev/loop5   /dev/loop7      /dev/lp0
    /dev/loop0  /dev/loop2   /dev/loop4  /dev/loop6   /dev/loop-control
    

    ..it seems I haven't any  /dev/lcd0 device

    The display is an hd44780 compatible, it's wired as winamp scheme and it works on the same pc on winxp and on linux by lcd4linux, but I need lcdproc because it has to work on a home server…

    ..little help?

    Thankyou!

     
  • Markus Dolze
    Markus Dolze
    2012-02-13

    The important line is

    Could not open driver module HD44780.so: HD44780.so: cannot open shared object file: No such file or directory

    Did you configure the path to the driver libraries correctly in LCDd.conf? If yes, is the hd44780.so file available at that path?

     
  • address
    address
    2012-02-13

    https://sourceforge.net/projects/lcdproc/forums/forum/312/topic/5014389

    Thankyou mmdolze,
    no, I just installed lcdproc in synaptic and I copy and paste an LCDd.confsuitable for hd44780 from internet.

    now I check:

    # locate hd44780.so
    /usr/lib/lcdproc/hd44780.so

    ..the path seems to be ok, look below

    $ ls -la /usr/lib/lcdproc/ | grep 44780
    -rw-r-r-   1 root root 74752 nov 12 10:17 hd44780.so

    the path seems to be right, why doesn't it find hd44780.so?

    This is my /etc/LCDd.conf

    DriverPath=/usr/lib/lcdproc/
    Driver=curses
    Bind=127.0.0.1
    Port=13666
    User=nobody
    WaitTime=5
    ToggleRotateKey=Enter
    PrevScreenKey=Left
    NextScreenKey=Right

    MenuKey=Escape
    EnterKey=Enter
    UpKey=Up
    DownKey=Down

    Device=/dev/lcd
    Speed=9600

    Device=/dev/ttyS0
    Size=20x4
    Contrast=350
    Brightness=1000
    OffBrightness=0
    Speed=9600
    NewFirmware=no
    Reboot=no

    Device=/dev/ttyS0
    Size=16x2
    Contrast=350
    Brightness=1000
    OffBrightness=50
    Speed=19200
    Reboot=yes

    Model=633
    Device=/dev/ttyUSB0
    Contrast=350
    Brightness=1000
    OffBrightness=50
    Reboot=yes

    Foreground=blue
    Background=cyan
    Backlight=red
    Size=20x4
    TopLeftX=7
    TopLeftY=7
    UseACS=no
    DrawBorder=yes

    Model=12232
    Device=/dev/ttyUSB0
    Size=20x4
    Speed=19200
    Reboot=no
    Keypad=yes

    Brightness=500
    OffBrightness=0

    Device=/dev/ttyS1
    Size=20x4
    Backlight=yes
    Cursor=no
    Speed=19200
    LeftKey=D
    RightKey=C
    UpKey=A
    DownKey=B
    EscapeKey=P
    keypad_test_mode=no

    size=20x5

    Driver=noritake800
    UseFT2=yes
    TextResolution=20x4
    FontFile=/usr/share/fonts/corefonts/courbd.ttf
    CharEncoding=iso8859-2
    MinFontFaceSize=7x12
    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

    Device=/dev/lcd
    Contrast=560
    Speed=19200

    ConnectionType=4bit
    Port=0x378
    Device=/dev/ttyS0
    Speed=0
    Keypad=no
    Contrast=0
    Backlight=no
    OutputPort=no
    Size=20x4
    CharMap=hd44780_default
    DelayBus=true
    KeyMatrix_4_1=Enter
    KeyMatrix_4_2=Up
    KeyMatrix_4_3=Down
    KeyMatrix_4_4=Escape

    Device=/dev/ttyS1

    Size=20x4

    Device=/dev/lcd0
    Size=16x2
    CharMap=hd44780_euro

    Protocol=0
    Device=/dev/lcd0
    Contrast=200

    Size=16x2

    Device=/dev/js0
    Map_Axis1neg=Left
    Map_Axis1pos=Right
    Map_Axis2neg=Up
    Map_Axis2pos=Down
    Map_Button1=Enter
    Map_Button2=Escape

    Device=/dev/lcd
    Brightness=255
    Speed=9600
    Reboot=no

    Device=/dev/ttyS1
    PauseKey=LeftKey
    BackKey=UpKey
    ForwardKey=DownKey
    MainMenuKey=RightKey

    Device=/dev/ttyS1
    Size=16x2

    Brightness=1000
    OffBrightness=50

    Clock=big
    Dimming=no
    OffDimming=yes

    Device=/dev/ttyS1

    Device=/dev/lcd
    Brightness=255
    Reboot=no

    Device=/dev/ttyS0
    Size=20x4
    Type=lkd
    Contrast=480
    hasAdjustableBacklight=no
    Brightness=1000
    OffBrightness=0
    Speed=19200
    keypad_test_mode=no

    Device = /dev/hiddev0
    WaitAfterRefresh = 1000

    Device=/dev/ttyS0
    Size=20x4
    Brightness=1000
    OffBrightness=50
    Speed=9600
    Parity=0
    Reboot=no

    KeyTimeout=500
    Brightness=1000
    Contrast=1000
    Keylights=on
    Key0Light=on
    Key1Light=on
    Key2Light=on
    Key3Light=on
    Key4Light=on
    Key5Light=on
    LircPort=8765
    LircFlushThreshold=100

    Device=/dev/ttyUSB0

    Port=0x378
    Type=G321D
    CellSize=6x10
    ConnectionType=classic

    Port=0x378
    InterfaceType=68
    DelayMult=0

    Device=/dev/lcd
    Size=16x2
    Type=AEDEX
    Speed=9600

    Type=0
    use_parallel=no
    Port=0x378
    Device=/dev/ttyS1
    Size=20x2
    Brightness=1000
    OffBrightness=0
    Speed=9600

    Port=0x378

    Device=/dev/ttyUSB0

    Size=20x4
    Contrast=500
    Brightness=1000
    OffBrightness=500

    Size=20x4

    Size=128x64
    Port=0x378

    Device=/dev/lcd
    Speed=9600
    Size=16x2

    Size=20x4

    Device=/dev/lcd
    Speed=19200

    Size=20x4
    Offset=200x200
    Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-*

     
  • address
    address
    2012-02-14

    I want to say                     

    and                                      thankyou

    The problem was only the

    ConnectionType=4bit

    I replaced with

    ConnectionType=winamp

    LCDPROC is great. Thankyou for this piece of software.