Unable to scan over the air with Hauppauge QuadHD ATSC

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
daniel.lee.kruse
Newcomer
Posts: 7
Joined: Sat Aug 26, 2017 7:33 pm
United States of America

Unable to scan over the air with Hauppauge QuadHD ATSC

Post by daniel.lee.kruse »

Hauppauge QuadHD
Debian 9 (Stretch)
MythTV 29

Hello,

I have been attempting to diagnose this issue for a few weekends now. During the MythTV backend setup when attempting to do an over-the-air scan, the channels that are detected always report time out, no channels.

I found in one of the forum posts on mythtv.org to do a channel scan with w-scan. The two attached tim-mythtv text files are the results of two different versions of w-scan. They find the signal frequency, but there's no channel listings. The attached media01-mythtv.txt w-scan output does list the channels. media01 is MythTV 0.27 with two Hauppauge 2250 cards on Debian 7 (Wheezy).

I was going to attach the kern.log and dmesg contents, but there is a three attachment limit.

Is MythTV using w-scan, or an in-house written scanner?
Is there a bug with the over-the-air channel scanner?
Am I doing something incorrectly?
What am I not doing that needs to be done?

Is there anyone in the USA using the Hauppague QuadHD with MythTV with scanned in over-the-air channels successfully?

Thanks,
Daniel
Attachments
media01-mythtv.txt
w-scan results from the Debian Whezy respository with MyTV 0.27 and two Hauppauge 2250 cards.
(5.01 KiB) Downloaded 118 times
tim-mythtv2.txt
The latest w-scan results from wirbel-htpc-forum.de with Hauppauge QuadHD.
(4.51 KiB) Downloaded 136 times
tim-mythtv.txt
w-scan results that is in the Debian Stretch repository with Hauppauge QuadHD.
(4.29 KiB) Downloaded 106 times
wesnewell
Senior
Posts: 731
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by wesnewell »

Found this on tuner. Kernel version?
Pros: Very good receiver sensitivity
Works well in a MythTV backend under Linux
4 receivers on one card -- nice value and needs only one slot
Low profile card for compact PVRs

Cons: No direct Hauppauge support for Linux
Requires Linux 4.9+ kernel, so many distros are not PnP. yet
Myth setup can be arduous, but it will work with persistence
Device driver does not recover from sleep
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
daniel.lee.kruse
Newcomer
Posts: 7
Joined: Sat Aug 26, 2017 7:33 pm
United States of America

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by daniel.lee.kruse »

Thanks for the response.

Debian 9 is based on the 4.9 kernel.

I haven't run into this timeout, no channels issue on any of the previous Hauppauge PCI/PCI-e based cards. When I ran into this issue I'm thinking how do I solve this. Searching the web only turned up mentions of w-scan which has the same (or similar) issue as MythTV 29. I haven't found the correct combination of words for the web search (Google, Duckduckgo, etc.) that matches my situation. Am I the first one attempting to set up MythTV 29 on Debian 9 with a Hauppague QuadHD ATSC card?

What I may do is try Debian testing which is based on 4.12. Or I could try another Linux distribution to see if it's an issue with Debian 9.
daniel.lee.kruse
Newcomer
Posts: 7
Joined: Sat Aug 26, 2017 7:33 pm
United States of America

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by daniel.lee.kruse »

I installed Fedora 26 which installed with 4.11 and upgraded 4.12. I installed w_scan and ran the scan. The results are the same as the tim-mythtv.txt and tim-mythtv2.txt.
Windows 10 and WinTV 8 works. May have to go this route for this television series until I can figure out what is going on.
MikeB2013
Senior
Posts: 519
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by MikeB2013 »

Are there any messages in the output from dmesg command relating to missing firmware (dmesg | grep -i fw) or frontends (dmesg | grep -i frontend)

I recently purchased the DVB-T/T2 version of Hauppauge WinTV Quad HD tuner, and it works almost out of the box, on Lubuntu 16.04 (4.10 series kernel) and Debian 9 Stretch (4.9 series kernel) on built from source mythtv 30-pre (which is pretty much the same as mythtv 29 as of writing).

In my case, two firmware files (dvb-demod-si2168-02.fw and dvb-demod-si2168-b40-01.fw ) were needed in /lib/firmware/

With no firmware files errors like below will been seen output from dmesg, (dmesg | grep -i fw) even though the frontends are created.
[ 56.176391] si2168 5-0064: Direct firmware load for dvb-demod-si2168-b40-01.fw failed with error -2
[ 56.176618] si2168 5-0064: Direct firmware load for dvb-demod-si2168-02.fw failed with error -2
[ 56.176619] si2168 5-0064: firmware file 'dvb-demod-si2168-02.fw' not found
[ 56.181594] si2157 6-0060: found a 'Silicon Labs Si2157-A30'
[ 56.230771] si2157 6-0060: firmware version: 3.0.5
[ 56.234855] si2168 5-0064: Direct firmware load for dvb-demod-si2168-02.fw failed with error -2
[ 56.234861] si2168 5-0064: Direct firmware load for dvb-demod-si2168-02.fw failed with error -2
[ 56.234862] si2168 5-0064: firmware file 'dvb-demod-si2168-02.fw' not found

dmesg output for frontends (dmesg|grep -i frontend)
[ 12.753353] cx23885: cx23885_dvb_register() allocating 1 frontend(s)
[ 12.766024] cx23885 0000:04:00.0: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...
[ 12.766348] cx23885: cx23885_dvb_register() allocating 1 frontend(s)
[ 12.773229] cx23885 0000:04:00.0: DVB: registering adapter 1 frontend 0 (Silicon Labs Si2168)...
[ 13.115955] cx23885: cx23885_dvb_register() allocating 1 frontend(s)
[ 13.123563] cx23885 0000:05:00.0: DVB: registering adapter 2 frontend 0 (Silicon Labs Si2168)...
[ 13.123837] cx23885: cx23885_dvb_register() allocating 1 frontend(s)
[ 13.131365] cx23885 0000:05:00.0: DVB: registering adapter 3 frontend 0 (Silicon Labs Si2168)...

