Re: Ultra-minimial module for using LCD proc with custom hardware

Fake Name <[email protected]> Wed, 22 Jan 2014 20:58:09 -0800
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4060197197294437147==
Content-Type: multipart/alternative;
 boundary="------------010409050004040003060803"

This is a multi-part message in MIME format.
--------------010409050004040003060803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 1/22/2014 11:50 AM, Markus Dolze wrote:
> On 20.01.2014 07:38, Fake Name wrote:
>> Hi There~
>>
>> Attached is the patch file for a new LCDproc driver I've been futzing 
>> with for a while. It's a driver that's basically intended for getting 
>> simple status info out of LCDproc into a connected MCU on the serial 
>> interface.
>>
>> Basically, I have a number of linux servers and a PFsense router I 
>> like to monitor, and I have some custom hardware (It's not an arduino 
>> <http://arduino.cc/>, but it's similar 
>> <www.youtube.com/watch?v=RsW7MzdMGhg> (youtube video of the project)) 
>> hooked up to the various boxes.
>> In this case, since I'm not running a actual LCD, having to deal with 
>> all the control-codes LCDproc normally sends is actually a fair bit 
>> of trouble, particularly on a small 8 bit MCU. As such, I've written 
>> a custom driver that simply dumps the entire framebuffer at 1 Hz, 
>> which makes it maximally easy to write machine-readable screen layouts.
>>
>> In this case, this is a fairly generic tool, but it's useful for all 
>> sorts of DIY applications. I can throw together some examples if 
>> you'd like.
>>
>> I'm not sure what LCDproc's standing on this sort of driver is, but I 
>> hope there is interest.
>>
>> The driver is based on the simpleserial driver, that doesn't seem to 
>> be in the distribution any more? Anyways, it's named 
>> reallysimpleserial so as to avoid a namespace collision, but that may 
>> be a moot-point at this point since the simpleserial driver is no 
>> longer present.
>>
>> I've tried to go down the "Add your driver 
>> <http://lcdproc.sourceforge.net/docs/current-dev.html#add-your-driver>" 
>> checklist, and created all the relevant documentation, let me know if 
>> there are things that need clarification, or are missing.
>>
>> Connor
>>
>
> Hello Connor (alias Fake Name),
>
> Yes, your message got through both times. You should have received it, 
> too. If not, you should check your mail client's / server's spam 
> configuration. If in doubt, you may check the LCDproc mailing list 
> archive at: 
> http://lists.omnipotent.net/pipermail/lcdproc/2014-January/thread.html
>
> Your mail seems to miss the like to the youtube video. Can you supply 
> that, too?
>
> As for the driver itself I would like to check a few things first, 
> before reply to it later.
>
> Regards,
> Markus Dolze
>
I apologize for spamming up the list, then.

I tried to be careful and not send duplicates, but something somewhere 
is apparently eating only *some* of the mailing-list messages I get. Go 
figure. It's not my local spam-filter in any event (I checked there even 
before sending the second e-mail).

The youtube video seems to be in the mail, at least when viewed on the 
mailing-list online viewer 
(http://lists.omnipotent.net/pipermail/lcdproc/2014-January/014187.html), but 
here it is as a non-inlined URL anyways: www.youtube.com/watch?v=RsW7MzdMGhg

Basically, it's just analog gauges that show current network traffic in 
realtime via the LCDProc plugin for PFsense, with some non-linear 
scaling (square root scaling). PFSense uses a custom PHP script for the 
LCDProc client, rather then the built-in LCDProc client, so there was 
some hacking there, which I'd be happy to release (though it's not 
germane to the patch). I'd just need to figure out where it went (bsd 
and updates are weird).

Connor



