Version 20 (modified by Sven Killig <>, 8 years ago) (diff)

Parameters for new SGC version

Supports all 4D Systems Display Graphics Modules with SGC PmmC. Model is autodetected.



Portserial device the display is attached to (e.g. '/dev/ttyS0')
SpeedBaud for GOLDELOX modules; up to 230400.
PICASOBaud for PICASO modules; with FTDI USB2serial chips, for 128000 baud use 129032, for 256000 baud use 282353.
ModeText mode: 0 (fast); Graphics mode (use without Font and with -q): 8: 8 bpp; 16: 16 bpp
Font'6x8', '8x8', '8x12' or '12x16' for fonts in ROM or string with number of sector on µSD card
Contrastinitial contrast value, 0..15 (useful range depends on the display)
IconsNumber of user-defined chars reserved for Icons (default: 0)
foregroundForeground color (possible in text mode, too)
backgroundBackground color (possible in text mode, too)
basecolorBase color. '000000' default and recommended for OLEDs.
NoPowerCycle1: Don't turn power on/off between starting/stopping LCD4Linux

Font on µSD card

1st sector:


From 2nd sector: Images of glyphs of ASCII code 0 to 255 taken with @C command. Generator available here.


  • Make optimized drv_D4D_bar_draw() optional

Attachments (2)

Download all attachments as: .zip