Age | Commit message (Collapse) | Author | Files | Lines |
|
Based on patch submitted by Mike Edwards <pf-debian-bugs@mirkwood.net>
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 < 0)
backlight = 0;
if (backlight > 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, &value) > 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 <jmccrohan@gmail.com>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1204 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
Found during OpenWrt's migration from uClibc to musl.
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1203 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
<m.grzeschik@pengutronix.de>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1202 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1201 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1200 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1199 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1198 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
Add a raspi enabled stanza to lcd4linux.conf file to enable:
Plugin raspi {
enabled 1
}
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1197 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1196 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1195 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1194 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1193 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
serdisplib cannot open port
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1192 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1191 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1190 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
error: format not a string literal and no format arguments
[-Werror=format-security]
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1189 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
New functions were added in rev1171, but were not added to
drv_generic_serial.h
Fixes Debian buildd [-Wimplicit-function-declaration] warnings.
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1188 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1187 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1186 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
in the TIMER_GROUP structure from int* to int.
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1185 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1184 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1183 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1182 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1181 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1180 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1179 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1178 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1177 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1176 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
for reporting)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1175 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1174 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1173 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
use Scalefont
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1172 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1171 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1170 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1169 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1168 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1167 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1166 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1165 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
header compiles with no warnings as a standalone file.
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1164 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1163 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1162 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1161 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1160 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1159 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1158 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1157 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1156 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1155 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|