<div dir="ltr"><div>Greetings,</div><div><br></div><div>This is  a little off topic - I'm struggling to get my capture card to work.</div><div><br></div><div>I'm starting with w_scan and mplayer to test things out before configuring Myth.</div><div><br></div><div>Here is my card, it is a Hauppauge WinTV Quad HD PCIe:<br></div><div><br></div><div>$ lspci -vvv</div><div>[snip]<br></div><div>03:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)<br>        Subsystem: Hauppauge computer works Inc. WinTV-quadHD<br>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-<br>        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-<br>        Latency: 0, Cache Line Size: 64 bytes<br>        Interrupt: pin A routed to IRQ 19<br>        IOMMU group: 11<br>        Region 0: Memory at a1200000 (64-bit, non-prefetchable) [size=2M]<br>        Capabilities: <access denied><br>        Kernel driver in use: cx23885<br>        Kernel modules: cx23885<br><br>04:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)<br>        Subsystem: Hauppauge computer works Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb<br>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-<br>        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-<br>        Latency: 0, Cache Line Size: 64 bytes<br>        Interrupt: pin A routed to IRQ 16<br>        IOMMU group: 12<br>        Region 0: Memory at a1000000 (64-bit, non-prefetchable) [size=2M]<br>        Capabilities: <access denied><br>        Kernel driver in use: cx23885<br>        Kernel modules: cx23885<br></div><div><br></div><div>It seems that the kernel is recognizing it okay:</div><div><br></div><div>$ sudo journalctl -k -b</div><div>[snip]<br></div><div>Aug 15 19:59:23 zeus kernel: cx23885: cx23885 driver version 0.0.4 loaded<br>Aug 15 19:59:23 zeus kernel: cx23885: CORE cx23885[0]: subsystem: 0070:6a18, board: Hauppauge WinTV-QuadHD-ATSC [card=57,autodetected]<br>Aug 15 19:59:23 zeus kernel: tveeprom: Hauppauge model 165100, rev B4I6, serial# 4036150199<br>Aug 15 19:59:23 zeus kernel: tveeprom: MAC address is 00:0d:fe:92:c3:b7<br>Aug 15 19:59:23 zeus kernel: tveeprom: tuner model is SiLabs Si2157 (idx 186, type 4)<br>Aug 15 19:59:23 zeus kernel: tveeprom: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)<br>Aug 15 19:59:23 zeus kernel: tveeprom: audio processor is CX23888 (idx 40)<br>Aug 15 19:59:23 zeus kernel: tveeprom: decoder processor is CX23888 (idx 34)<br>Aug 15 19:59:23 zeus kernel: tveeprom: has no radio, has IR receiver, has no IR transmitter<br>Aug 15 19:59:23 zeus kernel: cx23885: cx23885[0]: hauppauge eeprom: model=165100<br>Aug 15 19:59:23 zeus kernel: cx25840 8-0044: cx23888 A/V decoder found @ 0x88 (cx23885[0])<br>Aug 15 19:59:23 zeus kernel: cx25840 8-0044: firmware: direct-loading firmware v4l-cx23885-avcore-01.fw<br>Aug 15 19:59:23 zeus kernel: cx25840 8-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)<br>Aug 15 19:59:23 zeus kernel: cx23885: cx23885_dvb_register() allocating 1 frontend(s)<br>Aug 15 19:59:23 zeus kernel: cx23885: cx23885[0]: cx23885 based dvb card<br>Aug 15 19:59:23 zeus kernel: cx23885: dvb_register(): board=57 port=1<br>Aug 15 19:59:23 zeus kernel: si2157 7-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached<br>Aug 15 19:59:23 zeus kernel: dvbdev: DVB: registering new adapter (cx23885[0])<br>Aug 15 19:59:23 zeus kernel: cx23885 0000:03:00.0: DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...</div><div><br></div><div>Using w_scan seems to find some frequencies that are usable:</div><div><br></div><div>$ w_scan -fa -A1 -c US -X<br>w_scan -fa -A1 -c US -X<br>w_scan version 20170107 (compiled for DVB API 5.11)<br>using settings for UNITED STATES<br>ATSC<br>VSB US/CA, DVB-T TW<br>scan type TERRCABLE_ATSC, channellist 1<br>output format czap/tzap/szap/xine<br>WARNING: could not guess your codepage. Falling back to 'UTF-8'<br>output charset 'UTF-8', use -C <charset> to override<br>Info: using DVB adapter auto detection.<br>        /dev/dvb/adapter0/frontend0 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)<br>        /dev/dvb/adapter1/frontend0 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)<br>        /dev/dvb/adapter2/frontend0 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)<br>        /dev/dvb/adapter3/frontend0 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)<br>Using TERRCABLE_ATSC frontend (adapter /dev/dvb/adapter0/frontend0)<br>-_-_-_-_ Getting frontend capabilities-_-_-_-_<br>Using DVB API 5.11<br>frontend 'LG Electronics LGDT3306A VSB/QAM Frontend' supports<br>INVERSION_AUTO<br>8VSB<br>QAM_64<br>QAM_256<br>FREQ (54.00MHz ... 858.00MHz)<br>-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_<br>57000: 8VSB(time: 00:00.428)<br>63000: 8VSB(time: 00:03.560)<br>69000: 8VSB(time: 00:06.692)<br>79000: 8VSB(time: 00:09.824)<br>85000: 8VSB(time: 00:12.956)<br>177000: 8VSB(time: 00:16.088)<br>183000: 8VSB(time: 00:19.216)         signal ok:        8VSB     f=183000 kHz (0:0:0)<br>189000: 8VSB(time: 00:19.912)</div><div>[snip]</div><div><br></div><div>When I try to use that frequency in mplayer I don't get the video like I would expect:</div><div><br></div><div>$ grep WDSEpbs ~/.mplayer/channels.conf<br>WDSEpbs:183000000:8VSB:49:52:1</div><div><br></div><div>$ mplayer dvb://WDSEpbs<br></div><div>MPlayer 1.3.0 (Debian), built with gcc-10 (C) 2000-2016 MPlayer Team<br>do_connect: could not connect to socket<br>connect: No such file or directory<br>Failed to open LIRC support. You will not be able to use your remote control.<br><br>Playing dvb://WDSEpbs.<br>dvb_tune Freq: 183000000<br>dvb_streaming_read, attempt N. 6 failed with errno 0 when reading 4096 bytes<br>dvb_streaming_read, attempt N. 5 failed with errno 0 when reading 4096 bytes<br>dvb_streaming_read, attempt N. 4 failed with errno 0 when reading 4096 bytes<br>dvb_streaming_read, attempt N. 3 failed with errno 0 when reading 4096 bytes<br>dvb_streaming_read, attempt N. 2 failed with errno 0 when reading 4096 bytes<br>dvb_streaming_read, attempt N. 1 failed with errno 0 when reading 4096 bytes<br>dvb_streaming_read, return 0 bytes<br><br>Exiting... (End of file)</div><div><br></div><div>And I don't get any output.</div><div><br></div><div>If I look at the kernel messages I see some cryptic information:</div><div><br></div><div>$ sudo journalctl -k</div><div>[snip]<br></div><div>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]: mpeg risc op code error<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]: TS1 B - dma channel status dump<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: init risc lo   : 0xff17f000<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: init risc hi   : 0x00000000<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: cdt base       : 0x00010870<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: cdt size       : 0x0000000a<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: iq base        : 0x00010630<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: iq size        : 0x00000010<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: risc pc lo     : 0xff17f018<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: risc pc hi     : 0x00000000<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: iq wr ptr      : 0x00004192<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: iq rd ptr      : 0x0000418c<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: cdt current    : 0x00010888<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: pci target lo  : 0xff27ac10<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: pci target hi  : 0x00000000<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   cmds: line / byte    : 0x000f0000<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   risc0: <br>Sep 16 10:28:27 zeus kernel: 0x1c0002f0 [ write sol eol count=752 ]<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   risc1: <br>Sep 16 10:28:27 zeus kernel: 0xff27a920 [ INVALID sol eol irq2 irq1 21 18 cnt1 cnt0 resync 13 count=2336 ]<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   risc2: <br>Sep 16 10:28:27 zeus kernel: 0x00000000 [ INVALID count=0 ]<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   risc3: <br>Sep 16 10:28:27 zeus kernel: 0x1c0002f0 [ write sol eol count=752 ]<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   (0x00010630) iq 0: <br>Sep 16 10:28:27 zeus kernel: 0x1c0002f0 [ write sol eol count=752 ]<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   iq 1: 0xff27af00 [ arg #1 ]<br>Sep 16 10:28:27 zeus kernel: cx23885: cx23885[0]:   iq 2: 0x00000000 [ arg #2 ]<br></div><div><br></div><div>The top line in the above kernel messages is highlighted red:</div><div><br></div><div>mpeg risc op code error</div><div><br></div><div>and I've searched on that string, but didn't get much for answers.</div><div><br></div><div>Does anyone have any insight for what I'm missing here?</div><div><br></div><div>Thanks for any help!</div><div><br></div><div>-m<br></div></div>