<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 12, 2018 at 11:03 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 13 Apr 2018 00:55:11 +0000, you wrote:<br>
<br>
>FIrst - my apologies - i was out of town for the whole week and couldn't<br>
>reply back. So let me start off by saying that when I put the antenna<br>
>directly in my TV - i get all the OTA channels (except CBS - channel 2) and<br>
>this is without fiddling with this. So as far as the signals go - seems the<br>
>signals and the antenna are doing great job.<br>
><br>
>This brings now to it working with MythTV. I think the problem may be<br>
>getting "drivers" for it? Not sure how to get mythtv-setup to recognize it.<br>
><br>
>SO my question here is - how do I confirm my input card is working? I have<br>
>PVR-150 as well as AverTVHD. Here is what I get when I try to find it:<br>
><br>
> lspci -vvnn | grep Aver<br>
>        Subsystem: Avermedia Technologies Inc AVerTVHD MCE A180 [1461:1044]<br>
>pcilib: sysfs_read_vpd: read failed: Connection timed out<br>
><br>
>lspci -vvnn | grep PVR<br>
>        Subsystem: Hauppauge computer works Inc. WinTV PVR 150 [0070:8801]<br>
>pcilib: sysfs_read_vpd: read failed: Connection timed out<br>
><br>
>With my limited knowledge, I went to dmesg and here's what I found:<br>
><br>
>ivtv 0000:03:01.0: firmware: requesting v4l-cx2341x-enc.fw<br>
>ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)<br>
>ivtv0: Encoder revision: 0x02060039<br>
>cx25840 18-0044: firmware: requesting v4l-cx25840.fw<br>
>nxt2004: Firmware upload complete<br>
>saa7134_alsa: disagrees about version of symbol snd_ctl_add<br>
>saa7134_alsa: Unknown symbol snd_ctl_add<br>
>saa7134_alsa: disagrees about version of symbol snd_pcm_new<br>
>saa7134_alsa: Unknown symbol snd_pcm_new<br>
>saa7134_alsa: disagrees about version of symbol snd_card_register<br>
>saa7134_alsa: Unknown symbol snd_card_register<br>
>saa7134_alsa: disagrees about version of symbol snd_card_free<br>
>saa7134_alsa: Unknown symbol snd_card_free<br>
>saa7134_alsa: disagrees about version of symbol snd_pcm_stop<br>
>saa7134_alsa: Unknown symbol snd_pcm_stop<br>
>saa7134_alsa: disagrees about version of symbol snd_ctl_new1<br>
>saa7134_alsa: Unknown symbol snd_ctl_new1<br>
>saa7134_alsa: disagrees about version of symbol snd_pcm_lib_ioctl<br>
>saa7134_alsa: Unknown symbol snd_pcm_lib_ioctl<br>
>saa7134_alsa: disagrees about version of symbol snd_ctl_notify<br>
>saa7134_alsa: Unknown symbol snd_ctl_notify<br>
>saa7134_alsa: disagrees about version of symbol snd_pcm_set_ops<br>
>saa7134_alsa: Unknown symbol snd_pcm_set_ops<br>
>saa7134_alsa: disagrees about version of symbol<br>
>snd_pcm_hw_constraint_integer<br>
>saa7134_alsa: Unknown symbol snd_pcm_hw_constraint_integer<br>
>saa7134_alsa: disagrees about version of symbol snd_card_create<br>
>saa7134_alsa: Unknown symbol snd_card_create<br>
>saa7134_alsa: disagrees about version of symbol snd_pcm_period_elapsed<br>
>saa7134_alsa: Unknown symbol snd_pcm_period_elapsed<br>
>saa7134_alsa: disagrees about version of symbol snd_pcm_hw_constraint_step<br>
>saa7134_alsa: Unknown symbol snd_pcm_hw_constraint_step<br>
>cx25840 18-0044: loaded v4l-cx25840.fw firmware (16382 bytes)<br>
>EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts:<br>
>EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts:<br>
>SGI XFS with ACLs, security attributes, large block/inode numbers, no debug<br>
>enabled<br>
>SGI XFS Quota Management subsystem<br>
>Adding 5865464k swap on /dev/mapper/vg_mythbe-lv_swap.  Priority:-1<br>
>extents:1 across:5865464k<br>
><br>
><br>
><br>
>So - my question is - what do I attach this HD antenna to? I am thinking<br>
>AverMediaHD (and NOT the PVR-150?)<br>
><br>
>Do I absolutely need Schedules Direct subscription for this?<br>
>><br>
>> No.  SchedulesDirect is extremely helpful for the recording but<br>
>> essentially has nothing to do with the reception.<br>
>><br>
>Yes I figured that - but I meant if Myth doesn't know which programs are<br>
>currently going on, then maybe i won't be able to record it  but I digress<br>
>at this point.  First thing for me is to make sure the antenna can see<br>
>proper channels. Which one do I attach the antenna do if I don't have<br>
>Schedules Direct? I need to tie something so it will allow me to do a<br>
>channel scan...<br>
><br>
><br>
><br>
>> Here is what I have done (to zero value)<br>
>><br>
>>    1. Added antenna to the backend.<br>
>>    2. Went to mythtv-setup - selected card type as "DVB-T/S/C, ATSC or<br>
>>    ISDB-T"<br>
>>       1. This brought the DVB device type as /dev/dvb/adapter0/frontend0<br>
>>       2. Frontend ID came to: Air2PC v2<br>
>>    3. No channels found on scan.<br>
>> I am sure I am doing something wrong - so looking for help here<br>
<br>
The PVR-150 card is an old analogue TV card, so it is not relevant.<br>
<br>
Your drivers may not be installing properly - the messages about<br>
"saa7134" could be about your AverTVHD card.  This page tells you<br>
about that card:<br>
<br>
<a href="https://www.linuxtv.org/wiki/index.php/AVerMedia_AVerTVHD_MCE_A180" rel="noreferrer" target="_blank">https://www.linuxtv.org/wiki/index.php/AVerMedia_AVerTVHD_MCE_A180</a><br>
<br>
However, yours seems to be a slightly different version, as it comes<br>
up with the ID numbers 1461:1044 instead of 1131:7133.<br>
<br>
So it should be a DVB-T card, with one tuner.  If you have no other<br>
digital TV tuners, it should produce a single /dev/dvb/adapter0 device<br>
that looks like this:<br>
<br>
root@mypvr:~# ls -ald /dev/dvb/adapter0<br>
drwxr-xr-x 2 root root 120 Apr 11 00:46 /dev/dvb/adapter0<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">root@mypvr:~# ls -ald /dev/dvb/adapter0/*<br>
crw-rw----+ 1 root video 212, 32 Apr 11 00:46 /dev/dvb/adapter0/demux0<br>
crw-rw----+ 1 root video 212, 33 Apr 11 00:46 /dev/dvb/adapter0/dvr0<br>
crw-rw----+ 1 root video 212, 35 Apr 11 00:46<br>
/dev/dvb/adapter0/frontend0<br>
crw-rw----+ 1 root video 212, 34 Apr 11 00:46 /dev/dvb/adapter0/net0<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I am not sure if the net0 device is necessary, but the other three<br>
are.  If your drivers are only partially loading, you will likely see<br>
the frontend0 device being missing.  If your drivers are not loading<br>
at all, then the entire /dev/dvb/adapter0 directory will be missing.<br></blockquote><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
When you get messages like the ones you are getting such as "disagrees<br>
about version of symbol snd_ctl_add" and then "Unknown symbol<br>
snd_ctl_add", it normally means that your drivers are not compatible<br>
with your kernel version and need to be recompiled for the current<br>
kernel.  The symbol table for that symbol now says it has a different<br>
size or format in the kernel from what your driver file has in its<br>
symbol table.  Since the drivers for your card are supposed to be<br>
built into the kernel, that should not be happening.<br></blockquote><div><br></div><div>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Is this maybe because the antenna wasn't connected at the time? Or should the driviers showing up regardless?  </span>

 </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
