<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lcd4linux.git, branch trunk</title>
<subtitle>lcd4linux</subtitle>
<id>https://git.dereenigne.org/lcd4linux.git/atom?h=trunk</id>
<link rel='self' href='https://git.dereenigne.org/lcd4linux.git/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/'/>
<updated>2017-05-27T17:37:05+00:00</updated>
<entry>
<title>picoLCDGraphic: change backlight from bool to byte</title>
<updated>2017-05-27T17:37:05+00:00</updated>
<author>
<name>jmccrohan</name>
<email>jmccrohan@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2017-05-27T17:37:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=cb69a93a4501b2a58e1f991c953b3c58d6ceeb67'/>
<id>urn:sha1:cb69a93a4501b2a58e1f991c953b3c58d6ceeb67</id>
<content type='text'>
Based on patch submitted by Mike Edwards &lt;pf-debian-bugs@mirkwood.net&gt;
to Debian Bug #861993 (https://bugs.debian.org/861993). See excerpt from bug
report below.

-----------------------------------------
Dear Maintainer,

Using driver 'picoLCDGraphic' in lcd4linux.conf, backlight can only be set to 0 or 1 (off/on).
While the backlight of the picolcd is on at boot, the moment lcd4linux starts, the backlight turns
off with either setting.

Looking at the source for the driver, I found that somewhere along the line, the function to
set the backlight had been changed to use an 8 bit value from 0 - 255, effectively making this
a brightness setting:

static int drv_pLG_backlight(int backlight)
{
    unsigned char cmd[2] = { 0x91 };    /* set backlight */

    if (backlight &lt; 0)
        backlight = 0;
    if (backlight &gt; 255)
        backlight = 255;

    cmd[1] = backlight;
    drv_pLG_send(cmd, 2);

    return backlight;
}

... but the config option for backlight was still limited to only accepting a 0 or 1:
    if (cfg_number(section, "Backlight", 0, 0, 1, &amp;value) &gt; 0) {
        info("Setting backlight to %d", value);
        drv_pLG_backlight(value);
    }

I've patched that if statement above to accept values between 0 and 255.  Now, setting the config
option for backlight to 255 in lcd4linux.conf does result in the backlight being turned on at
full brightness.
-----------------------------------------

Signed-off-by: Jonathan McCrohan &lt;jmccrohan@gmail.com&gt;

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1204 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>Replace non-portable datatypes with C99 versions</title>
<updated>2015-07-12T21:26:15+00:00</updated>
<author>
<name>jmccrohan</name>
<email>jmccrohan@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2015-07-12T21:26:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=4e055ed9cbda058f02f81571cc31e4cd6ef9afc2'/>
<id>urn:sha1:4e055ed9cbda058f02f81571cc31e4cd6ef9afc2</id>
<content type='text'>
Found during OpenWrt's migration from uClibc to musl.

Signed-off-by: Jonathan McCrohan &lt;jmccrohan@gmail.com&gt;

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1203 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>drv_HD44780: add 8bit i2c mode for HD44780 by Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;</title>
<updated>2015-06-18T16:44:09+00:00</updated>
<author>
<name>michael</name>
<email>michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2015-06-18T16:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=d38b3dc0f50ff5049f07fbeac284fcd17f3cae30'/>
<id>urn:sha1:d38b3dc0f50ff5049f07fbeac284fcd17f3cae30</id>
<content type='text'>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1202 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>updated to automake 1.14.1</title>
<updated>2014-09-06T02:44:21+00:00</updated>
<author>
<name>michael</name>
<email>michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2014-09-06T02:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=00c0fae78c45e2a5044243c9da7152426fb5a1e4'/>
<id>urn:sha1:00c0fae78c45e2a5044243c9da7152426fb5a1e4</id>
<content type='text'>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1201 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>autotools update (iconv?)</title>
<updated>2013-05-23T03:10:35+00:00</updated>
<author>
<name>michael</name>
<email>michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2013-05-23T03:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=2b70773fe8fe300621863f9f89546b738e6b5906'/>
<id>urn:sha1:2b70773fe8fe300621863f9f89546b738e6b5906</id>
<content type='text'>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1200 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>indentation</title>
<updated>2013-05-23T03:07:28+00:00</updated>
<author>
<name>michael</name>
<email>michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2013-05-23T03:07:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=745168103cf981345f3ab62d884d70de14524eb4'/>
<id>urn:sha1:745168103cf981345f3ab62d884d70de14524eb4</id>
<content type='text'>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1199 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>DPF patch by superelchi</title>
<updated>2013-05-23T03:05:50+00:00</updated>
<author>
<name>michael</name>
<email>michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2013-05-23T03:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=ab5d1fd17f1892b25299b5dd7ae7de0c5121613e'/>
<id>urn:sha1:ab5d1fd17f1892b25299b5dd7ae7de0c5121613e</id>
<content type='text'>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1198 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>raspi: Disabled unless explicitly enabled by user</title>
<updated>2013-05-15T22:58:56+00:00</updated>
<author>
<name>jmccrohan</name>
<email>jmccrohan@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2013-05-15T22:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=151f501456f36ffb32e02a4d9b8d232746a40eb3'/>
<id>urn:sha1:151f501456f36ffb32e02a4d9b8d232746a40eb3</id>
<content type='text'>
Add a raspi enabled stanza to lcd4linux.conf file to enable:

Plugin raspi {
    enabled 1
}

Signed-off-by: Jonathan McCrohan &lt;jmccrohan@gmail.com&gt;

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1197 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>disable plugin sensors if not found</title>
<updated>2013-03-10T19:43:13+00:00</updated>
<author>
<name>volker</name>
<email>volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2013-03-10T19:43:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=09d2a732eaca1b3ce300887d11818685e8aa42d3'/>
<id>urn:sha1:09d2a732eaca1b3ce300887d11818685e8aa42d3</id>
<content type='text'>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1196 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
<entry>
<title>new plugin raspi</title>
<updated>2013-02-19T23:17:43+00:00</updated>
<author>
<name>volker</name>
<email>volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f</email>
</author>
<published>2013-02-19T23:17:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dereenigne.org/lcd4linux.git/commit/?id=4dc83784b22be02632cd5785a6ec34a6b7532e0e'/>
<id>urn:sha1:4dc83784b22be02632cd5785a6ec34a6b7532e0e</id>
<content type='text'>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1195 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
</content>
</entry>
</feed>
