Difference between revisions of "Hauppauge WinTV HVR5525"
(First Draft) |
Stevegoodey (talk | contribs) m (Typo.) |
||
Line 104: | Line 104: | ||
</pre> | </pre> | ||
− | + | Then check the analogue functionality as the same user using the v4l2-ctl tool. | |
<pre> | <pre> |
Revision as of 12:40, 25 September 2020
Description
Capture card info | |
---|---|
Inputs | DVB-T DVB-T2 DVB-S DVB-S2 Composite S-Video TV |
Vendor Site | https://www.hauppauge.co.uk/site/products/data_hvr5525.html |
Support Status | Satellite and DVB tuners both Linux DVB compliant. Analogue inputs require separate compression process. |
Drivers | m88rs6000t cx23885 si2168 |
Firmware | dvb-demod-m88rs6000.fw v4l-cx23885-enc.fw dvb-demod-si2168-b40-01.fw |
Installation and configuration notes
This multifunction card will run multiple recordings in parallel and provides BNC, TV, Composite and S_Video sockets.
The DVB and Satellite functions work flawlessly with mythtv-setup and mythbackend with no glitching once the firmware has been loaded. Please see the standard procedures for configuring these inputs.
The analogue inputs on the other hand present more of a challenge as there is no compression hardware on board. Mythtv-setup picks them up just fine and allows them to be configured using the v4l2 device type, but mythbackend is not capable of setting them up or streaming from them. See separate notes on using mythexternrecorder with v4l2 and vlc. Bear in mind that each recording channel will fire up it's own vlc compression and multiplexing process when it opens a channel to record or live play, so this approach is only possible with some fairly powerful hardware.
Most modern linux distributions will automagically load the kernel drivers.
At time of writing none of the firmware files are present in the stock Red Hat package (linux-firmware) so these will need to be downloaded separately and placed in /usr/lib/firmware (for RH based distros). For the purposes of this build they were sourced from GitHub at [1].
Boot time checks
Once you have fitted the cards, put the 3 firmware files in place, and cold booted, you should see something like the following in the system logs
.... kernel: cx25840 11-0044: cx23888 A/V decoder found @ 0x88 (cx23885[0]) .... kernel: cx25840 11-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes) .... kernel: cx23885: cx23885[0]: registered device video0 [v4l2] .... kernel: cx23885: cx23885[0]: registered device vbi0 .... kernel: cx23885: cx23885[0]: alsa: registered ALSA audio device .... kernel: cx23885: cx23885_dvb_register() allocating 1 frontend(s) .... kernel: cx23885: cx23885[0]: cx23885 based dvb card .... kernel: i2c i2c-9: Added multiplexed i2c bus 12 .... kernel: a8293 9-000b: Allegro A8293 SEC successfully attached .... kernel: m88rs6000t 12-0021: chip_id=64 .... kernel: m88rs6000t 12-0021: Montage M88RS6000 internal tuner successfully identified .... kernel: dvbdev: DVB: registering new adapter (cx23885[0]) .... kernel: cx23885 0000:05:00.0: DVB: registering adapter 0 frontend 0 (Montage Technology M88RS6000)... .... kernel: cx23885: cx23885_dvb_register() allocating 1 frontend(s) .... kernel: cx23885: cx23885[0]: cx23885 based dvb card .... kernel: i2c i2c-9: Added multiplexed i2c bus 13 .... kernel: si2168 9-0064: Silicon Labs Si2168-B40 successfully identified .... kernel: si2168 9-0064: firmware version: B 4.0.2 .... kernel: si2157 10-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached .... kernel: m88ds3103 9-0069: found a 'Montage Technology M88RS6000' in cold state .... kernel: m88ds3103 9-0069: downloading firmware from file 'dvb-demod-m88rs6000.fw' .... kernel: m88ds3103 9-0069: found a 'Montage Technology M88RS6000' in warm state .... kernel: m88ds3103 9-0069: firmware version: 4.1 .... kernel: si2168 9-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' .....kernel: si2168 9-0064: firmware version: B 4.0.11 .....kernel: si2157 10-0060: found a 'Silicon Labs Si2157-A30' .....kernel: si2157 10-0060: firmware version: 3.0.5
Setup
Check to ensure the user that mythbackend runs as will be able to access the devices by adding that user to the "video" and "audio" user groups.
As that user use the dvb-fe-tool app to ensure that all is well with the DVB functionality:
# dvb-fe-tool Device Montage Technology M88RS6000 (/dev/dvb/adapter0/frontend0) capabilities: CAN_2G_MODULATION CAN_FEC_1_2 CAN_FEC_2_3 CAN_FEC_3_4 CAN_FEC_4_5 CAN_FEC_5_6 CAN_FEC_6_7 CAN_FEC_7_8 CAN_FEC_8_9 CAN_FEC_AUTO CAN_INVERSION_AUTO CAN_QPSK CAN_RECOVER DVB API Version 5.11, Current v5 delivery system: DVBS Supported delivery systems: [DVBS] DVBS2 Frequency range for the current standard: From: 950 MHz To: 2.15 GHz Tolerance: 5.00 MHz Symbol rate ranges for the current standard: From: 1.00 MBauds To: 45.0 MBauds SEC: set voltage to OFF ERROR FE_SET_VOLTAGE: Operation not permitted
Then check the analogue functionality as the same user using the v4l2-ctl tool.
# v4l2-ctl --all Driver Info: Driver name : cx23885 Card type : Hauppauge WinTV-HVR5525 Bus info : PCIe:0000:05:00.0 Driver version : 5.8.8 Capabilities : 0x85230011 Video Capture VBI Capture Tuner Audio Read/Write Streaming Extended Pix Format Device Capabilities Device Caps : 0x05230001 Video Capture Tuner Audio Read/Write Streaming Extended Pix Format Priority: 2 Frequency for tuner 0: 0 (0.000000 MHz) Tuner 0: Name : Television Type : Analog TV Capabilities : 62.5 kHz stereo lang1 lang2 freq-bands Frequency range : 0.000 MHz - 0.000 MHz Signal strength/AFC : 0%/0 Current audio mode : lang1 Available subchannels: mono lang2 Video input : 0 (Television: no signal) Audio input : 2 (TV) Video Standard = 0x00001000 NTSC-M Format Video Capture: Width/Height : 720/480 Pixel Format : 'YUYV' (YUYV 4:2:2) Field : Interlaced Bytes per Line : 1440 Size Image : 691200 Colorspace : SMPTE 170M Transfer Function : Default (maps to Rec. 709) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Limited Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 720, Height 480 Default : Left 0, Top 0, Width 720, Height 480 Pixel Aspect: 11/10 Selection Video Capture: crop_default, Left 0, Top 0, Width 720, Height 480, Flags: Selection Video Capture: crop_bounds, Left 0, Top 0, Width 720, Height 480, Flags: Streaming Parameters Video Capture: Frames per second: 29.970 (30000/1001) Read buffers : 2 User Controls brightness 0x00980900 (int) : min=0 max=255 step=1 default=128 value=128 flags=slider contrast 0x00980901 (int) : min=0 max=127 step=1 default=64 value=64 flags=slider saturation 0x00980902 (int) : min=0 max=127 step=1 default=64 value=64 flags=slider hue 0x00980903 (int) : min=-128 max=127 step=1 default=0 value=0 flags=slider volume 0x00980905 (int) : min=0 max=65535 step=655 default=65024 value=65024 flags=slider balance 0x00980906 (int) : min=0 max=65535 step=655 default=32768 value=32768 flags=slider bass 0x00980907 (int) : min=0 max=65535 step=655 default=32768 value=32768 flags=slider treble 0x00980908 (int) : min=0 max=65535 step=655 default=32768 value=32768 flags=slider mute 0x00980909 (bool) : default=0 value=0
You should now be able to proceed to the standard setup process for DVB cards and the notes at mythexternrecorder with v4l2 and vlc on how to set up a non-compressing analogue card for mythexternrecorder noting which video and vbi device numbers were listed in the logs.
eg:
.... kernel: cx23885: cx23885[0]: registered device video0 [v4l2] .... kernel: cx23885: cx23885[0]: registered device vbi0