mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
Merge branch 'master' of https://github.com/TangoCash/libstb-hal-tangos
Origin commit data
------------------
Branch: master
Commit: d132be2b99
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-10-31 (Wed, 31 Oct 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
16
acinclude.m4
16
acinclude.m4
@@ -219,6 +219,10 @@ AC_ARG_WITH(boxtype,
|
||||
BOXTYPE="armbox"
|
||||
BOXMODEL="$withval"
|
||||
;;
|
||||
hd60)
|
||||
BOXTYPE="armbox"
|
||||
BOXMODEL="$withval"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([bad value $withval for --with-boxtype])
|
||||
;;
|
||||
@@ -229,7 +233,7 @@ AC_ARG_WITH(boxmodel,
|
||||
AS_HELP_STRING([--with-boxmodel], [valid for generic: raspi])
|
||||
AS_HELP_STRING([], [valid for duckbox: ufs910, ufs912, ufs913, ufs922, atevio7500, fortis_hdbox, octagon1008, hs7110, hs7810a, hs7119, hs7819, dp7000, cuberevo, cuberevo_mini, cuberevo_mini2, cuberevo_250hd, cuberevo_2000hd, cuberevo_3000hd, ipbox9900, ipbox99, ipbox55, arivalink200, tf7700, hl101])
|
||||
AS_HELP_STRING([], [valid for spark: spark, spark7162])
|
||||
AS_HELP_STRING([], [valid for armbox: hd51, vusolo4k]),
|
||||
AS_HELP_STRING([], [valid for armbox: hd51, hd60, vusolo4k]),
|
||||
[case "${withval}" in
|
||||
ufs910|ufs912|ufs913|ufs922|atevio7500|fortis_hdbox|octagon1008|hs7110|hs7810a|hs7119|hs7819|dp7000|cuberevo|cuberevo_mini|cuberevo_mini2|cuberevo_250hd|cuberevo_2000hd|cuberevo_3000hd|ipbox9900|ipbox99|ipbox55|arivalink200|tf7700|hl101)
|
||||
if test "$BOXTYPE" = "duckbox"; then
|
||||
@@ -259,6 +263,13 @@ AS_HELP_STRING([], [valid for armbox: hd51, vusolo4k]),
|
||||
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||
fi
|
||||
;;
|
||||
hd60)
|
||||
if test "$BOXTYPE" = "armbox"; then
|
||||
BOXMODEL="$withval"
|
||||
else
|
||||
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||
fi
|
||||
;;
|
||||
raspi)
|
||||
if test "$BOXTYPE" = "generic"; then
|
||||
BOXMODEL="$withval"
|
||||
@@ -310,6 +321,7 @@ AM_CONDITIONAL(BOXMODEL_TF7700, test "$BOXMODEL" = "tf7700")
|
||||
AM_CONDITIONAL(BOXMODEL_HL101, test "$BOXMODEL" = "hl101")
|
||||
|
||||
AM_CONDITIONAL(BOXMODEL_HD51, test "$BOXMODEL" = "hd51")
|
||||
AM_CONDITIONAL(BOXMODEL_HD60, test "$BOXMODEL" = "hd60")
|
||||
AM_CONDITIONAL(BOXMODEL_VUSOLO4K, test "$BOXMODEL" = "vusolo4k")
|
||||
|
||||
AM_CONDITIONAL(BOXMODEL_RASPI, test "$BOXMODEL" = "raspi")
|
||||
@@ -385,6 +397,8 @@ elif test "$BOXMODEL" = "hl101"; then
|
||||
AC_DEFINE(BOXMODEL_HL101, 1, [hl101])
|
||||
elif test "$BOXMODEL" = "hd51"; then
|
||||
AC_DEFINE(BOXMODEL_HD51, 1, [hd51])
|
||||
elif test "$BOXMODEL" = "hd60"; then
|
||||
AC_DEFINE(BOXMODEL_HD60, 1, [hd60])
|
||||
elif test "$BOXMODEL" = "vusolo4k"; then
|
||||
AC_DEFINE(BOXMODEL_VUSOLO4K, 1, [vusolo4k])
|
||||
elif test "$BOXMODEL" = "raspi"; then
|
||||
|
@@ -45,7 +45,8 @@ hw_caps_t *get_hwcaps(void)
|
||||
strcpy(caps.boxvendor, "VU");
|
||||
strcpy(caps.boxname, "SOLO4K");
|
||||
strcpy(caps.boxarch, "BCM7376");
|
||||
#else
|
||||
#endif
|
||||
#if BOXMODEL_HD51
|
||||
initialized = 1;
|
||||
caps.has_CI = 1;
|
||||
caps.can_cec = 1;
|
||||
@@ -60,6 +61,22 @@ hw_caps_t *get_hwcaps(void)
|
||||
strcpy(caps.boxvendor, "AX-Technologies");
|
||||
strcpy(caps.boxname, "HD51");
|
||||
strcpy(caps.boxarch, "BCM7251S");
|
||||
#endif
|
||||
#if BOXMODEL_HD60
|
||||
initialized = 1;
|
||||
caps.has_CI = 0;
|
||||
caps.can_cec = 1;
|
||||
caps.can_shutdown = 1;
|
||||
caps.display_xres = 4;
|
||||
caps.display_type = HW_DISPLAY_LED_NUM;
|
||||
caps.display_can_deepstandby = 0;
|
||||
caps.display_can_set_brightness = 1;
|
||||
caps.display_has_statusline = 0;
|
||||
caps.has_button_timer = 1;
|
||||
caps.has_HDMI = 1;
|
||||
strcpy(caps.boxvendor, "AX-Technologies");
|
||||
strcpy(caps.boxname, "HD60");
|
||||
strcpy(caps.boxarch, "HI3798M");
|
||||
#endif
|
||||
return ∩︀
|
||||
}
|
||||
|
Reference in New Issue
Block a user