wiki:SvnPatchesGraphlcd
Last modified 7 years ago Last modified on 02/22/10 17:18:21

Patches for graphlcd

disclaimer / info

THIS IS EXPERIMENTAL SOFTWARE AND HARDWARE. USE AT YOUR OWN RISK. THE MAINTAINER(S) OF THESE PAGES AND THE DEVELOPER(S) OF SOFTWARE AND HARDWARE PRESENTED ON THESE PAGES CAN NOT BE HELD LIABLE UNDER ANY CIRCUMSTANCES FOR DAMAGE TO HARDWARE OR SOFTWARE, LOST DATA, OR OTHER DIRECT OR INDIRECT DAMAGE RESULTING FROM THE USE OF THIS SOFTWARE OR HARDWARE. IF YOU DO NOT AGREE TO THESE CONDITIONS, YOU ARE NOT PERMITTED TO USE OR FURTHER DISTRIBUTE THIS SOFTWARE OR TO USE ANY TEMPLATES FOR BUILDING HARDWARE PRESENTED HERE.

  • i'm not responsible for the content of external web pages
  • english is not my native language. please keep that in mind (corrections of english grammar and formulations are very welcome!)
  • use the most recent SVN versions to test these patches

patches for graphlcd-base

graphlcd-base has built-in support for dimming a display after a configurable time of user inactivity but the serdisplib-driver included in graphlcd-base does not yet provide support for this functionality.

i've made patches to glcddrivers/serdisp.c and glcddrivers/serdisp.h so that this functionality will be supported for serdisplib, too (provided that the driver used in serdisplib offers support for option BRIGHTNESS).

for those who do not like patching source files i've also provided the entire files attached to this page. simply overwrite glcddrivers/serdisp.c and glcddrivers/serdisp.h with these files.

these patches and source files respectively are only valid for the following versions of graphlcd-base:

  • graphlcd-base-0.1.5
  • graphlcd-base-0.2.0-pre1
  • current SVN tree (rev. 285 at the time of writing this how to): trunk/graphlcd-base

files

patches for vdr-graphlcd

vdr-graphlcd <= 0.1.5

no patches are required, dimming is already supported.

vdr-graphlcd 0.2.0-pre1 SVN

vdr-graphlcd 0.2.x does not yet provide support for dimming a display (the settings in the menu are dummy settings) but i've made some patches to the current SVN version (rev 278) to add support for dimming:

  • PATH_TO_VDR needs to be replaced through the real location of your VDR installation directory!
  • you need to fetch the current SVN branch of vdr-graphlcd 0.2.0-pre using the following commands:
    cd PATH_TO_VDR/PLUGINS/src
    svn co http://svn.berlios.de/svnroot/repos/graphlcd/branches/vdr-graphlcd-pre-0.2.0-skinning-branch \
           vdr-graphlcd-pre-0.2.0-skinning-branch_dimming
    
  • change into the newly created directory and apply the dimming patch (browse online: dimming patch):
    cd vdr-graphlcd-pre-0.2.0-skinning-branch_dimming/
    patch -p1 < vdr_graphlcd_rev278_dimming_support.patch
    
  • in directory PLUGINS/src/, link graphlcd to the patched version of graphlcd (delete old link if one exists):
    cd PATH_TO_VDR/PLUGINS/src/
    ln -s  vdr-graphlcd-pre-0.2.0-skinning-branch_dimming graphlcd
    
  • change into the root directory of vdr and build the plugin using
    cd PATH_TO_VDR/
    make plugins
    

if everything went well you should now be able to use graphlcd 0.2.0pre1 with all patches provided by fen (included in the SVN branch tree) and dimming support provided by my patch.

Attachments