====== vuduo2 driver ====== This driver supports the colour front display of the VU+ Duo2 set-top box. It is a sibling of the [[:lcd4linux:driver_vuplus4k|vuplus4k driver]]. The display geometry is fixed in the driver: **400x240 pixels, 16 bits per pixel**. ---- ===== Display Section ===== Display { Driver 'vuduo2' Port Font Foreground Background Basecolor } ---- ===== Parameters ===== |**Driver**|'vuduo2'| |**Port**|LCD device of the box. This entry is required, there is no default.| |**Font**|font size, specified as x. Default is '6x8', every size from 6x8 upwards is possible (the built-in 6x8 font is scaled).| |**Foreground**|color of active pixels (RRGGBBAA or RRGGBB), default is opaque black '000000ff' (see [[:lcd4linux:colors]] for details)| |**Background**|color of inactive pixels (RRGGBBAA or RRGGBB), default is transparent 'ffffff00' (see [[:lcd4linux:colors]] for details)| |**Basecolor**|color of the virtual backlight (RRGGBB), default is white 'ffffff' (see [[:lcd4linux:colors]] for details)| A //Backlight// entry (0..10) is accepted, but has **no effect**: setting the brightness is switched off in the source of this driver ("currently not supported"). ---- ===== Example ===== The device name below is the one commonly found on VU+ images, check it on your box. Display VUDUO2 { Driver 'vuduo2' Port '/dev/dbox/lcd0' Font '12x16' Foreground 'ffffff' Background '00000000' Basecolor '000000' } ---- ===== Plugins ===== |LCD::backlight(n)|registered for compatibility with the vuplus4k driver, but does not change the brightness (see above). Returns 0 for n = 0, otherwise 1.| ---- ===== Goodbye message ===== When LCD4Linux is stopped, the driver clears the display and looks for the file ///tmp/lcd/goodbye//. * If the file exists, its first line is displayed and the file is removed. This also happens when the splash screen is disabled. * If the file does not exist, 'goodbye!' is displayed, but only if LCD4Linux was started with //-s//. The line must end with a newline character (as written by //echo//), otherwise the file is treated as empty. ---- ===== Requirements ===== The driver is self-contained, no external libraries are needed. It is selected at build time with //--with-drivers=VUDUO2//. ----