mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
add boxmodel hl101
This commit is contained in:
11
acinclude.m4
11
acinclude.m4
@@ -326,6 +326,10 @@ AC_ARG_WITH(boxtype,
|
||||
BOXTYPE="duckbox"
|
||||
BOXMODEL="$withval"
|
||||
;;
|
||||
hl101)
|
||||
BOXTYPE="duckbox"
|
||||
BOXMODEL="$withval"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([bad value $withval for --with-boxtype]) ;;
|
||||
esac], [BOXTYPE="generic"])
|
||||
@@ -333,7 +337,7 @@ AC_ARG_WITH(boxtype,
|
||||
AC_ARG_WITH(boxmodel,
|
||||
[ --with-boxmodel valid for dreambox: dm500, dm500plus, dm600pvr, dm56x0, dm7000, dm7020, dm7025
|
||||
valid for ipbox: ip200, ip250, ip350, ip400
|
||||
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
|
||||
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
|
||||
valid for spark: spark, spark7162],
|
||||
[case "${withval}" in
|
||||
dm500|dm500plus|dm600pvr|dm56x0|dm7000|dm7020|dm7025)
|
||||
@@ -350,7 +354,7 @@ AC_ARG_WITH(boxmodel,
|
||||
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||
fi
|
||||
;;
|
||||
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)
|
||||
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
|
||||
BOXMODEL="$withval"
|
||||
else
|
||||
@@ -429,6 +433,7 @@ AM_CONDITIONAL(BOXMODEL_IPBOX99,test "$BOXMODEL" = "ipbox99")
|
||||
AM_CONDITIONAL(BOXMODEL_IPBOX55,test "$BOXMODEL" = "ipbox55")
|
||||
AM_CONDITIONAL(BOXMODEL_ARIVALINK200,test "$BOXMODEL" = "arivalink200")
|
||||
AM_CONDITIONAL(BOXMODEL_TF7700,test "$BOXMODEL" = "tf7700")
|
||||
AM_CONDITIONAL(BOXMODEL_HL101,test "$BOXMODEL" = "hl101")
|
||||
|
||||
AM_CONDITIONAL(BOXMODEL_RASPI,test "$BOXMODEL" = "raspi")
|
||||
|
||||
@@ -513,6 +518,8 @@ elif test "$BOXMODEL" = "arivalink200"; then
|
||||
AC_DEFINE(BOXMODEL_ARIVALINK200, 1, [arivalink200])
|
||||
elif test "$BOXMODEL" = "tf7700"; then
|
||||
AC_DEFINE(BOXMODEL_TF7700, 1, [tf7700])
|
||||
elif test "$BOXMODEL" = "hl101"; then
|
||||
AC_DEFINE(BOXMODEL_HL101, 1, [hl101])
|
||||
elif test "$BOXMODEL" = "raspi"; then
|
||||
AC_DEFINE(BOXMODEL_RASPI, 1, [Raspberry pi])
|
||||
fi
|
||||
|
@@ -250,6 +250,16 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.has_fan = 0;
|
||||
caps.has_CI = 2;
|
||||
}
|
||||
else if (!strncmp(buf, "hl101", 5)) {
|
||||
strcpy(caps.boxvendor, "DUCKBOX");
|
||||
strcpy(caps.boxname, buf);
|
||||
caps.can_shutdown = 1;
|
||||
caps.has_HDMI = 1;
|
||||
caps.has_SCART = 2;
|
||||
caps.can_cec = 0;
|
||||
caps.has_fan = 0;
|
||||
caps.has_CI = 2;
|
||||
}
|
||||
else if ((!strncmp(buf, "arivalink200", 12)) ||
|
||||
(!strncasecmp(buf, "adb_box", 7)) ||
|
||||
(!strncasecmp(buf, "sagemcom88", 10)) ||
|
||||
|
Reference in New Issue
Block a user