The only things I did in configuring mythtv using mythtv-setup was to :
a) change signal and tuning timeouts from 1000 and 3000 to 7000 and 10000 respectively and unchecked Open DVB card on demand in Capture Cards
b) change Max Recordings (default is 1, maximum is 10, I set mine to 5) in Input connections Interactions Between Inputs

Mike
daniel.lee.kruse
Newcomer
Posts: 7
Joined: Sat Aug 26, 2017 7:33 pm
United States of America

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by daniel.lee.kruse »

Thank you for the reply, Mike.

grep -i fw didn't have any matches.
dlk01@dlk01:~$ grep -i fw tim-dmesg-cx23885.txt
dlk01@dlk01:~$

grep -i frontend produced:
dlk01@dlk01:~$ grep -i frontend tim-dmesg-cx23885.txt
[ 2.847983] cx23885_dvb_register() allocating 1 frontend(s)
[ 2.895940] cx23885 0000:04:00.0: DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
[ 2.898021] cx23885_dvb_register() allocating 1 frontend(s)
[ 2.907020] cx23885 0000:04:00.0: DVB: registering adapter 1 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
[ 3.247664] cx23885_dvb_register() allocating 1 frontend(s)
[ 3.254951] cx23885 0000:05:00.0: DVB: registering adapter 2 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
[ 3.256498] cx23885_dvb_register() allocating 1 frontend(s)
[ 3.263673] cx23885 0000:05:00.0: DVB: registering adapter 3 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
dlk01@dlk01:~$

I left the defaults as-is. I'll keep your setting in mind when I get back around attempting to get it working.

As an aside, I had attempted Debian testing (Buster) + deb-multimedia.org with its MythTV targeting Buster. That didn't work either. I may have to consider building MythTV from source instead of using deb-multimedia.org.

I'm glad the Hauppauge QuadHd DVB-T/T2 is working for you!
MikeB2013
Senior
Posts: 519
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by MikeB2013 »

I doubt building mythtv from source will help. I only mentioned it as it was the configuration I ran my tests on.

Mythtv uses the standard linux API (V4L) calls, which means that the drivers built into the kernel are used.
It is these drivers that need to be updated. From my recent tests, no distribution Ubuntu kernel has the latest patches from Hauppauge. It takes time (sometimes very long) for these to be included in V4L subsystem, which are then included in the kernel distribution. You can build the latest V4L subsystem and install, it may have enough patches, but I don't think it has all of them, see https://www.linuxtv.org/wiki/index.php/ ... ce_Drivers

Hauppauge do provide updated kernels for some Ubuntu versions, via a ppa, unfortunately Ubuntu 16.04 LTS (HWE) is not one of them. The latest Hauppauge support is for Ubuntu 17.04. For details see https://github.com/b-rad-NDi/Ubuntu-med ... el-builder

I did a quick test on Lubuntu 17.04 which has mythtv 0.28 (older version - not kept up to date with latest fixes), by adding the Hauppauge ppa (details in the README on github, note they forgot to include the instruction to also do "sudo apt install linux-firmware-hauppauge" which is only needed by some Hauppauge devices). It works for my QuadHD card. However it installs a slightly out of date kernel. Mythtv can be updated to the latest version easily by adding the mythbuntu ppa see https://www.mythtv.org/wiki/Installing_MythTV_on_Ubuntu
Note for the current mythtv version 29 use the 0.29 ppa at this time (if you are upgrading from mythtv 0.28 use sudo apt dist-upgrade instead of sudo apt upgrade)

I also tried out the Hauppauge ppa on a Lubuntu 16.04 LTS (HWE) build. Again it works, but installs a very old kernel (4.4 series). I have no idea what this does for security and compatibility. You also have to adjust grub to get this kernel to boot by default.

The Haupaugge ppa does not work on the daily build of Lubuntu 17.10 due to apt disabling updates from the ppa (no Release file).

So if you want to try I would go for Lubuntu 17.04 including adding the Hauppauge ppa.

Mike
daniel.lee.kruse
Newcomer
Posts: 7
Joined: Sat Aug 26, 2017 7:33 pm
United States of America

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by daniel.lee.kruse »

Thanks for the help! This issue is now resolved.

