[mythtv-users] UDEV rules

George Nassas gnassas at mac.com
Wed Jan 22 13:51:51 UTC 2014


On Jan 22, 2014, at 1:59 AM, Yianni <yiannividalis at hotmail.com> wrote:

>> Do you think I should create further rules for the other cards in my box?
>> 
> I'd recommend it, because it is worth the time you'll spend setting it up. Once you get your rules working you won't have to worry about device naming anymore.

You're going to need a rule for your other analog card if you intend to use its analog side as well.

Besides what Yanni has said there are two helpful udevadm options when developing rules.

One is:

	udevadm test $(udevadm info -q path -n /dev/video0)

which will show you which rules files are getting considered and what actions are taken. Look for an output line beginning with DEVLINKS to see if your rule is matching and firing.

The other is:

	udevadm trigger $(udevadm info -q path -n /dev/video0)

which will execute the rules for real. Together they save a lot of rebooting while experimenting.

- George



More information about the mythtv-users mailing list