<p dir="ltr"><br>
On Mar 3, 2014 7:57 AM, "Hika van den Hoven" <<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a>> wrote:<br>
><br>
> Hoi Daryl,<br>
><br>
> Monday, March 3, 2014, 1:47:57 PM, you wrote:<br>
><br>
> > On Sun, Mar 2, 2014 at 4:50 PM, Hika van den Hoven <<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a>> wrote:<br>
> >> Hoi Daryl,<br>
> >><br>
> >> Sunday, March 2, 2014, 10:32:07 PM, you wrote:<br>
> >><br>
> >>> On Sun, Mar 2, 2014 at 2:30 PM, Daryl McDonald <<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>> wrote:<br>
> >>>> On Sat, Mar 1, 2014 at 8:35 PM, Roger Siddons <<a href="mailto:dizygotheca@ntlworld.com">dizygotheca@ntlworld.com</a>> wrote:<br>
> >>>>> On Sat, 01 Mar 2014 23:55:26 -0000, Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br>
> >>>>><br>
> >>>>>> On 03/01/2014 03:15 PM, Hika van den Hoven wrote:<br>
> >>>>>> ...<br>
> >>>>>> > Seems OK. I then have one thought left. rename the directories to<br>
> >>>>>>> adapterHP1250 and adapterPC800i. It is theoretically possible that<br>
> >>>>>>> mythtv looks for names starting with adapter.<br>
> >>>>>>> If that doesn't work, I'm out of thoughts for now.<br>
> >>>>>><br>
> >>>>>> I believe it's better than theoretical if you also add .../frontend*,<br>
> >>>>>> see:<br>
> >>>>>><br>
> >>>>>><br>
> >>>>>> <a href="https://code.mythtv.org/cgit/mythtv/tree/mythtv/libs/libmythtv/cardutil.cpp#n292">https://code.mythtv.org/cgit/mythtv/tree/mythtv/libs/libmythtv/cardutil.cpp#n292</a><br>
> >>>>>><br>
> >>>>>> Looks any /dev/dvb/adapter*/frontend* would be included in the list<br>
> >>>>>> of returned DVB devices. So, /dev/dvb/adapterHP1250/frontend0 would<br>
> >>>>>> work, although I didn't test it.<br>
> >>>>>><br>
> >>>>><br>
> >>>>> I can confirm it. Well done Hika and Bill ! This was really bugging me...<br>
> >>>>><br>
> >>>>> When I set my system up, I happened to use "adapter_nova1" etc. for purely<br>
> >>>>> stylistic reasons and have never had any issues. But when I reproduced<br>
> >>>>> Daryl's problem I used a dummy adapter called "test". After renaming it to<br>
> >>>>> "adapter_test" it now shows up in the list and 'sticks'.<br>
> >>>>><br>
> >>>>> I believe it's an issue with the Capture Cards dialog. If you type the name<br>
> >>>>> in, it gets written to the database and Myth functions correctly but<br>
> >>>>> thereafter the dialog won't report the card adapter correctly, simply<br>
> >>>>> defaulting to displaying adapter0 (the symlink is actually using adapter2).<br>
> >>>>> Any edits (changing multirec, for example), results in a new card being<br>
> >>>>> created on adapter0, which is already linked to an input. So setup now<br>
> >>>>> reports 2 cards (test and adapter0) but the frontend only sees 1 (test),<br>
> >>>>> which works fine. Presumably the database has been cross-linked/corrupted.<br>
> >>>>><br>
> >>>>> IMHO this naming requirement should be added to the wiki at<br>
> >>>>> <a href="http://www.mythtv.org/wiki/Device_Filenames_and_udev">http://www.mythtv.org/wiki/Device_Filenames_and_udev</a>. Any takers ?<br>
> >>>>> Of course, all the examples do use "adapter*" but it doesn't state anywhere<br>
> >>>>> that this is essential.<br>
> >>>>><br>
> >>>>> Incidentally I also found that LiveTV only works if there are links defined<br>
> >>>>> for frontend0, dvr0 and demux0. Not sure what net0 is used for.<br>
> >>>>><br>
> >>>>> So Daryl, for the avoidance of doubt, these are the latest recommendations:<br>
> >>>>><br>
> >>>>> SUBSYSTEM=="dvb", ATTRS{device}=="0x8852", PROGRAM="/bin/sh -c 'K=%k;<br>
> >>>>> K=$${K#dvb}; printf dvb/adapterHP1250/%%s $${K#*.}; exit 0'", SYMLINK+="%c"<br>
> >>>>><br>
> >>>>> SUBSYSTEM=="dvb", ATTRS{device}=="0x8802", PROGRAM="/bin/sh -c 'K=%k;<br>
> >>>>> K=$${K#dvb}; printf dvb/adapterPC800i/%%s $${K#*.}; exit 0'", SYMLINK+="%c"<br>
> >>>>><br>
> >>>>><br>
> >>>>> _______________________________________________<br>
> >>>>> mythtv-users mailing list<br>
> >>>>> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> >>>>> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
> >>>>> <a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
> >>>>> MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a><br>
> >>>><br>
> >>>> Lots of recordings today, but I changed the digital-card.rules as<br>
> >>>> suggested. There is a break in recordings between 4 and 5 pm, when<br>
> >>>> I'll go in and prove the theory on my box, and report back.<br>
> >>>> Afterwards, I think it's only fair that I be the one to amend the<br>
> >>>> wiki. Which one is it? And is there a wiki for amending a wiki?<br>
> >>>> Seriously, I feel indebted but I'm not sure how to proceed. Thanks<br>
> >>>> to all, Daryl<br>
> >><br>
> >>> I love Mythtv, everything worked as promised, DEVLINK names presented<br>
> >>> and are now set in my BE. Furthermore, I managed to figure out how to<br>
> >>> edit the wiki in question, so it now reads:<br>
> >><br>
> >>> Example DVB device rule file (for the digital side of the Hauppauge<br>
> >>> HVR-1950 device)<br>
> >><br>
> >>> Use udevadm to find the HVR-1950 serial number as documented above.<br>
> >>> This script creates a symlink of /dev/dvb/adapter200/<x> to the base<br>
> >>> /dev/dvb/adapter{n}/<x> devices using udev environmental variables (no<br>
> >>> shell programming required as above). Alter (ONLY) the serial number<br>
> >>> and symlink name to your requirements.<br>
> >><br>
> >>> I added the "ONLY" in brackets, sufficient? appropriate? I am into<br>
> >>> paying it forward any way I can. Again, many thanks Daryl<br>
> >>> _______________________________________________<br>
> >>> mythtv-users mailing list<br>
> >>> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> >>> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
> >>> <a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
> >>> MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a><br>
> >><br>
> >> Sounds OK. As only possible add-on you could explicitly state that the<br>
> >> directory name in the simlink always should start with adapter<br>
> >> followed by a descriptive part, followed by your example.<br>
> >><br>
> >> Tot mails,<br>
> >> Hika mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
> >><br>
> >> "Zonder hoop kun je niet leven<br>
> >> Zonder leven is er geen hoop<br>
> >> Het eeuwige dilemma<br>
> >> Zeker als je hoop moet vernietigen om te kunnen overleven!"<br>
> >><br>
> >> De lerende Mens<br>
> >> --<br>
> >><br>
> >> _______________________________________________<br>
> >> mythtv-users mailing list<br>
> >> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> >> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
> >> <a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
> >> MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a><br>
><br>
> > Further review revealed that I edited the wrong section, correction<br>
> > has been made, and a new edit has been accomplished:<br>
><br>
> > Example DVB udev Rules file<br>
><br>
> > The following is an example of a MythTV box with 2 x USB (DVB-T) and 2<br>
> > x PCI (DVB-S) cards. The Udev rule specifically identifies the devices<br>
> > and allocates the same /dev symlink each boot time. This stops adapter<br>
> > nos switching on reboot and hotplugging.<br>
> > For those using pre-compiled packages it is common for the DVB<br>
> > receivers to be in /dev/dvb (MythTV Compile option) to save building<br>
> > your own custom version the example below drops the adapters in the<br>
> > common dvb directory, but calls them adapter101, adapter102 etc and so<br>
> > on. In otherwords clearly separate from the standard adapter<br>
> > references. MythTV Setup can then be easily configured. For multiple<br>
> > dvb cards with differences be sure to include /adapter in your rule,<br>
> > ie "printf dvb/adapterPC800i" works but, "printf dvb/PC800i" fails in<br>
> > BE set up<br>
><br>
> > The last sentence has been added to the wiki. Daryl<br>
> > _______________________________________________<br>
> > mythtv-users mailing list<br>
> > <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> > <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
> > <a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
> > MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a><br>
><br>
><br>
> Great, now you are the hero!<br>
><br>
> Tot mails,<br>
> Hika mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
><br>
> "Zonder hoop kun je niet leven<br>
> Zonder leven is er geen hoop<br>
> Het eeuwige dilemma<br>
> Zeker als je hoop moet vernietigen om te kunnen overleven!"<br>
><br>
> De lerende Mens<br>
> --<br>
><br>
> _______________________________________________<br>
> mythtv-users mailing list<br>
> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
> <a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
> MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a></p>
<p dir="ltr">Not me, I only reciprocated. The true hero's are the ones that respond to newbies like me. Thanks once more to all!<br>
</p>