diff --git a/include/hardware_caps.h b/include/hardware_caps.h index ef2c3b0..b8a6948 100644 --- a/include/hardware_caps.h +++ b/include/hardware_caps.h @@ -38,8 +38,9 @@ typedef struct hw_caps display_type_t display_type; int display_xres; /* x resolution or chars per line */ int display_yres; - int display_can_set_brightness; int display_can_deepstandby; + int display_can_set_brightness; + int display_can_umlauts; int display_has_statusline; int display_has_colon; int has_button_timer; diff --git a/libarmbox/hardware_caps.c b/libarmbox/hardware_caps.c index bd5f8a8..7d00118 100644 --- a/libarmbox/hardware_caps.c +++ b/libarmbox/hardware_caps.c @@ -40,6 +40,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_GFX; caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux + caps.display_can_umlauts = 0; /* need test */ caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_colon = 0; caps.has_button_timer = 1; @@ -61,6 +62,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_GFX; caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux + caps.display_can_umlauts = 0; /* need test */ caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_colon = 0; caps.has_button_timer = 1; @@ -81,6 +83,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_GFX; caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux + caps.display_can_umlauts = 0; /* need test */ caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_colon = 0; caps.has_button_timer = 1; @@ -101,6 +104,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_GFX; caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux + caps.display_can_umlauts = 0; /* need test */ caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_colon = 0; caps.has_button_timer = 1; @@ -120,6 +124,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LED_ONLY; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; caps.display_has_statusline = 0; caps.display_has_colon = 0; caps.has_button_timer = 1; @@ -141,6 +146,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_GFX; caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux + caps.display_can_umlauts = 0; /* need test */ caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_colon = 0; caps.has_button_timer = 1; @@ -160,6 +166,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LED_ONLY; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; caps.display_has_statusline = 0; caps.display_has_colon = 0; caps.has_button_timer = 1; @@ -180,6 +187,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LINE_TEXT; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 1; caps.display_has_statusline = 0; caps.display_has_colon = 0; caps.has_button_timer = 1; @@ -200,6 +208,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LED_NUM; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; caps.display_has_statusline = 0; caps.display_has_colon = 1; caps.has_button_timer = 1; @@ -219,6 +228,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LED_NUM; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; caps.display_has_statusline = 0; caps.has_button_timer = 1; caps.has_HDMI = 1; @@ -237,6 +247,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LED_NUM; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; caps.display_has_statusline = 0; caps.display_has_colon = 1; caps.has_button_timer = 1; @@ -257,6 +268,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LED_NUM; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; caps.display_has_statusline = 0; caps.display_has_colon = 1; caps.has_button_timer = 1; @@ -277,6 +289,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LED_NUM; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; caps.display_has_statusline = 1; caps.display_has_colon = 1; caps.has_button_timer = 1; @@ -296,6 +309,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LED_NUM; caps.display_can_deepstandby = 0; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; caps.display_has_statusline = 1; caps.display_has_colon = 1; caps.has_button_timer = 1; @@ -317,6 +331,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_GFX; caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux + caps.display_can_umlauts = 0; /* need test */ caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_colon = 0; caps.has_button_timer = 1; diff --git a/libgeneric-pc/hardware_caps.c b/libgeneric-pc/hardware_caps.c index 5d34e91..f84720f 100644 --- a/libgeneric-pc/hardware_caps.c +++ b/libgeneric-pc/hardware_caps.c @@ -34,6 +34,7 @@ hw_caps_t *get_hwcaps(void) caps.has_HDMI = 1; caps.display_xres = 8; caps.display_can_deepstandby = 0; + caps.display_can_umlauts = 0; /* need test */ caps.display_has_statusline = 0; caps.display_has_colon = 0; strcpy(caps.startup_file, ""); diff --git a/libmipsbox/hardware_caps.c b/libmipsbox/hardware_caps.c index a270206..7cd9eb2 100644 --- a/libmipsbox/hardware_caps.c +++ b/libmipsbox/hardware_caps.c @@ -39,6 +39,7 @@ hw_caps_t *get_hwcaps(void) caps.display_type = HW_DISPLAY_LINE_TEXT; caps.display_can_deepstandby = 1; caps.display_can_set_brightness = 1; + caps.display_can_umlauts = 0; /* need test */ caps.display_has_statusline = 0; caps.display_has_colon = 0; caps.has_button_timer = 1; diff --git a/libspark/hardware_caps.c b/libspark/hardware_caps.c index 89ea7f6..83b05e4 100644 --- a/libspark/hardware_caps.c +++ b/libspark/hardware_caps.c @@ -35,8 +35,9 @@ hw_caps_t *get_hwcaps(void) caps.can_cpufreq = 1; caps.can_shutdown = 1; caps.display_type = HW_DISPLAY_LED_NUM; - caps.display_can_set_brightness = 0; caps.display_can_deepstandby = 0; + caps.display_can_set_brightness = 0; + caps.display_can_umlauts = 0; caps.display_has_statusline = 0; caps.display_has_colon = 1; caps.has_HDMI = 1; @@ -53,6 +54,7 @@ hw_caps_t *get_hwcaps(void) fprintf(stderr, "[hardware_caps] %s: VFDGETVERSION %m\n", __func__); else if (val & 1) { /* VFD = 1, DVFD = 3 */ caps.display_type = HW_DISPLAY_LINE_TEXT; + caps.display_can_umlauts = 0; /* need test */ caps.display_xres = 8; caps.display_can_set_brightness = 1; }