Rainbow Scenery
Valid HTML 4.01 Transitional

Intel NUC5i5RYH
Planning for Home Theater Machine

Jim Carter, 2016-01-18, upated 2018-01-16

From time to time the Hauppauge HVR-950q DVB device (HDTV capture) goes catatonic, for no reason. The HVR-1950 appears to do the same thing. Some of the drivers are locked in memory and cannot be removed for a total reset. The only recourse is to reboot the host machine. The same (?) thing was particularly likely to happen if the host suspended to RAM.

Formerly the backend and DVB were on Iris and Aurora, which sleep when not in use, but to mitigate the catatonia I moved the backend and DVB to Jacinth, which never sleeps. Reliability is improved but is still not acceptable. Jacinth is the main router, and rebooting it is always a traumatic experience. I want to move the backend and DVB to another machine.

Planning

Goals

The goals for this project are

Issues

These issues need to be evaluated to give effect to the goals:

Action

I am getting a feel for how this deal is going down:

Plan D: New Role Assignments

Originally Iris handled both the video recording and playback roles, but it was fired from recording because it uses too much power to run all the time, and sleeping messes up the DVB drivers. The NUC eventually selected has the CPU power of Iris (or maybe more) at 30% to 40% of the idle power. So I'm planning to revert to the original plan, giving the NUC both video roles, but not sleeping.

Implementation

Power measurements

Measuring the power used by the FitPC-Pro (under its former name Iris). These are done with a Kill-A-Watt inline power meter, with a readout resolution of 1 watt, near zero offset, and reasonably decent calibration (but not verified with objective standards). (*) indicates this includes an external fan drawing 1 watt, but not the video capture device.

What Happens When It Sleeps?

Iris sleeping with the DVB (either one) connected:

Initializing the Recording Device

Wiki page on linuxtv.org about the Hauppauge WinTV-HVR-1900 (uses the same firmware as the HVR-1950).

With the HVR-1950 newly plugged in, when Iris wakes it loads: xhci_hcd pvrusb2 tveeprom cx2341x dvb_core v4l2_common videodev. HVR-1950 USB ID is 2040:7501, product description WinTV HVR-1950 Model 751xx. Oops, firmware seems to be missing. It wants these firmware files:

The wiki page has links for the first two. Download the files and copy them to /lib/firmware/. The third one is in the ivtv-utils (Ubuntu) or ivtv-firmware (Gentoo) packages. On the SuSE Build Service it is called ivtv-firmware and is a sub-package of ivtv; it is not free software. Once you have all three files installed, reboot the host (Iris).

What is a good package for testing the DVB? ~watchtv/bin/dvb-check has this already set up. Takes about 10 secs if failing, 3 secs if it's going to work. The script was updated to use dvbv5-zap rather than azap and femon (obsolete).

Planned Peripheral Usage on new NUC:

Rainbow Scenery