summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJadyn Emma Jäger <jadyn@jadyn.dev>2026-01-19 15:19:07 +0100
committerChristian Breunig <christian@breunig.cc>2026-02-14 20:46:09 +0100
commitfdc563be8c2f61c5832752b0e8a78c8c70f39cf6 (patch)
tree7fdbcbdd8b5bed79361835086b23c79f4d402878 /data
parent984f41dcab36a2dee3c77908a3218594466647d6 (diff)
downloadvyos-1x-fdc563be8c2f61c5832752b0e8a78c8c70f39cf6.tar.gz
vyos-1x-fdc563be8c2f61c5832752b0e8a78c8c70f39cf6.zip
lcd: T8213: add support for MTC S16209x
Implementation has been tested using a virtual serial pipe as I (Christian Breunig) did not find my hardware LCD display. You can easily do this via: $ sudo socat -d -d PTY,link=/dev/ttyS99,raw,echo=0 PTY,link=/tmp/serial,raw,echo=0 $ sudo cat /tmp/serial You will get a lot of control characters, but real information like the OS Kernel version will scroll through. Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'data')
-rw-r--r--data/templates/lcd/LCDd.conf.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/lcd/LCDd.conf.j2 b/data/templates/lcd/LCDd.conf.j2
index 3631add1d..456aa79e7 100644
--- a/data/templates/lcd/LCDd.conf.j2
+++ b/data/templates/lcd/LCDd.conf.j2
@@ -55,6 +55,8 @@ Driver=CFontzPacket
Driver=sdeclcd
{% elif model == 'hd44780' %}
Driver=hd44780
+{% elif model == 'mtc-s16209x' %}
+Driver=mtc_s16209x
{% endif %}
{% endif %}
@@ -135,5 +137,10 @@ USB=yes
ConnectionType=ezio
Device={{ device }}
Size=16x2
+{% elif model == 'mtc-s16209x' %}
+[mtc_s16209x]
+Device={{ device }}
+Brightness=255
+Reboot=yes
{% endif %}
{% endif %}