Re: picolcdgfx driver

Scott Meharg <[email protected]> Tue, 7 May 2013 20:17:12 -0500
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <CAOgbcjRzLSmhis2sjyYgzw2ajn9fiUx0bDapOMY4BkLBvzR=MA@mail.gmail.com>
--20cf3071c972953fa704dc2ab108
Content-Type: multipart/alternative; boundary=20cf3071c972953fa304dc2ab106

--20cf3071c972953fa304dc2ab106
Content-Type: text/plain; charset=ISO-8859-1

See replies below.

Attached is the updated driver.

Thanks,
Scott


On Sun, May 5, 2013 at 3:07 PM, Markus Dolze <[email protected]> wrote:

>  On 30.01.2013 01:59, Scott Meharg wrote:
>
> Attached is the patch and file for Mini-box.com's PicoLCDGraphics LCD.
>
> It uses glcd driver with connect type picolcdgfx.
>
>
>
> Hi,
>
> I had a look at this patch this weekend. There are a few things I ask you
> to test:
>
>    1. With recent LCDproc CVS version 'paged' memory layouts are directly
>    supported. This means there is no conversion necessary from 'linear' to
>    'paged' memory layout. I had to initialize the backingstore with 0xFF
>    so the first call of _blit would clear the ROM graphic from the screen.
>    2. If the backlight is just switchable (on/off) or if it is adjustable
>    (from 0 to max). From reading the lcd4linux I believe the latter being
>    true. In this case the driver should be updated to make use of
>    (on_brightness / off_brightness).  The lcd4linux driver did not show a
>    an adjustable backlight.  But I tested and it does support.  Driver has
>    been update to make use of (on_brightness / off_brightness).
>    3. The way to calculate the contrast setting looks a little weird. See
>    my comment in the updated driver.  Weird indeed.  What was I thinking.
>
> Attached you find an updated version of the driver. You will need LCDproc
> sources as of today for the patch to apply cleanly.
>
> Regards,
> Markus
>
>

--20cf3071c972953fa304dc2ab106
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">See replies below.<div><br></div><div>Attached is the upda=
ted driver.</div><div><br></div><div>Thanks,</div><div>Scott<br><div class=
=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Sun, May 5, 2013 at =
3:07 PM, Markus Dolze <span dir=3D"ltr">&lt;<a href=3D"mailto:bsdfan@nurfue=
rspam.de" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF"><div class=3D"im">
    <div>On 30.01.2013 01:59, Scott Meharg
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <pre>Attached is the patch and file for Mini-box.com&#39;s PicoLCDGra=
phics LCD.

It uses glcd driver with connect type picolcdgfx.
</pre>
      <br>
    </blockquote>
    <br></div>
    Hi,<br>
    <br>
    I had a look at this patch this weekend. There are a few things I
    ask you to test:<br>
    <ol>
      <li>With recent LCDproc CVS version &#39;paged&#39; memory layouts ar=
e
        directly supported. This means there is no conversion necessary
        from &#39;linear&#39; to &#39;paged&#39; memory layout.<font color=
=3D"#0000ff">=A0</font><font color=3D"#9900ff">I had to initialize the back=
ingstore with 0xFF so the first call of _blit would clear the ROM graphic f=
rom the screen.</font></li>

      <li>If the backlight is just switchable (on/off) or if it is
        adjustable (from 0 to max). From reading the lcd4linux I believe
        the latter being true. In this case the driver should be updated
        to make use of (on_brightness / off_brightness). =A0<font color=3D"=
#9900ff">The lcd4linux driver did not show a an adjustable backlight. =A0Bu=
t I tested and it does support. =A0Driver has been update to make use of (o=
n_brightness / off_brightness).</font></li>

      <li>The way to calculate the contrast setting looks a little
        weird. See my comment in the updated driver. =A0<font color=3D"#990=
0ff">Weird indeed. =A0What was I thinking.</font></li>
    </ol>
    <p>Attached you find an updated version of the driver. You will need
      LCDproc sources as of today for the patch to apply cleanly.<br>
    </p>
    <p>Regards,<br>
      Markus<br>
      <br>
    </p>
  </div>

</blockquote></div><br></div></div></div>

--20cf3071c972953fa304dc2ab106--
--20cf3071c972953fa704dc2ab108
Content-Type: application/x-gzip; name="glcd-picolcdgfx.tar.gz"
Content-Disposition: attachment; filename="glcd-picolcdgfx.tar.gz"
Content-Transfer-Enco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Ha3BM/PNDrUJuJSSK3oIU4raKaHfqqID
jZsOXPA/mZqyjt+hfzBl96fLd+8BT68Y2G6g5xvytQVRclgbrm9Td8i3VcwMTYWn6TDJ5wvhes8T
BC08NvJoCFWui/imfz+lDhSsMUnpWofudDpw7Lr+JsAmBF0LWEHSKKk2iomJKK70MexHFxaKmNoW
b614geRCATvin77OEk1KCyXoyeNYqRO1ZJuKOcm6C+6ON76h0N4+JbXGRQcDjYEVz5uC7ozeMqNB
0Y1TFytAaYG4SYNcpE3cY2CWroKVX78rr7hDn0L04e/xnv/2fwQrqKCCCiqooIIKKqigggoqqKCC
CiqooIIKKqigggoqqKCCCiqooIIKKqigggoq+N+D/wDwixjmAFAAAA==
--20cf3071c972953fa704dc2ab108
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

--20cf3071c972953fa704dc2ab108--