mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
@@ -32,6 +32,7 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.display_xres = 8;
|
||||
caps.can_set_display_brightness = 0;
|
||||
caps.display_can_deepstandby = 0;
|
||||
caps.display_can_set_brightness = 0;
|
||||
strcpy(caps.boxvendor, "AZBox");
|
||||
const char *tmp;
|
||||
char buf[64];
|
||||
|
@@ -29,6 +29,7 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.has_HDMI = 1;
|
||||
caps.display_xres = 8;
|
||||
caps.display_can_deepstandby = 0;
|
||||
caps.display_can_set_brightness = 0;
|
||||
caps.can_set_display_brightness = 0;
|
||||
strcpy(caps.boxvendor, "Generic");
|
||||
strcpy(caps.boxname, "PC");
|
||||
|
@@ -37,6 +37,7 @@ typedef struct hw_caps
|
||||
int display_xres; /* x resolution or chars per line */
|
||||
int display_yres;
|
||||
int display_can_deepstandby;
|
||||
int display_can_set_brightness;
|
||||
int can_set_display_brightness;
|
||||
char boxvendor[64];
|
||||
char boxname[64];
|
||||
|
@@ -39,6 +39,7 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.display_xres = 4;
|
||||
caps.can_set_display_brightness = 0;
|
||||
caps.display_can_deepstandby = 0;
|
||||
caps.display_can_set_brightness = 0;
|
||||
caps.force_tuner_2G = 1; /* I have patched the drivers to fix this, but not everyone has */
|
||||
strcpy(caps.boxvendor, "SPARK");
|
||||
const char *tmp;
|
||||
|
@@ -25,6 +25,7 @@ static hw_caps_t caps = {
|
||||
.display_yres = 64,
|
||||
.can_set_display_brightness = 0,
|
||||
.display_can_deepstandby = 0;
|
||||
.display_can_set_brightness = 0;
|
||||
.boxvendor = "Armas",
|
||||
.boxname = "TripleDragon",
|
||||
.boxarch = "ppc405"
|
||||
|
@@ -31,6 +31,7 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.display_xres = 8;
|
||||
caps.can_set_display_brightness = 0;
|
||||
caps.display_can_deepstandby = 0;
|
||||
caps.display_can_set_brightness = 0;
|
||||
strcpy(caps.boxvendor, "Raspberry");
|
||||
strcpy(caps.boxname, "Pi");
|
||||
if (! uname(&u))
|
||||
|
Reference in New Issue
Block a user