[mythtv-users] tuner numbering

Daryl McDonald darylangela at gmail.com
Fri Feb 28 05:08:57 UTC 2014


On Thu, Feb 27, 2014 at 6:26 PM, Roger Siddons <dizygotheca at ntlworld.com> wrote:
> On Thu, 27 Feb 2014 20:20:10 -0000, Daryl McDonald <darylangela at gmail.com>
> wrote:
>
>> Hi Roger, I commented out the changes Hika suggested, corrected the
>> device ID, disabled my capture-card.(rules), and still the udevadm
>> tests show no symlinks:
>
>
> Well, I'm stumped. How about starting from scratch?
>
> Disable your existing rules by renaming it to digital-cards.disabled.
> Paste the following into new file test.rules. Ensure they are all single
> lines, i.e. remove newlines from your mail client.
>
> # Match all dvb devices
> SUBSYSTEM=="dvb", SYMLINK+="test1"
>
> # Find Leadtek
> SUBSYSTEM=="dvb", ATTRS{device}=="0x8852", SYMLINK+="test2"
>
> # Check C shell. Demonstrate failed program
> SUBSYSTEM=="dvb", PROGRAM="/bin/csh -c 'echo test3'", SYMLINK+="%c"
>
> # Check bash.
> SUBSYSTEM=="dvb", PROGRAM="/bin/bash -c 'echo test4'", SYMLINK+="%c"
>
> # Original
> SUBSYSTEM=="dvb", ATTRS{device}=="0x8852", PROGRAM="/bin/sh -c 'K=%k;
> K=$${K#dvb}; printf dvb/test5/%%s $${K#*.}; exit 0'", SYMLINK+="%c"
>
> # Bash version
> SUBSYSTEM=="dvb", ATTRS{device}=="0x8852", PROGRAM="/bin/bash -c 'K=%k;
> K=$${K#dvb}; printf dvb/test6/%%s $${K#*.}; exit 0'", SYMLINK+="%c"
>
>
> Assuming your Leadtek is still on adapter6 run the usual test:
>
>
> udevadm test $(udevadm info -q path -n /dev/dvb/adapter6/dvr0)
>
>
> Report the value of DEVLINKS. I get:
>
> DEVLINKS=/dev/dvb/test5/dvr0 /dev/dvb/test6/dvr0 /dev/test1 /dev/test2
> /dev/test4
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

OK, that is what was returned to me too:
DEVLINKS=/dev/dvb/test5/dvr0 /dev/dvb/test6/dvr0 /dev/test1 /dev/test2
/dev/test4

And as I look back through previous commands, my bad, only this time
did I disable "digital-card", last attempt I disabled "capture-card",
apologies. Seems now though that we're on the right rack. This test
result was with both disabled, and after returning "capture-card"
(this does keep the analog side of things straight)to .rules, I get
the same test result, so now where do you recommend I go with the
"digital-rules"?  Daryl


More information about the mythtv-users mailing list