18 Comments

  1. Del
    Del August 11, 2009 at 10:17 . Reply

    This is a great idea!!
    Thanks for sharing.

  2. shawn
    shawn September 25, 2009 at 19:25 . Reply

    do you compile lcd4linux or use the ipk? looks r903 doesn’t contain driver, and r1034/1037 gives segfault.

    and, could you tell me what lcd do you use?

  3. michu
    michu October 6, 2009 at 22:52 . Reply

    hey shawn, try to edit the lcd4linux makefile. you can update the lcd4linux version and modfiy the compile options. i did compile lcd4linux myself…

  4. tdouez
    tdouez March 24, 2010 at 12:17 . Reply

    michu, you compiled the lcd4linux yourself; could you share the ipk files ?

  5. michu
    michu March 24, 2010 at 13:00 . Reply

    hey tdouez

    you can download the ipk on the openwrt site or compile it yourself. so the app is always up to date!

  6. Roman
    Roman October 21, 2010 at 02:40 . Reply

    Michu,

    I tried to compile lcd4linux with MPD plugin but I am running in to issues with configure not being able to locate libmpdclient.c and libmpdclient.h files.
    I am compiling it on Seagate Dockstar, running Debian Squeeze, kernel 2.6.32-5-kirkwood.

    Standard lcd4linux installed via apt-get runs fine, just does not have MPD plugin.

    Any suggestions/pointers will be appreciated.

    Thanks
    Roman

  7. Roman
    Roman October 22, 2010 at 00:25 . Reply

    I used latest version installed from SVN, it identifies itself as 0.11.0-SVN

    Thanks
    Roman

  8. Roman
    Roman October 24, 2010 at 19:54 . Reply

    Hi Michu,
    Any idea where the configure script expect the libmpdclient.h to be located?
    I have it in ./lcd4linux directory but scrip can not find it during ./configure process.
    Should it be located somewhere else?

    Thanks for your help.
    Roman

    BTW, the version that I compiled and build from SVN is 0.11.0-SVN-1092

  9. Roman
    Roman October 25, 2010 at 22:45 . Reply

    I would certainly try that if I knew how to remove dependency from autoconf ;-)

    I looked at plugin_mpd.c and noticed two things:
    - since version 0.8 it does not require libmpd
    - it already has #include “libmpd/libmpdclient.h”

    Should I create ./libmpd subfolder in the build directory and copy libmpdclient files there?

    Thanks
    Roman

  10. Roman
    Roman October 26, 2010 at 01:34 . Reply

    OK, I guess I managed to remove dependency and I also used absolute path for libmpdclient in plugin and that did it!

    Thanks for your help.

    Now I need to play with config file a bit, not all widgets from your sample config file are working yet.

    Roman

  11. Roman
    Roman October 27, 2010 at 02:34 . Reply

    OK, I got patch file from the link above, applied it and created both libmpdclient files and recompiled the lcd4linux with mpd plugin.

    I have some widgets working and some not, which is weird.

    here is the summary:
    mpd::artist OK
    mpd::title OK
    mpd::album OK
    mpd::file OK
    mpd::totalTimeSec NFG
    mpd::elapsedTimeSec NFG
    mpd::bitRate current song ID-1
    mpd::getSamplerateHz current song ID-1
    mpd::getAudioChannels current song ID
    mpd::getRepeatInt OK
    mpd::getRandomInt OK
    mpd::getStateInt NFG
    mpd::getVolume OK
    mpd::getSongsInDb OK
    mpd::getMpdUptime OK
    mpd::getMpdPlayTime OK
    mpd::getMpdDbPlayTime OK
    mpd::getMpdPlaylistLength NFG
    mpd::getMpdPlaylistGetCurrentId NFG

    mpd::formatTimeMMSS OK
    pd::formatTimeDDHHMM OK

  12. Roman
    Roman October 28, 2010 at 23:21 . Reply

    The mpd is version 0.15.12
    I will try to update the plugin, but since I never did any programming in C, I hope you would not mind if I ask question here and there.

    Thanks
    Roman

  13. Angelo
    Angelo December 4, 2010 at 22:58 . Reply

    Hi Roman,
    I did using the libmpd 0.17, mpd 0.14, hacking the libmpdclient.h and plugin_mpd.c.. Remember that the struct into the hrader file is not corresponding to the reality :-)

    cheers
    Angelo

  14. liu
    liu April 1, 2011 at 11:53 . Reply

    how to resolve this problem:
    lcd4linux.c: initializing driver LCD2USB
    drv_init(LCD2USB) failed: no such driver

Leave a Reply

Warning: require_once(/home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-content/themes/fanwood/sidebar-after-content.php): failed to open stream: Permission denied in /home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-includes/template.php on line 501 Fatal error: require_once(): Failed opening required '/home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-content/themes/fanwood/sidebar-after-content.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-includes/template.php on line 501