aboutsummaryrefslogtreecommitdiffstats
path: root/dr</code></pre></td><
diff options
context:
space:
mode:
authorjmccrohan <jmccrohan@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2017-05-27 17:37:05 +0000
committerjmccrohan <jmccrohan@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2017-05-27 17:37:05 +0000
commitcb69a93a4501b2a58e1f991c953b3c58d6ceeb67 (patch)
tree94aa584f67a541435d06f0f375e40f2f0e5f9ff6 /dr</code></pre></td><
parent4e055ed9cbda058f02f81571cc31e4cd6ef9afc2 (diff)
downloadlcd4linux-trunk.tar.gz
picoLCDGraphic: change backlight from bool to byteHEADtrunkmaster
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
Diffstat (limited to 'dr</code></pre></td><')
0 files changed, 0 insertions, 0 deletions
{ color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# US NTSC center frequencies, use if in doubt

A  57000000 8VSB
A  63000000 8VSB
A  69000000 8VSB
A  79000000 8VSB
A  85000000 8VSB
A 177000000 8VSB
A 183000000 8VSB
A 189000000 8VSB
A 195000000 8VSB
A 201000000 8VSB
A 207000000 8VSB
A 213000000 8VSB
A 473000000 8VSB
A 479000000 8VSB
A 485000000 8VSB
A 491000000 8VSB
A 497000000 8VSB
A 503000000 8VSB
A 509000000 8VSB
A 515000000 8VSB
A 521000000 8VSB
A 527000000 8VSB
A 533000000 8VSB
A 539000000 8VSB
A 545000000 8VSB
A 551000000 8VSB
A 557000000 8VSB
A 563000000 8VSB
A 569000000 8VSB
A 575000000 8VSB
A 581000000 8VSB
A 587000000 8VSB
A 593000000 8VSB
A 599000000 8VSB
A 605000000 8VSB
A 611000000 8VSB
A 617000000 8VSB
A 623000000 8VSB
A 629000000 8VSB
A 635000000 8VSB
A 641000000 8VSB
A 647000000 8VSB
A 653000000 8VSB
A 659000000 8VSB
A 665000000 8VSB
A 671000000 8VSB
A 677000000 8VSB
A 683000000 8VSB
A 689000000 8VSB
A 695000000 8VSB
A 701000000 8VSB
A 707000000 8VSB
A 713000000 8VSB
A 719000000 8VSB
A 725000000 8VSB
A 731000000 8VSB
A 737000000 8VSB
A 743000000 8VSB
A 749000000 8VSB
A 755000000 8VSB
A 761000000 8VSB
A 767000000 8VSB
A 773000000 8VSB
A 779000000 8VSB
A 785000000 8VSB
A 791000000 8VSB
A 797000000 8VSB
A 803000000 8VSB