However, it is possible that those messages are referring to a<br>
different device, as you did not post enough of your logs to be able<br>
to tell.  It might be a good idea to post the entire section of the<br>
logs from start of bootup until the system is running.  Put it on<br>
<a href="http://pastebin.com" rel="noreferrer" target="_blank">pastebin.com</a> and post a link.<br>
<br>
Is it possible you have other DVB devices in that PC?  The name<br>
"Air2PC v2" does not match an AverMedia card.  That name appears to be<br>
for a TecniSat ATSC USB tuner for the US market:<br>
<br>
<a href="https://www.linuxtv.org/wiki/index.php/TechniSat_Air2PC-ATSC-USB" rel="noreferrer" target="_blank">https://www.linuxtv.org/wiki/index.php/TechniSat_Air2PC-ATSC-USB</a><br>
<br>
What does this command show:<br>
<br>
ls -al /dev/dvb<br></blockquote><div><br></div><div>ls -al /dev/dvb</div><div>total 0</div><div>drwxr-xr-x  3 root root   60 Mar 29 04:37 .</div><div>drwxr-xr-x 23 root root 4140 Apr  9 20:01 ..</div><div>drwxr-xr-x  2 root root  120 Mar 29 04:37 adapter0</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
So where are you - are you trying to receive DVB-T signals (eg UK,<br>
Europe, Australia, New Zealand) or are you trying to receive ATSC<br>
(USA)?<br>
___________</blockquote><div><br></div><div>I am in US - Chicago area. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br></blockquote></div></div>