diff options
| author | Daniil Baturin <daniil@vyos.io> | 2026-02-16 11:58:07 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-16 11:58:07 +0000 |
| commit | 053cd1cdea4bb3ed2aa6831c1a118d6726d52bd1 (patch) | |
| tree | 865cebafa2362d7a28d0a1b1801ebe1f062d132b | |
| parent | 82461ce7856aaf91d1b8a85ca45080e26783fc5e (diff) | |
| parent | 37430eb9f8c4182170ba4fc2fbfc69098d464749 (diff) | |
| download | vyos-1x-053cd1cdea4bb3ed2aa6831c1a118d6726d52bd1.tar.gz vyos-1x-053cd1cdea4bb3ed2aa6831c1a118d6726d52bd1.zip | |
Merge pull request #4989 from c-po/lcd-mtc-s16209x
lcd: T8213: add support for MTC S16209x
| -rw-r--r-- | data/templates/lcd/LCDd.conf.j2 | 7 | ||||
| -rw-r--r-- | interface-definitions/system_lcd.xml.in | 10 |
2 files changed, 14 insertions, 3 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 %} diff --git a/interface-definitions/system_lcd.xml.in b/interface-definitions/system_lcd.xml.in index 0cf4de308..cb9664a0f 100644 --- a/interface-definitions/system_lcd.xml.in +++ b/interface-definitions/system_lcd.xml.in @@ -12,7 +12,7 @@ <properties> <help>Model of the display attached to this system</help> <completionHelp> - <list>cfa-533 cfa-631 cfa-633 cfa-635 hd44780 sdec</list> + <list>cfa-533 cfa-631 cfa-633 cfa-635 hd44780 sdec mtc-s16209x</list> </completionHelp> <valueHelp> <format>cfa-533</format> @@ -32,14 +32,18 @@ </valueHelp> <valueHelp> <format>hd44780</format> - <description>Hitachi HD44780, Caswell Appliances</description> + <description>Hitachi HD44780, Caswell Appliances, Sophos XG appliances</description> </valueHelp> <valueHelp> <format>sdec</format> <description>Lanner, Watchguard, Nexcom NSA, Sophos UTM appliances</description> </valueHelp> + <valueHelp> + <format>mtc-s16209x</format> + <description>Microtips Technology S16209x, Sophos SG appliances</description> + </valueHelp> <constraint> - <regex>(cfa-533|cfa-631|cfa-633|cfa-635|hd44780|sdec)</regex> + <regex>(cfa-533|cfa-631|cfa-633|cfa-635|hd44780|sdec|mtc-s16209x)</regex> </constraint> </properties> </leafNode> |
