mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 16:00:58 +02:00
Merge branch 'master' of https://github.com/TangoCash/libstb-hal-tangos
Origin commit data
------------------
Branch: master
Commit: 7bf052a23e
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-27 (Thu, 27 Sep 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
* License: GPL v2 or later
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
@@ -28,6 +29,23 @@ hw_caps_t *get_hwcaps(void)
|
||||
|
||||
memset(&caps, 0, sizeof(hw_caps_t));
|
||||
|
||||
#if BOXMODEL_VUSOLO4K
|
||||
initialized = 1;
|
||||
caps.has_CI = 1;
|
||||
caps.can_cec = 1;
|
||||
caps.can_shutdown = 1;
|
||||
caps.display_xres = 480;
|
||||
caps.display_yres = 320;
|
||||
caps.display_type = HW_DISPLAY_GFX;
|
||||
caps.display_can_deepstandby = 1;
|
||||
caps.display_can_set_brightness = 1;
|
||||
caps.display_has_statusline = 1;
|
||||
caps.has_button_timer = 1;
|
||||
caps.has_HDMI = 1;
|
||||
strcpy(caps.boxvendor, "VU");
|
||||
strcpy(caps.boxname, "SOLO4K");
|
||||
strcpy(caps.boxarch, "BCM7376");
|
||||
#else
|
||||
initialized = 1;
|
||||
caps.has_CI = 1;
|
||||
caps.can_cec = 1;
|
||||
@@ -42,5 +60,6 @@ hw_caps_t *get_hwcaps(void)
|
||||
strcpy(caps.boxvendor, "AX-Technologies");
|
||||
strcpy(caps.boxname, "HD51");
|
||||
strcpy(caps.boxarch, "BCM7251S");
|
||||
#endif
|
||||
return ∩︀
|
||||
}
|
||||
|
@@ -59,6 +59,8 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.has_fan = 0;
|
||||
caps.has_CI = 2;
|
||||
caps.display_can_set_brightness = 1;
|
||||
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
||||
caps.display_xres = 16;
|
||||
}
|
||||
else if (!strncmp(buf, "ufs913", 6)) {
|
||||
strcpy(caps.boxvendor, "DUCKBOX");
|
||||
@@ -70,6 +72,8 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.has_fan = 0;
|
||||
caps.has_CI = 2;
|
||||
caps.display_can_set_brightness = 1;
|
||||
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
||||
caps.display_xres = 16;
|
||||
}
|
||||
else if (!strncmp(buf, "ufs922", 6)) {
|
||||
strcpy(caps.boxvendor, "DUCKBOX");
|
||||
@@ -81,6 +85,8 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.has_fan = 1;
|
||||
caps.has_CI = 2;
|
||||
caps.display_can_set_brightness = 1;
|
||||
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
||||
caps.display_xres = 16;
|
||||
}
|
||||
else if (!strncmp(buf, "ufs910", 6)) {
|
||||
strcpy(caps.boxvendor, "DUCKBOX");
|
||||
@@ -92,6 +98,8 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.has_fan = 0;
|
||||
caps.has_CI = 2;
|
||||
caps.display_can_set_brightness = 1;
|
||||
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
||||
caps.display_xres = 16;
|
||||
}
|
||||
else if (!strncmp(buf, "hdbox", 5)) {
|
||||
strcpy(caps.boxvendor, "DUCKBOX");
|
||||
|
@@ -676,6 +676,7 @@ static int ParseParams(int argc, char *argv[], PlayFiles_t *playbackFiles, int *
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
system("echo 'encoder' > /proc/stb/avs/0/input");
|
||||
pthread_t termThread;
|
||||
int isTermThreadStarted = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user