echo " Driver 'HD44780'" echo " Model '$LCD4LINUX_HD44780_MODEL'" echo " Bus '$LCD4LINUX_HD44780_BUS'" case "$LCD4LINUX_HD44780_BUS" in parport) echo " Port '$LCD4LINUX_HD44780_PORT'" ;; i2c) echo " Port '$LCD4LINUX_HD44780_I2C_DEV'" ;; esac case "$LCD4LINUX_HD44780_WIRE_TYPE" in generic) echo " UseBusy 0" echo " Wire {" echo " RW 'GND'" echo " RS 'AUTOFD'" echo " ENABLE 'STROBE'" [ $LCD4LINUX_HD44780_CONTROLLERS = "2" ] && echo " ENABLE2 'SLCTIN'" || echo " ENABLE2 'GND'" echo " BACKLIGHT 'GND'" echo " }" ;; winamp) echo " UseBusy 1" echo " Wire {" echo " RW 'AUTOFD'" echo " RS 'INIT'" echo " ENABLE 'STROBE'" [ $LCD4LINUX_HD44780_CONTROLLERS = "2" ] && echo " ENABLE2 'SLCTIN'" || echo " ENABLE2 'GND'" echo " BACKLIGHT 'GND'" echo " GPO 'GND'" echo " }" ;; soekris) echo " UseBusy 1" echo " GPOs 0" echo " Bits 4" echo " Wire {" echo " RS 'DB4'" echo " RW 'DB5'" echo " ENABLE 'DB6'" [ $LCD4LINUX_HD44780_CONTROLLERS = "2" ] && echo " ENABLE2 'SLCTIN'" || echo " ENABLE2 'GND'" echo " BACKLIGHT 'GND'" echo " GPO 'GND'" echo " }" ;; esac [ "$LCD4LINUX_HD44780_ASC255BUG" = "yes" ] && echo " asc255bug '1'" [ "$LCD4LINUX_HD44780_CONTROLLERS" = "2" ] && echo " Controllers '2'" [ -n "$LCD4LINUX_HD44780_CONTRAST" ] && echo " Contrast '$LCD4LINUX_HD44780_CONTRAST'" [ "$LCD4LINUX_HD44780_BACKLIGHT" = "yes" ] && echo " Backlight '1'" [ -n "$LCD4LINUX_HD44780_BRIGHTNESS" ] && echo " Brightness '$LCD4LINUX_HD44780_BRIGHTNESS'" [ -n "$LCD4LINUX_HD44780_BITS" ] && echo " Bits '$LCD4LINUX_HD44780_BITS'" [ "$LCD4LINUX_HD44780_USEBUSY" = "yes" ] && echo " UseBusy '1'"