[mythtv-users] UDEV rules

Bill Meek keemllib at gmail.com
Mon Jan 27 03:15:15 UTC 2014


On 01/26/2014 08:28 PM, Daryl McDonald wrote:
...
> Sorry Bill, I climbed the thread without bringing you along. I was
> referring to the following:
> KERNEL=="dvb?.frontend?",SUBSYSTEM=="dvb",ATTRS{subsystem_vendor}=="0x0070",ATTRS{subsystem_device}=="0x7911",SYMLINK+="JustTesting",GROUP="video"
>
> lrwxrwxrwx 1 root root   22 Jan 25 16:43 /dev/JustTesting -> dvb/adapter0/frontend0
>
> and my results were:
>   drwxr-xr-x  2 root root  120 Jan 26 18:32 adapter0
>>> drwxr-xr-x  2 root root  120 Jan 26 18:33 adapter1
>
> Can you see what I mean now?   Daryl

I think I see what you mean.

The symlink in the above would be under /dev, so: ls -l /dev/JustTesting
should be created. That was literally me just testing udev rules and the
pastebin I posted has better examples.

In earlier examples, SYMLINK+="dvb/DigKW150-$KERNEL" was used and thus
the symlink would appear if you typed: ls -l /dev/dvb.

-- 
Bill


More information about the mythtv-users mailing list