Menu

unknown ConnectionType: glcd2usb

Help
diyhouse
2014-05-21
2014-09-21
  • diyhouse

    diyhouse - 2014-05-21

    I am running out of things to try,... and I can find nothing specifically on the web,.. output from LCDd start up ( logging set to 5 )
    I just cannot understand why glcd2usb is not considered a valid connectioType
    Tx for any help offered,.. getting desperate :-)


    mark@mhtpc:/usr/local$ sudo sbin/LCDd -c etc/LCDd.conf
    LCDd version CVS-current-20130410 starting
    Built on May 15 2014, protocol version 0.3, API version 0.5
    Using Configuration File: etc/LCDd.conf
    Set report level to 5, output to stderr
    Server forking to background
    Listening for queries on 127.0.0.1:13666
    screenlist_init()
    driver_load(name="glcd", filename="/usr/local/lib/lcdproc/glcd.so")
    glcd_init()
    glcd: unknown ConnectionType: glcd2usb
    Driver [glcd] init failed, return code -1
    Module /usr/local/lib/lcdproc/glcd.so could not be loaded
    Could not load driver glcd
    There is no output driver
    Critical error while initializing, abort.
    mark@mhtpc:/usr/local$ ll /usr/local/lib/lcdproc/glcd.so
    -rwxr-xr-x 1 root root 34K May 20 09:54 /usr/local/lib/lcdproc/glcd.so*

     
  • Markus Dolze

    Markus Dolze - 2014-05-23

    Please check that LCDproc has been compiled with libusb support: look at the output of configure or in config.log and verify HAVE_LIBUSB is set in config.h.

     
  • diyhouse

    diyhouse - 2014-05-23

    Tx for the response, Got to thinking I was not pulling in all the dependencies so installed LCDproc from ubuntu 12.04 s/w Centre,... and this did flag I needed to install the Extra drivers package..
    However I then got the following errors:-
    Package dependencies cannot be resolved

    This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

    lcdproc-extra-drivers:i386: Depends: lcdproc (= 0.5.5-2) but 0.5.5-2 is to be installed
    Depends: libc6 (>= 2.15) but 2.15-0ubuntu10.5 is to be installed
    Depends: libftdi1 (>= 0.19) but 0.19-4 is to be installed
    Depends: libusb-0.1-4 (>= 2:0.1.12) but 2:0.1.12-20 is to be installed
    Depends: libxosd2 (>= 2.2.14) but 2.2.14-2 is to be installed

    don't understand why it wants to install lcdproc,.. again it is already installed as far as I know...

    have had LCDd running albeit to a terminal window... but still having the ConnectionType problem,.. and as you say probably sure to no USB driver. But not sure where to find config.log as installed s/w via s/w centre.

    Have tried removing both and reinstalling lcdproc-extra-drivers:i386 ( there is another package without the i386,.. what's the difference?)

    When I then install lcdproc,. it complains need to remove extras package,,.. but installed anyway....

    Will try reboot but that where I am for now...

     
  • diyhouse

    diyhouse - 2014-05-23

    Rebooting made no difference, however forgot to mention,.. libraries all installed to /usr/lib/lcdproc,.. but pls not glcd.so library is NOT installed,.. although I did copy this from my previous install ( albeit 5.7 ), but not happy with this as different version,.. so iffy.
    Tx for your help
    Regards

     
  • diyhouse

    diyhouse - 2014-05-24

    Playing on a Virtual Mint system and both packages install without error,.... as you suspect,.. I think it does not include the lgcd.so library, and not sure what it is doing with the USB driver,.. but I cannot find the install/compiling structure once a package is installed. Or does it get deleted once the "make install" is done?
    Do I have to download the raw packages and build from there?

     

    Last edit: diyhouse 2014-05-25
  • diyhouse

    diyhouse - 2014-09-21

    OK so I had a break and used lcd4linux,... but now I am back trying to compile lcdproc on my virtual MINT17 system,.. (clean install,.. and all updates applied).
    have downloaded 0.5.6 and tried to run configure with the following command line;

    ./configure --prefix=/usr/local --enable-drivers=glcd,glcdlib,text,curses
    but this returns the following error,.. "configure: error: C compiler cannot create executables".
    ( I have tried with and without the prefix option,.. both fail )

    The config.log is in the attached

    I have tried some different things suggested from other forums with similar errors such as changing the PATH and LIBRARY_PATH,.. but neither of these helped.

    is anyone else able to offer some suggestions as my experience with building packages is limited,..

    many thanks

     
  • diyhouse

    diyhouse - 2014-09-21

    Took a flier from some info from other forums and installed build essentials,..

    sudo apt-get install --no-install-recommends build-essential

    and touch wood,.. as we say that seems to get me through the configure stage.... now on to "make",.. could be working,.. make install looks good,...

    now to see if we can actually run the exe's....

     

Log in to post a comment.