Menu

Help with setting up MTB-134/EZIO-100 module in Ubuntu 14.04

Help
Repherb
2015-02-13
2015-02-22
  • Repherb

    Repherb - 2015-02-13

    Hi everyone! I have a EZIO-100/MTB-134 16x2 LCD that uses the mtc_s16209x driver in lcdproc, but some reason I just cannot get it to work. Am I missing something?

    I have no clue where to tell LCDd the ttyS1 (com2 0x02f8) is the port to use, along with setting the ttyS1 to 2400,n,8,1 and how to get lcdproc to connect to the LCDd server. I have changed the Drivers=mtc_s16209x line in the LCDd.conf file then ran ./configure and then ran "make install" but i still can't connect to the LCDd server with lcdproc.

    If someone could help me with a step-by-step walkthrough so I (and others) can learn from this, I would be most appreciative!

    Also, I wonder if this LCD module can have information piped to it as an output device without using LCDd and lcdproc (ie:echo Hello > ttyS1) somehow?? All attempts at this have yielded "Permission denied" from the OS.

    **NOTE: I have added the dialout group to my user so this is essentially fixed, but nothing sent via > is showing up on the screen.

    UPDATE: Okay, so Google is my friend. I found that these displays use 2400,n,8,1 and this can be set by:
    # stty -F /dev/ttyS1 2400 cs8 -parenb -cstopb
    but no progress on getting lcdproc to communicate with it yet.

    Thanks in advance,

     

    Last edit: Markus Dolze 2015-02-22
  • Markus Dolze

    Markus Dolze - 2015-02-22

    Hi,

    first: There is no need to run ./configure or make to change the configuration. Just find the LCDd.conf (/etc/LCDd.conf or /usr/local/etc/LCDd.conf or ./LCDd.conf or ...) your installation is using.

    Within LCDd.conf find and edit the section:

    :::INI
    ## MTC-S16209x driver ##
    [mtc_s16209x]
    
    # Select the output device to use [default: /dev/lcd]
    Device=/dev/lcd
    

    Change the Device to /dev/ttyS1. No other configuration is possible, but should not be necessary.

     

    Last edit: Markus Dolze 2015-02-22

Log in to post a comment.