diff --git a/include/hardware_caps.h b/include/hardware_caps.h index 6d6b16e..46c1c34 100644 --- a/include/hardware_caps.h +++ b/include/hardware_caps.h @@ -30,6 +30,9 @@ typedef struct hw_caps int has_YUV_cinch; int can_shutdown; int can_cec; + int can_ar_14_9; /* video drivers have 14:9 aspect ratio mode */ + int can_ps_14_9; /* video drivers have 14:9 panscan mode */ + int force_tuner_2G; /* force DVB-S2 even though driver may not advertise it */ display_type_t display_type; int display_xres; /* x resolution or chars per line */ int display_yres; diff --git a/libspark/hardware_caps.c b/libspark/hardware_caps.c index 3f3b200..3f082fd 100644 --- a/libspark/hardware_caps.c +++ b/libspark/hardware_caps.c @@ -37,6 +37,7 @@ hw_caps_t *get_hwcaps(void) caps.has_HDMI = 1; caps.has_SCART = 1; caps.display_xres = 4; + caps.force_tuner_2G = 1; /* I have patched the drivers to fix this, but not everyone has */ strcpy(caps.boxvendor, "SPARK"); const char *tmp; char buf[1024]; diff --git a/libtriple/hardware_caps.c b/libtriple/hardware_caps.c index 8190097..22a1e67 100644 --- a/libtriple/hardware_caps.c +++ b/libtriple/hardware_caps.c @@ -17,6 +17,10 @@ static hw_caps_t caps = { .has_YUV_cinch = 0, .can_shutdown = 0, .can_cec = 0, + .can_ar_14_9 = 0, + .can_ps_14_9 = 1, + .can_set_display_brightness = 0, + .force_tuner_2G = 0, .display_type = HW_DISPLAY_GFX, .display_xres = 128, .display_yres = 64,