[mythtv-users] Help understanding udev rules

George Nassas gnassas at mac.com
Wed Apr 10 15:27:46 UTC 2013


On 2013-04-10, at 5:15 AM, Mike Perkins wrote:

> Have you tried:
> 
> jt at myth:/dev/v4l$ udevadm info -a -p $(udevadm info -q path -n /dev/v4l/hdpvr1)
> 
> That might tell you if the symlink you created is doing the right thing.


Even more helpful is:

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

In the spew of output look at the "DEVLINKS=" line for what links are being created. You can quickly iterate through various attributes in your rules and see what effect each has.

The other helpful one is "trigger" which actually executes the rules for a given device, no rebooting required.

- George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130410/18cde0c1/attachment.html>


More information about the mythtv-users mailing list