[mythtv-users] UDEV rules

Daryl McDonald darylangela at gmail.com
Tue Jan 21 20:24:28 UTC 2014


On Tue, Jan 21, 2014 at 12:38 PM, Yianni <yiannividalis at hotmail.com> wrote:
>
>> Hi Yanni, when you say "from an xterm" I assume you use Open SuSE,
>> when I run that command in a terminal, I use Ubuntu, I get:
>>
>> daryl at daryl-A780L3C:~$ ls -lah /dev/video*
>> crw-rw----+ 1 root video 81, 0 Jan 21 11:23 /dev/video0
>> crw-rw----+ 1 root video 81, 5 Jan 21 11:23 /dev/video1
>> crw-rw----+ 1 root video 81, 7 Jan 21 11:23 /dev/video2
>> crw-rw----+ 1 root video 81, 3 Jan 21 11:23 /dev/video24
>> crw-rw----+ 1 root video 81, 1 Jan 21 11:23 /dev/video32
>> daryl at daryl-A780L3C:~$ ls -lah /dev/dvb*
>> total 0
>> drwxr-xr-x 4 root root 80 Jan 21 11:23 .
>> drwxr-xr-x 16 root root 4.5K Jan 21 11:23 ..
>> drwxr-xr-x 2 root root 120 Jan 21 11:23 adapter0
>> drwxr-xr-x 2 root root 120 Jan 21 11:23 adapter1
>> daryl at daryl-A780L3C:~$
>>
>> I made 5 udev rules, 3 for video and 2 for dvb, but I still do not see
>> confirmation. Do I need a different type of terminal?
>
> No, the kind of terminal is irrelevant. I just didn't know how it was called
> in Ubuntu.
>
> Obviously the udev rule didn't work. On my system, the udev rule files are
> named like "70-persistent-net.rules". Try putting a number in the filename.
> I don't know if it's required, but I know it affects the loading order
> (smaller numbers get loaded earlier). If this doesn't work, try a different
> udev rule (put a # in front of the other one):
>
> KERNEL=="video?",SUBSYSTEM=="video4linux",ATTRS{subsystem_vendor}=="0x0070",ATTRS{device}=="0x0016",SYMLINK+="videopvr150",GROUP="video"
>
> I copied the attributes from your first email.
>
>
>
> I hope this does it!
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

Thanks Yanni, that did do it!

daryl at daryl-A780L3C:~$ ls -lah /dev/video*
crw-rw----+ 1 root video 81, 0 Jan 21 15:17 /dev/video0
crw-rw----+ 1 root video 81, 5 Jan 21 15:16 /dev/video1
crw-rw----+ 1 root video 81, 7 Jan 21 15:17 /dev/video2
crw-rw----+ 1 root video 81, 3 Jan 21 15:17 /dev/video24
crw-rw----+ 1 root video 81, 1 Jan 21 15:17 /dev/video32
lrwxrwxrwx  1 root root      6 Jan 21 15:17 /dev/videopvr150 -> video0
daryl at daryl-A780L3C:~$

One thing I noticed is that in your rule the commas come after a space
whereas in the other one I tried the commas are before the space.
Would that nullify the previous rule?

Do you think I should create further rules for the other cards in my box?

Daryl
>


More information about the mythtv-users mailing list