mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-30 08:50:56 +02:00
vuultimo4k added
Origin commit data
------------------
Branch: master
Commit: ba54bd3c18
Author: max_10 <max_10@gmx.de>
Date: 2019-09-12 (Thu, 12 Sep 2019)
Origin message was:
------------------
- vuultimo4k added
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -337,7 +337,7 @@ int cAudio::StopClip()
|
||||
hal_info("%s: clipfd not yet opened\n", __FUNCTION__);
|
||||
return -1;
|
||||
}
|
||||
#if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUZERO4K
|
||||
#if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K || BOXMODEL_VUZERO4K
|
||||
ioctl(clipfd, SNDCTL_DSP_RESET);
|
||||
#endif
|
||||
close(clipfd);
|
||||
|
@@ -60,11 +60,29 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux
|
||||
caps.has_button_timer = 1;
|
||||
caps.has_button_vformat = 0;
|
||||
caps.has_HDMI = 1;
|
||||
caps.has_HDMI = 2;
|
||||
strcpy(caps.boxvendor, "VU+");
|
||||
strcpy(caps.boxname, "DUO4K");
|
||||
strcpy(caps.boxarch, "BCM7278");
|
||||
#endif
|
||||
#if BOXMODEL_VUULTIMO4K
|
||||
initialized = 1;
|
||||
caps.has_CI = 2;
|
||||
caps.can_cec = 1;
|
||||
caps.can_shutdown = 1;
|
||||
caps.display_xres = 480; // or 800 ???
|
||||
caps.display_yres = 320; // or 480 ???
|
||||
caps.display_type = HW_DISPLAY_GFX;
|
||||
caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux
|
||||
caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux
|
||||
caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux
|
||||
caps.has_button_timer = 1;
|
||||
caps.has_button_vformat = 0;
|
||||
caps.has_HDMI = 2;
|
||||
strcpy(caps.boxvendor, "VU+");
|
||||
strcpy(caps.boxname, "ULTIMO4K");
|
||||
strcpy(caps.boxarch, "BCM7444S");
|
||||
#endif
|
||||
#if BOXMODEL_VUZERO4K
|
||||
initialized = 1;
|
||||
caps.has_CI = 1;
|
||||
|
@@ -38,7 +38,7 @@ void hal_api_init()
|
||||
proc_put("/proc/stb/fb/dst_width", buffer, strlen(buffer));
|
||||
sprintf(buffer, "%x", 1);
|
||||
proc_put("/proc/stb/fb/dst_apply", buffer, strlen(buffer));
|
||||
#if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K
|
||||
#if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K
|
||||
const char mode_fcc[] = { "enable" };
|
||||
proc_put("/proc/stb/frontend/fbc/fcc", mode_fcc, strlen(mode_fcc));
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user