--------------010409050004040003060803
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 1/22/2014 11:50 AM, Markus Dolze
      wrote:<br>
    </div>
    <blockquote cite="mid:[email protected]" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      On 20.01.2014 07:38, Fake Name wrote:<br>
      <blockquote type="cite">
        <div class="moz-text-html" lang="x-western"> Hi There~<br>
          <br>
          Attached is the patch file for a new LCDproc driver I've been
          futzing with for a while. It's a driver that's basically
          intended for getting simple status info out of LCDproc into a
          connected MCU on the serial interface.<br>
          <br>
          Basically, I have a number of linux servers and a PFsense
          router I like to monitor, and I have some custom hardware
          (It's not an <a moz-do-not-send="true"
            href="http://arduino.cc/">arduino</a>, but <a
            moz-do-not-send="true"
            href="www.youtube.com/watch?v=RsW7MzdMGhg">it's similar</a>
          (youtube video of the project)) hooked up to the various
          boxes.<br>
          In this case, since I'm not running a actual LCD, having to
          deal with all the control-codes LCDproc normally sends is
          actually a fair bit of trouble, particularly on a small 8 bit
          MCU. As such, I've written a custom driver that simply dumps
          the entire framebuffer at 1 Hz, which makes it maximally easy
          to write machine-readable screen layouts.<br>
          <br>
          In this case, this is a fairly generic tool, but it's useful
          for all sorts of DIY applications. I can throw together some
          examples if you'd like.<br>
          <br>
          I'm not sure what LCDproc's standing on this sort of driver
          is, but I hope there is interest. <br>
          <br>
          The driver is based on the simpleserial driver, that doesn't
          seem to be in the distribution any more? Anyways, it's named
          reallysimpleserial so as to avoid a namespace collision, but
          that may be a moot-point at this point since the simpleserial
          driver is no longer present.<br>
          <br>
          I've tried to go down the "<a moz-do-not-send="true"
href="http://lcdproc.sourceforge.net/docs/current-dev.html#add-your-driver">Add




            your driver</a>" checklist, and created all the relevant
          documentation, let me know if there are things that need
          clarification, or are missing.<br>
          <br>
          Connor<br>
        </div>
        <br>
      </blockquote>
      <br>
      Hello Connor (alias Fake Name),<br>
      <br>
      Yes, your message got through both times. You should have received
      it, too. If not, you should check your mail client's / server's
      spam configuration. If in doubt, you may check the LCDproc mailing
      list archive at: <a moz-do-not-send="true"
        class="moz-txt-link-freetext"
href="http://lists.omnipotent.net/pipermail/lcdproc/2014-January/thread.html">http://lists.omnipotent.net/pipermail/lcdproc/2014-January/thread.html</a><br>
      <br>
      Your mail seems to miss the like to the youtube video. Can you
      supply that, too?<br>
      <br>
      As for the driver itself I would like to check a few things first,
      before reply to it later.<br>
      <br>
      Regards,<br>
      Markus Dolze<br>
      <br>
    </blockquote>
    I apologize for spamming up the list, then.<br>
    <br>
    I tried to be careful and not send duplicates, but something
    somewhere is apparently eating only *some* of the mailing-list
    messages I get. Go figure. It's not my local spam-filter in any
    event (I checked there even before sending the second e-mail).<br>
    <br>
    The youtube video seems to be in the mail, at least when viewed on
    the mailing-list online viewer
    (<a class="moz-txt-link-freetext" href="http://lists.omnipotent.net/pipermail/lcdproc/2014-January/014187.html">http://lists.omnipotent.net/pipermail/lcdproc/2014-January/014187.html</a>),
    but here it is as a non-inlined URL anyways:
    <a class="moz-txt-link-abbreviated" href="http://www.youtube.com/watch?v=RsW7MzdMGhg">www.youtube.com/watch?v=RsW7MzdMGhg</a><br>
    <br>
    Basically, it's just analog gauges that show current network traffic
    in realtime via the LCDProc plugin for PFsense, with some non-linear
    scaling (square root scaling). PFSense uses a custom PHP script for
    the LCDProc client, rather then the built-in LCDProc client, so
    there was some hacking there, which I'd be happy to release (though
    it's not germane to the patch). I'd just need to figure out where it
    went (bsd and updates are weird).<br>
    <br>
    Connor<br>
    <br>
    <br>
  </body>
</html>

--------------010409050004040003060803--

--===============4060197197294437147==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
LCDproc mailing list
[email protected]
http://lists.omnipotent.net/mailman/listinfo/lcdproc

--===============4060197197294437147==--