[mythtv-users] tuner numbering

Hika van den Hoven hikavdh at gmail.com
Thu Feb 27 17:45:16 UTC 2014


Hi Daryl,

So your earlier posted rules:
> SUBSYSTEM=="dvb", ATTRS{class}=="0x040000", ATTRS{device}=="0x8852",
> PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/HP1250/%%s $${K#*.};
> exit 0'", SYMLINK+="%c"

> SUBSYSTEM=="dvb", ATTRS{class}=="0x048000", ATTRS{device}=="0x08802",
> PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/PC800i/%%s $${K#*.};
> exit 0'", SYMLINK+="%c"

should be:

SUBSYSTEM=="dvb", ATTRS{class}=="0x040000", ATTRS{device}=="0x8852",
PROGRAM="/bin/bash -c 'K=%k; K=$${K#dvb}; printf dvb/HP1250/%%s $${K#*.};
exit 0'", SYMLINK+="%c"

SUBSYSTEM=="dvb", ATTRS{class}=="0x048000", ATTRS{device}=="0x8802",
PROGRAM="/bin/bash -c 'K=%k; K=$${K#dvb}; printf dvb/PC800i/%%s $${K#*.};
exit 0'", SYMLINK+="%c"

Whereby you should put both rules on one line each (or but a '\' at
the end of intermediate lines, to cancel interpretation of the
newline) and note the removed zero on the second device ID. And you
best replace ATTRS(class) with ATTRS{vendor}. Best also doublecheck
both vendor and device ID.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens
--



More information about the mythtv-users mailing list