I set up a test machine with an updated Debian 9 (i don't recall if it was 9.1 or 9.2). uname -srvmio shows Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux. This version of the kernel does permit the scanning of the frequencies to succeed. I don't recall what version of the kernel was in the first release of Debian 9 (where it failed). It looks like Debian is up to 9.3 now. All is good now.
daniel.lee.kruse
Newcomer
Posts: 7
Joined: Sat Aug 26, 2017 7:33 pm
United States of America

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by daniel.lee.kruse »

Hi all,
This is still based on Debian 9 (from dmesg: [ 0.000000] Linux version 4.9.0-6-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07)).
Well, I spoke too soon on this. It works great on a traditional BIOS-based system: Gigabyte MA770-DS3.
When I attempted MythTV and the quadHD ATSC on an EFI-based system it wouldn't recognize any channels. I used w_scan to see that it does see the frequency but doesn't recognize channels. dmesg logs the following on MSI A88XM and Biostar GT3 motherboards:
[ 139.769865] si2157 5-0060: found a 'Silicon Labs Si2157-A30'
[ 139.818719] si2157 5-0060: firmware version: 3.0.5
[ 139.909847] si2157 5-0062: found a 'Silicon Labs Si2157-A30'
[ 139.959191] si2157 5-0062: firmware version: 3.0.5
[ 140.045733] si2157 17-0060: found a 'Silicon Labs Si2157-A30'
[ 140.094051] si2157 17-0060: firmware version: 3.0.5
[ 140.185837] si2157 17-0062: found a 'Silicon Labs Si2157-A30'
[ 140.234941] si2157 17-0062: firmware version: 3.0.5
[ 355.026298] cx23885[0]: mpeg risc op code error
[ 355.026309] cx23885[0]: TS1 B - dma channel status dump
[ 355.026314] cx23885[0]: cmds: init risc lo : 0xf9c00000
[ 355.026318] cx23885[0]: cmds: init risc hi : 0x00000000
[ 355.026323] cx23885[0]: cmds: cdt base : 0x00010870
[ 355.026327] cx23885[0]: cmds: cdt size : 0x0000000a
[ 355.026331] cx23885[0]: cmds: iq base : 0x00010630
[ 355.026336] cx23885[0]: cmds: iq size : 0x00000010
[ 355.026340] cx23885[0]: cmds: risc pc lo : 0xf9c00048
[ 355.026344] cx23885[0]: cmds: risc pc hi : 0x00000000
[ 355.026348] cx23885[0]: cmds: iq wr ptr : 0x00004194
[ 355.026353] cx23885[0]: cmds: iq rd ptr : 0x00004198
[ 355.026357] cx23885[0]: cmds: cdt current : 0x000108b8
[ 355.026361] cx23885[0]: cmds: pci target lo : 0xf9c20000
[ 355.026365] cx23885[0]: cmds: pci target hi : 0x00000000
[ 355.026370] cx23885[0]: cmds: line / byte : 0x00000000
[ 355.026374] cx23885[0]: risc0:
[ 355.026376] 0x1c0002f0 [ write
[ 355.026376] sol
[ 355.026377] eol
[ 355.026378] count=752 ]
[ 355.026382] cx23885[0]: risc1:
[ 355.026383] 0xf9c20000 [ INVALID
[ 355.026384] sol
[ 355.026385] irq1
[ 355.026385] 23
[ 355.026386] 22
[ 355.026386] cnt1
[ 355.026387] count=0 ]
[ 355.026391] cx23885[0]: risc2:
[ 355.026392] 0x00000000 [ INVALID
[ 355.026393] count=0 ]
[ 355.026397] cx23885[0]: risc3:
[ 355.026398] 0x1c0002f0 [ write
[ 355.026398] sol
[ 355.026399] eol
[ 355.026400] count=752 ]
[ 355.026404] cx23885[0]: (0x00010630) iq 0:
[ 355.026405] 0xf9c20000 [ INVALID
[ 355.026405] sol
[ 355.026406] irq1
[ 355.026406] 23
[ 355.026407] 22
[ 355.026408] cnt1
[ 355.026408] count=0 ]
[ 355.026412] cx23885[0]: (0x00010634) iq 1:
[ 355.026413] 0x00000000 [ INVALID
[ 355.026414] count=0 ]
[ 355.026418] cx23885[0]: (0x00010638) iq 2:
[ 355.026419] 0x1c0002f0 [ write
[ 355.026420] sol
[ 355.026420] eol
[ 355.026421] count=752 ]
[ 355.026425] cx23885[0]: iq 3: 0xf9c202f0 [ arg #1 ]
[ 355.026430] cx23885[0]: iq 4: 0x00000000 [ arg #2 ]
[ 355.026434] cx23885[0]: (0x00010644) iq 5:
[ 355.026435] 0x1c0002f0 [ write
[ 355.026435] sol
[ 355.026436] eol
[ 355.026437] count=752 ]
[ 355.026441] cx23885[0]: iq 6: 0xf9c20bc0 [ arg #1 ]
[ 355.026445] cx23885[0]: iq 7: 0x00000000 [ arg #2 ]
[ 355.026449] cx23885[0]: (0x00010650) iq 8:
[ 355.026450] 0x70000000 [ jump
[ 355.026451] count=0 ]
[ 355.026455] cx23885[0]: iq 9: 0x1c0002f0 [ arg #1 ]
[ 355.026460] cx23885[0]: iq a: 0xf9c20000 [ arg #2 ]
[ 355.026464] cx23885[0]: (0x0001065c) iq b:
[ 355.026465] 0x00000000 [ INVALID
[ 355.026465] count=0 ]
[ 355.026470] cx23885[0]: (0x00010660) iq c:
[ 355.026470] 0x1c0002f0 [ write
[ 355.026471] sol
[ 355.026472] eol
[ 355.026472] count=752 ]
[ 355.026477] cx23885[0]: iq d: 0xf9c202f0 [ arg #1 ]
[ 355.026481] cx23885[0]: iq e: 0x00000000 [ arg #2 ]
[ 355.026485] cx23885[0]: (0x0001066c) iq f:
[ 355.026486] 0x1c0002f0 [ write
[ 355.026486] sol
[ 355.026487] eol
[ 355.026488] count=752 ]
[ 355.026492] cx23885[0]: iq 10: 0xaf286180 [ arg #1 ]
[ 355.026497] cx23885[0]: iq 11: 0xab8633f9 [ arg #2 ]
[ 355.026498] cx23885[0]: fifo: 0x00005000 -> 0x6000
[ 355.026499] cx23885[0]: ctrl: 0x00010630 -> 0x10690
[ 355.026503] cx23885[0]: ptr1_reg: 0x00005d30
[ 355.026507] cx23885[0]: ptr2_reg: 0x000108b8
[ 355.026511] cx23885[0]: cnt1_reg: 0x00000017
[ 355.026515] cx23885[0]: cnt2_reg: 0x00000001
[ 363.090312] cx23885[0]: mpeg risc op code error
[ 363.090322] cx23885[0]: TS1 B - dma channel status dump
[ 363.090327] cx23885[0]: cmds: init risc lo : 0xfa1b0000
[ 363.090331] cx23885[0]: cmds: init risc hi : 0x00000000
[ 363.090336] cx23885[0]: cmds: cdt base : 0x00010870
[ 363.090340] cx23885[0]: cmds: cdt size : 0x0000000a
[ 363.090344] cx23885[0]: cmds: iq base : 0x00010630
[ 363.090348] cx23885[0]: cmds: iq size : 0x00000010
[ 363.090352] cx23885[0]: cmds: risc pc lo : 0xfa1b0048
[ 363.090356] cx23885[0]: cmds: risc pc hi : 0x00000000
[ 363.090360] cx23885[0]: cmds: iq wr ptr : 0x00004194
[ 363.090365] cx23885[0]: cmds: iq rd ptr : 0x00004198
[ 363.090369] cx23885[0]: cmds: cdt current : 0x000108a8
[ 363.090373] cx23885[0]: cmds: pci target lo : 0xfec50000
[ 363.090377] cx23885[0]: cmds: pci target hi : 0x00000000
[ 363.090381] cx23885[0]: cmds: line / byte : 0x00000000
[ 363.090385] cx23885[0]: risc0:
[ 363.090387] 0x1c0002f0 [ write
[ 363.090387] sol
[ 363.090388] eol
[ 363.090389] count=752 ]
[ 363.090393] cx23885[0]: risc1:
[ 363.090394] 0xfec50000 [ INVALID
[ 363.090395] sol
[ 363.090395] eol
[ 363.090396] irq2
[ 363.090396] 23
[ 363.090397] 22
[ 363.090397] 18
[ 363.090398] cnt0
[ 363.090399] count=0 ]
[ 363.090403] cx23885[0]: risc2:
[ 363.090403] 0x00000000 [ INVALID
[ 363.090404] count=0 ]
[ 363.090408] cx23885[0]: risc3:
[ 363.090409] 0x1c0002f0 [ write
[ 363.090409] sol
[ 363.090410] eol
[ 363.090410] count=752 ]
[ 363.090415] cx23885[0]: (0x00010630) iq 0:
[ 363.090415] 0xfec50000 [ INVALID
[ 363.090416] sol
[ 363.090416] eol
[ 363.090417] irq2
[ 363.090417] 23
[ 363.090418] 22
[ 363.090418] 18
[ 363.090419] cnt0
[ 363.090420] count=0 ]
[ 363.090424] cx23885[0]: (0x00010634) iq 1:
[ 363.090425] 0x00000000 [ INVALID
[ 363.090425] count=0 ]
[ 363.090429] cx23885[0]: (0x00010638) iq 2:
[ 363.090430] 0x1c0002f0 [ write
[ 363.090430] sol
[ 363.090431] eol
[ 363.090432] count=752 ]
[ 363.090436] cx23885[0]: iq 3: 0xfec502f0 [ arg #1 ]
[ 363.090440] cx23885[0]: iq 4: 0x00000000 [ arg #2 ]
[ 363.090444] cx23885[0]: (0x00010644) iq 5:
[ 363.090445] 0x1c0002f0 [ write
[ 363.090446] sol
[ 363.090446] eol
[ 363.090447] count=752 ]
[ 363.090451] cx23885[0]: iq 6: 0xfec50bc0 [ arg #1 ]
[ 363.090455] cx23885[0]: iq 7: 0x00000000 [ arg #2 ]
[ 363.090459] cx23885[0]: (0x00010650) iq 8:
[ 363.090460] 0x70000000 [ jump
[ 363.090461] count=0 ]
[ 363.090465] cx23885[0]: iq 9: 0x1c0002f0 [ arg #1 ]
[ 363.090469] cx23885[0]: iq a: 0xfec50000 [ arg #2 ]
[ 363.090473] cx23885[0]: (0x0001065c) iq b:
[ 363.090474] 0x00000000 [ INVALID
[ 363.090475] count=0 ]
[ 363.090479] cx23885[0]: (0x00010660) iq c:
[ 363.090480] 0x1c0002f0 [ write
[ 363.090480] sol
[ 363.090481] eol
[ 363.090481] count=752 ]
[ 363.090486] cx23885[0]: iq d: 0xfec502f0 [ arg #1 ]
[ 363.090490] cx23885[0]: iq e: 0x00000000 [ arg #2 ]
[ 363.090494] cx23885[0]: (0x0001066c) iq f:
[ 363.090495] 0x1c0002f0 [ write
[ 363.090495] sol
[ 363.090496] eol
[ 363.090496] count=752 ]
[ 363.090501] cx23885[0]: iq 10: 0xaf286180 [ arg #1 ]
[ 363.090505] cx23885[0]: iq 11: 0xab8633f9 [ arg #2 ]
[ 363.090506] cx23885[0]: fifo: 0x00005000 -> 0x6000
[ 363.090507] cx23885[0]: ctrl: 0x00010630 -> 0x10690
[ 363.090511] cx23885[0]: ptr1_reg: 0x00005a40
[ 363.090515] cx23885[0]: ptr2_reg: 0x000108a8
[ 363.090519] cx23885[0]: cnt1_reg: 0x00000017
[ 363.090523] cx23885[0]: cnt2_reg: 0x00000003
[ 369.138447] cx23885[0]: mpeg risc op code error
[ 369.138457] cx23885[0]: TS1 B - dma channel status dump
[ 369.138462] cx23885[0]: cmds: init risc lo : 0xf9c00000
[ 369.138467] cx23885[0]: cmds: init risc hi : 0x00000000
[ 369.138471] cx23885[0]: cmds: cdt base : 0x00010870
[ 369.138476] cx23885[0]: cmds: cdt size : 0x0000000a
[ 369.138480] cx23885[0]: cmds: iq base : 0x00010630
[ 369.138484] cx23885[0]: cmds: iq size : 0x00000010
[ 369.138489] cx23885[0]: cmds: risc pc lo : 0xf9c00048
[ 369.138493] cx23885[0]: cmds: risc pc hi : 0x00000000
[ 369.138497] cx23885[0]: cmds: iq wr ptr : 0x00004194
[ 369.138502] cx23885[0]: cmds: iq rd ptr : 0x00004198
[ 369.138506] cx23885[0]: cmds: cdt current : 0x000108b8
[ 369.138510] cx23885[0]: cmds: pci target lo : 0xf9c20000
[ 369.138515] cx23885[0]: cmds: pci target hi : 0x00000000
[ 369.138519] cx23885[0]: cmds: line / byte : 0x00000000
[ 369.138523] cx23885[0]: risc0:
[ 369.138525] 0x1c0002f0 [ write
[ 369.138526] sol
[ 369.138527] eol
[ 369.138528] count=752 ]
[ 369.138532] cx23885[0]: risc1:
[ 369.138533] 0xf9c20000 [ INVALID
[ 369.138534] sol
[ 369.138534] irq1
[ 369.138535] 23
[ 369.138536] 22
[ 369.138536] cnt1
[ 369.138537] count=0 ]
[ 369.138541] cx23885[0]: risc2:
[ 369.138542] 0x00000000 [ INVALID
[ 369.138543] count=0 ]
[ 369.138547] cx23885[0]: risc3:
[ 369.138548] 0x1c0002f0 [ write
[ 369.138549] sol
[ 369.138549] eol
[ 369.138550] count=752 ]
[ 369.138554] cx23885[0]: (0x00010630) iq 0:
[ 369.138555] 0xf9c20000 [ INVALID
[ 369.138556] sol
[ 369.138557] irq1
[ 369.138557] 23
[ 369.138558] 22
[ 369.138559] cnt1
[ 369.138559] count=0 ]
[ 369.138564] cx23885[0]: (0x00010634) iq 1:
[ 369.138565] 0x00000000 [ INVALID
[ 369.138565] count=0 ]
[ 369.138569] cx23885[0]: (0x00010638) iq 2:
[ 369.138570] 0x1c0002f0 [ write
[ 369.138571] sol
[ 369.138572] eol
[ 369.138572] count=752 ]
[ 369.138577] cx23885[0]: iq 3: 0xf9c202f0 [ arg #1 ]
[ 369.138581] cx23885[0]: iq 4: 0x00000000 [ arg #2 ]
[ 369.138586] cx23885[0]: (0x00010644) iq 5:
[ 369.138587] 0x1c0002f0 [ write
[ 369.138587] sol
[ 369.138588] eol
[ 369.138589] count=752 ]
[ 369.138593] cx23885[0]: iq 6: 0xf9c20bc0 [ arg #1 ]
[ 369.138597] cx23885[0]: iq 7: 0x00000000 [ arg #2 ]
[ 369.138602] cx23885[0]: (0x00010650) iq 8:
[ 369.138603] 0x70000000 [ jump
[ 369.138603] count=0 ]
[ 369.138608] cx23885[0]: iq 9: 0x1c0002f0 [ arg #1 ]
[ 369.138612] cx23885[0]: iq a: 0xf9c20000 [ arg #2 ]
[ 369.138617] cx23885[0]: (0x0001065c) iq b:
[ 369.138617] 0x00000000 [ INVALID
[ 369.138618] count=0 ]
[ 369.138622] cx23885[0]: (0x00010660) iq c:
[ 369.138623] 0x1c0002f0 [ write
[ 369.138624] sol
[ 369.138624] eol
[ 369.138625] count=752 ]
[ 369.138630] cx23885[0]: iq d: 0xf9c202f0 [ arg #1 ]
[ 369.138634] cx23885[0]: iq e: 0x00000000 [ arg #2 ]
[ 369.138638] cx23885[0]: (0x0001066c) iq f:
[ 369.138639] 0x1c0002f0 [ write
[ 369.138640] sol
[ 369.138641] eol
[ 369.138641] count=752 ]
[ 369.138646] cx23885[0]: iq 10: 0xaf286180 [ arg #1 ]
[ 369.138650] cx23885[0]: iq 11: 0xab8633f9 [ arg #2 ]
[ 369.138652] cx23885[0]: fifo: 0x00005000 -> 0x6000
[ 369.138653] cx23885[0]: ctrl: 0x00010630 -> 0x10690
[ 369.138657] cx23885[0]: ptr1_reg: 0x00005df0
[ 369.138661] cx23885[0]: ptr2_reg: 0x000108b8
[ 369.138665] cx23885[0]: cnt1_reg: 0x00000023
[ 369.138669] cx23885[0]: cnt2_reg: 0x00000001
[ 377.202478] cx23885[0]: mpeg risc op code error
[ 377.202492] cx23885[0]: TS1 B - dma channel status dump
[ 377.202500] cx23885[0]: cmds: init risc lo : 0xfa1b0000
[ 377.202506] cx23885[0]: cmds: init risc hi : 0x00000000
[ 377.202511] cx23885[0]: cmds: cdt base : 0x00010870
[ 377.202515] cx23885[0]: cmds: cdt size : 0x0000000a
[ 377.202520] cx23885[0]: cmds: iq base : 0x00010630
[ 377.202524] cx23885[0]: cmds: iq size : 0x00000010
[ 377.202529] cx23885[0]: cmds: risc pc lo : 0xfa1b0048
[ 377.202533] cx23885[0]: cmds: risc pc hi : 0x00000000
[ 377.202537] cx23885[0]: cmds: iq wr ptr : 0x00004194
[ 377.202541] cx23885[0]: cmds: iq rd ptr : 0x00004198
[ 377.202546] cx23885[0]: cmds: cdt current : 0x00010878
[ 377.202550] cx23885[0]: cmds: pci target lo : 0xfec50000
[ 377.202554] cx23885[0]: cmds: pci target hi : 0x00000000
[ 377.202558] cx23885[0]: cmds: line / byte : 0x00000000
[ 377.202563] cx23885[0]: risc0:
[ 377.202565] 0x1c0002f0 [ write
[ 377.202566] sol
[ 377.202566] eol
[ 377.202567] count=752 ]
[ 377.202571] cx23885[0]: risc1:
[ 377.202572] 0xfec50000 [ INVALID
[ 377.202573] sol
[ 377.202574] eol
[ 377.202574] irq2
[ 377.202575] 23
[ 377.202575] 22
[ 377.202576] 18
[ 377.202577] cnt0
[ 377.202578] count=0 ]
[ 377.202581] cx23885[0]: risc2:
[ 377.202582] 0x00000000 [ INVALID
[ 377.202583] count=0 ]
[ 377.202587] cx23885[0]: risc3:
[ 377.202588] 0x1c0002f0 [ write
[ 377.202589] sol
[ 377.202589] eol
[ 377.202590] count=752 ]
[ 377.202594] cx23885[0]: (0x00010630) iq 0:
[ 377.202595] 0xfec50000 [ INVALID
[ 377.202596] sol
[ 377.202596] eol
[ 377.202597] irq2
[ 377.202597] 23
[ 377.202598] 22
[ 377.202598] 18
[ 377.202599] cnt0
[ 377.202600] count=0 ]
[ 377.202604] cx23885[0]: (0x00010634) iq 1:
[ 377.202605] 0x00000000 [ INVALID
[ 377.202606] count=0 ]
[ 377.202610] cx23885[0]: (0x00010638) iq 2:
[ 377.202611] 0x1c0002f0 [ write
[ 377.202611] sol
[ 377.202612] eol
[ 377.202612] count=752 ]
[ 377.202617] cx23885[0]: iq 3: 0xfec502f0 [ arg #1 ]
[ 377.202621] cx23885[0]: iq 4: 0x00000000 [ arg #2 ]
[ 377.202625] cx23885[0]: (0x00010644) iq 5:
[ 377.202626] 0x1c0002f0 [ write
[ 377.202627] sol
[ 377.202627] eol
[ 377.202628] count=752 ]
[ 377.202633] cx23885[0]: iq 6: 0xfec50bc0 [ arg #1 ]
[ 377.202637] cx23885[0]: iq 7: 0x00000000 [ arg #2 ]
[ 377.202641] cx23885[0]: (0x00010650) iq 8:
[ 377.202642] 0x70000000 [ jump
[ 377.202643] count=0 ]
[ 377.202647] cx23885[0]: iq 9: 0x1c0002f0 [ arg #1 ]
[ 377.202651] cx23885[0]: iq a: 0xfec50000 [ arg #2 ]
[ 377.202656] cx23885[0]: (0x0001065c) iq b:
[ 377.202656] 0x00000000 [ INVALID
[ 377.202657] count=0 ]
[ 377.202661] cx23885[0]: (0x00010660) iq c:
[ 377.202662] 0x1c0002f0 [ write
[ 377.202663] sol
[ 377.202663] eol
[ 377.202664] count=752 ]
[ 377.202668] cx23885[0]: iq d: 0xfec502f0 [ arg #1 ]
[ 377.202673] cx23885[0]: iq e: 0x00000000 [ arg #2 ]
[ 377.202677] cx23885[0]: (0x0001066c) iq f:
[ 377.202677] 0x1c0002f0 [ write
[ 377.202678] sol
[ 377.202679] eol
[ 377.202679] count=752 ]
[ 377.202684] cx23885[0]: iq 10: 0xaf286180 [ arg #1 ]
[ 377.202688] cx23885[0]: iq 11: 0xab8633f9 [ arg #2 ]
[ 377.202689] cx23885[0]: fifo: 0x00005000 -> 0x6000
[ 377.202691] cx23885[0]: ctrl: 0x00010630 -> 0x10690
[ 377.202695] cx23885[0]: ptr1_reg: 0x00005170
[ 377.202699] cx23885[0]: ptr2_reg: 0x00010878
[ 377.202703] cx23885[0]: cnt1_reg: 0x00000017
[ 377.202707] cx23885[0]: cnt2_reg: 0x00000009
[ 383.250599] cx23885[0]: mpeg risc op code error
[ 383.250609] cx23885[0]: TS1 B - dma channel status dump
[ 383.250615] cx23885[0]: cmds: init risc lo : 0xf9c00000
[ 383.250619] cx23885[0]: cmds: init risc hi : 0x00000000
[ 383.250624] cx23885[0]: cmds: cdt base : 0x00010870
[ 383.250628] cx23885[0]: cmds: cdt size : 0x0000000a
[ 383.250632] cx23885[0]: cmds: iq base : 0x00010630
[ 383.250637] cx23885[0]: cmds: iq size : 0x00000010
[ 383.250641] cx23885[0]: cmds: risc pc lo : 0xf9c00018
[ 383.250645] cx23885[0]: cmds: risc pc hi : 0x00000000
[ 383.250649] cx23885[0]: cmds: iq wr ptr : 0x00004192
[ 383.250653] cx23885[0]: cmds: iq rd ptr : 0x0000418c
[ 383.250658] cx23885[0]: cmds: cdt current : 0x00010898
[ 383.250662] cx23885[0]: cmds: pci target lo : 0xf9c22f00
[ 383.250666] cx23885[0]: cmds: pci target hi : 0x00000000
[ 383.250670] cx23885[0]: cmds: line / byte : 0x00100000
[ 383.250675] cx23885[0]: risc0:
[ 383.250677] 0x1c0002f0 [ write
[ 383.250677] sol
[ 383.250678] eol
[ 383.250679] count=752 ]
[ 383.250683] cx23885[0]: risc1:
[ 383.250684] 0xf9c22c10 [ INVALID
[ 383.250685] sol
[ 383.250685] irq1
[ 383.250686] 23
[ 383.250687] 22
[ 383.250687] cnt1
[ 383.250688] 13
[ 383.250689] count=3088 ]
[ 383.250693] cx23885[0]: risc2:
[ 383.250694] 0x00000000 [ INVALID
[ 383.250694] count=0 ]
[ 383.250698] cx23885[0]: risc3:
[ 383.250699] 0x1c0002f0 [ write
[ 383.250700] sol
[ 383.250700] eol
[ 383.250701] count=752 ]
[ 383.250705] cx23885[0]: (0x00010630) iq 0:
[ 383.250706] 0x1c0002f0 [ write
[ 383.250707] sol
[ 383.250707] eol
[ 383.250708] count=752 ]
[ 383.250713] cx23885[0]: iq 1: 0xf9c231f0 [ arg #1 ]
[ 383.250717] cx23885[0]: iq 2: 0x00000000 [ arg #2 ]
[ 383.250721] cx23885[0]: (0x0001063c) iq 3:
[ 383.250722] 0x1c0002f0 [ write
[ 383.250723] sol
[ 383.250723] eol
[ 383.250724] count=752 ]
[ 383.250728] cx23885[0]: iq 4: 0xf9c234e0 [ arg #1 ]
[ 383.250733] cx23885[0]: iq 5: 0x00000000 [ arg #2 ]
[ 383.250737] cx23885[0]: (0x00010648) iq 6:
[ 383.250738] 0x1c0002f0 [ write
[ 383.250738] sol
[ 383.250739] eol
[ 383.250739] count=752 ]
[ 383.250744] cx23885[0]: iq 7: 0xf9c22c10 [ arg #1 ]
[ 383.250748] cx23885[0]: iq 8: 0x00000000 [ arg #2 ]
[ 383.250752] cx23885[0]: (0x00010654) iq 9:
[ 383.250753] 0x1c0002f0 [ write
[ 383.250754] sol
[ 383.250754] eol
[ 383.250755] count=752 ]
[ 383.250759] cx23885[0]: iq a: 0xf9c22f00 [ arg #1 ]
[ 383.250763] cx23885[0]: iq b: 0x00000000 [ arg #2 ]
[ 383.250768] cx23885[0]: (0x00010660) iq c:
[ 383.250769] 0x00000000 [ INVALID
[ 383.250769] count=0 ]
[ 383.250773] cx23885[0]: (0x00010664) iq d:
[ 383.250774] 0x1c0002f0 [ write
[ 383.250775] sol
[ 383.250775] eol
[ 383.250776] count=752 ]
[ 383.250780] cx23885[0]: iq e: 0xf9c22340 [ arg #1 ]
[ 383.250785] cx23885[0]: iq f: 0x00000000 [ arg #2 ]
[ 383.250786] cx23885[0]: fifo: 0x00005000 -> 0x6000
[ 383.250787] cx23885[0]: ctrl: 0x00010630 -> 0x10690
[ 383.250791] cx23885[0]: ptr1_reg: 0x00005a40
[ 383.250795] cx23885[0]: ptr2_reg: 0x000108a8
[ 383.250799] cx23885[0]: cnt1_reg: 0x00000017
[ 383.250803] cx23885[0]: cnt2_reg: 0x00000003
[ 391.314663] cx23885[0]: mpeg risc op code error
[ 391.314673] cx23885[0]: TS1 B - dma channel status dump
[ 391.314678] cx23885[0]: cmds: init risc lo : 0xfa1b0000
[ 391.314683] cx23885[0]: cmds: init risc hi : 0x00000000
[ 391.314687] cx23885[0]: cmds: cdt base : 0x00010870
[ 391.314692] cx23885[0]: cmds: cdt size : 0x0000000a
[ 391.314696] cx23885[0]: cmds: iq base : 0x00010630
[ 391.314700] cx23885[0]: cmds: iq size : 0x00000010
[ 391.314704] cx23885[0]: cmds: risc pc lo : 0xfa1b0048
[ 391.314709] cx23885[0]: cmds: risc pc hi : 0x00000000
[ 391.314713] cx23885[0]: cmds: iq wr ptr : 0x00004194
[ 391.314717] cx23885[0]: cmds: iq rd ptr : 0x00004198
[ 391.314721] cx23885[0]: cmds: cdt current : 0x00010888
[ 391.314726] cx23885[0]: cmds: pci target lo : 0xfec50000
[ 391.314730] cx23885[0]: cmds: pci target hi : 0x00000000
[ 391.314734] cx23885[0]: cmds: line / byte : 0x00000000
[ 391.314738] cx23885[0]: risc0:
[ 391.314740] 0x1c0002f0 [ write
[ 391.314741] sol
[ 391.314742] eol
[ 391.314743] count=752 ]
[ 391.314747] cx23885[0]: risc1:
[ 391.314748] 0xfec50000 [ INVALID
[ 391.314749] sol
[ 391.314749] eol
[ 391.314750] irq2
[ 391.314750] 23
[ 391.314751] 22
[ 391.314752] 18
[ 391.314752] cnt0
[ 391.314753] count=0 ]
[ 391.314757] cx23885[0]: risc2:
[ 391.314758] 0x00000000 [ INVALID
[ 391.314759] count=0 ]
[ 391.314763] cx23885[0]: risc3:
[ 391.314764] 0x1c0002f0 [ write
[ 391.314764] sol
[ 391.314765] eol
[ 391.314766] count=752 ]
[ 391.314770] cx23885[0]: (0x00010630) iq 0:
[ 391.314771] 0xfec50000 [ INVALID
[ 391.314771] sol
[ 391.314772] eol
[ 391.314772] irq2
[ 391.314773] 23
[ 391.314773] 22
[ 391.314774] 18
[ 391.314775] cnt0
[ 391.314775] count=0 ]
[ 391.314779] cx23885[0]: (0x00010634) iq 1:
[ 391.314780] 0x00000000 [ INVALID
[ 391.314781] count=0 ]
[ 391.314785] cx23885[0]: (0x00010638) iq 2:
[ 391.314786] 0x1c0002f0 [ write
[ 391.314787] sol
[ 391.314787] eol
[ 391.314788] count=752 ]
[ 391.314792] cx23885[0]: iq 3: 0xfec502f0 [ arg #1 ]
[ 391.314797] cx23885[0]: iq 4: 0x00000000 [ arg #2 ]
[ 391.314801] cx23885[0]: (0x00010644) iq 5:
[ 391.314802] 0x1c0002f0 [ write
[ 391.314802] sol
[ 391.314803] eol
[ 391.314804] count=752 ]
[ 391.314808] cx23885[0]: iq 6: 0xfec50bc0 [ arg #1 ]
[ 391.314812] cx23885[0]: iq 7: 0x00000000 [ arg #2 ]
[ 391.314816] cx23885[0]: (0x00010650) iq 8:
[ 391.314817] 0x70000000 [ jump
[ 391.314818] count=0 ]
[ 391.314823] cx23885[0]: iq 9: 0x1c0002f0 [ arg #1 ]
[ 391.314827] cx23885[0]: iq a: 0xfec50000 [ arg #2 ]
[ 391.314831] cx23885[0]: (0x0001065c) iq b:
[ 391.314832] 0x00000000 [ INVALID
[ 391.314833] count=0 ]
[ 391.314837] cx23885[0]: (0x00010660) iq c:
[ 391.314838] 0x1c0002f0 [ write
[ 391.314838] sol
[ 391.314839] eol
[ 391.314839] count=752 ]
[ 391.314844] cx23885[0]: iq d: 0xfec502f0 [ arg #1 ]
[ 391.314848] cx23885[0]: iq e: 0x00000000 [ arg #2 ]
[ 391.314852] cx23885[0]: (0x0001066c) iq f:
[ 391.314853] 0x1c0002f0 [ write
[ 391.314853] sol
[ 391.314854] eol
[ 391.314855] count=752 ]
[ 391.314859] cx23885[0]: iq 10: 0xaf286180 [ arg #1 ]
[ 391.314864] cx23885[0]: iq 11: 0xab8633f9 [ arg #2 ]
[ 391.314865] cx23885[0]: fifo: 0x00005000 -> 0x6000
[ 391.314866] cx23885[0]: ctrl: 0x00010630 -> 0x10690
[ 391.314870] cx23885[0]: ptr1_reg: 0x000055d0
[ 391.314874] cx23885[0]: ptr2_reg: 0x00010888
[ 391.314878] cx23885[0]: cnt1_reg: 0x0000002e
[ 391.314882] cx23885[0]: cnt2_reg: 0x00000007

This dump doesn't occur on a traditional BIOS motherboard, but does on two EFI-based motherboards.

I did find this posting viewtopic.php?t=2498. The title contains Ubuntu 17.10. That uses the 4.13 version of the Linux kernel. I don't recall the OP mentioning what motherboards he tested against. Is it possible that between 4.9 and 4.13 this mpeg risc op code error has been fixed?
Thanks!!
MikeB2013
Senior
Posts: 519
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by MikeB2013 »

As is usual things have moved on since some of my original posts.

I don't think EFI is the issue, as the mpeg risc error is known and is usually seen AMD cpus particularly Ryzen and some XEON CPUs and has been fixed in latest V4L, which has to be installed manually on older kernels see https://www.linuxtv.org/wiki/index.php/ ... ce_Drivers

For Debian I would update to latest V4L and try that. Note there have been a lot of changes in V4L recently which broke V4L build on Ubuntu systems, now fixed, don't know about Debian. There are also a few other Hauppauge patches which have yet to be incorporated in latest V4L, but these are not related to mpeg risc error.

For Ubuntu LTS (16.04 and 18.04) the easiest way is to use Hauppauge ppa which uses later V4L including some other Hauppauge patches which have yet to be included in V4L see https://github.com/b-rad-NDi/Ubuntu-med ... el-builder
This ppa also supports Ubuntu 17.10, which is about to go End of Life.

Mike
daniel.lee.kruse
Newcomer
Posts: 7
Joined: Sat Aug 26, 2017 7:33 pm
United States of America

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by daniel.lee.kruse »

I gave Mint 19, which is based on Ubuntu LTS 18.04, a try. I upgraded the linux image to the latest in the apt repo. uname -a reports inux tim-MS-7903 4.15.0-24-generic #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux. It produces the same errors.

I wonder if this is the fix: https://git.linuxtv.org/media_tree.git/ ... 5e56ac7720. It is dated May 2018. This would only be in the 4.18 kernel, I think. I hope it fixes it for the AMD Bulldozer architecture too as it's an A8-Kaveri 7600 where the QuadHD card resides.

Will have to use Windows and the WinTV recording software through the fall. I don't think any of the distributions will have a version with the 4.18 kernel before the middle of September 2018. 4.18-rc4 was release today. 4.18 should be released early to mid-August 2018.

Thanks for your response! It is greatly appreciated.
MikeB2013
Senior
Posts: 519
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by MikeB2013 »

Yes, that is the fix.

None of the packaged kernels 4.13, 4.15 in apt repos etc will have the fix, but existing kernels can be updated to the latest V4L media tree (which does include the mpeg risc error fix) see https://www.linuxtv.org/wiki/index.php/ ... ce_Drivers

Just use the "Basic" approach
didierj.richard
Newcomer
Posts: 3
Joined: Mon Nov 05, 2018 11:47 pm
France

Re: Unable to scan over the air with Hauppauge QuadHD ATSC

Post by didierj.richard »

Hello
Thanks to all who provided hints from this thread.
I tested on Debian's Stretch Backports which include a "linux-image-4.18.0-0.bpo.1-amd64" package, showing a uname version as of 4.18.6-1~bpo9+1
With that kernel and MythTV version 0.28.2-dmo1+deb9u1 , there are no more errors during channel scan and I could get all ~30 public French DVB-T channels.
I also got all four tuners recognised as adapter{0,1,2,3}, tested with two PCs running Kodi and MythTV PVR-client watching two different channels simultaneously OK.
Card is branded as an "Hauppauge WinTV-quadHD", detected at bootup as :

[ 24.006566] cx23885: CORE cx23885[0]: subsystem: 0070:6b28, board: Hauppauge WinTV-QuadHD-DVB(885) [card=60,autodetected]
[ 24.751131] tveeprom: Hauppauge model 166201, rev B4I6, serial# 4035<snip>30
[ 24.751530] cx23885: cx23885[0]: hauppauge eeprom: model=166201
[ 24.810369] cx23885: CORE cx23885[1]: subsystem: 0070:6a28, board: Hauppauge WinTV-QuadHD-DVB(885) [card=60,autodetected]
[ 25.455455] tveeprom: Hauppauge model 166200, rev B4I6, serial# 4035<snip>30
Post Reply