[ivtv-users] PVR-500 has working video0, failing video1/2/3 (long)
Andy Walls
awalls at radix.net
Wed Dec 30 23:36:30 CET 2009
On Wed, 2009-12-30 at 16:56 -0500, Trevor Boicey wrote:
> On 12/30/2009 2:50 PM, Andy Walls wrote:
> > One line answer:
> >
> > Check your udev rules. Things changed a recently with all of the v4l
> > drivers (including ivtv) - minor numbers will no longer have a 1-to-1
> > correspondence to device node names or video stream types.
> >
> > (many lines cut)
> >
>
> Thanks Andy. I'm not using udev at the moment, but your explanation
> makes perfect sense. Do you know approximately which kernel version
> those changes started to appear?
No. The v4l-dvb driver develop somewhat independently of the kernel and
then get merged in a group. Although if you search the archives of the
Linux media list ( linux-media at vger.kernel.org ), you'll see the change
happened rather recently. Look for patches from Laurent.
> I have a friend I was comparing
> configurations with, and he's running 2.6.24 (mythbuntu system) without
> udev also, just standard major-minors. I wonder if his next kernel
> upgrade will cause the same problems!
>
> I'll switch to udev and give it another go.
Well, I think you can always just check /sys
$ ls -alL /sys/class/video4linux/
total 0
drwxr-xr-x 2 root root 0 2009-12-30 17:27 .
drwxr-xr-x 40 root root 0 2009-12-30 13:24 ..
drwxr-xr-x 3 root root 0 2009-12-30 17:27 radio0
drwxr-xr-x 3 root root 0 2009-12-30 17:27 radio1
drwxr-xr-x 3 root root 0 2009-12-30 17:27 vbi0
drwxr-xr-x 3 root root 0 2009-12-30 17:27 vbi1
drwxr-xr-x 3 root root 0 2009-12-30 17:27 video0
drwxr-xr-x 3 root root 0 2009-12-30 17:27 video1
drwxr-xr-x 3 root root 0 2009-12-30 17:27 video24
drwxr-xr-x 3 root root 0 2009-12-30 17:27 video25
drwxr-xr-x 3 root root 0 2009-12-30 17:27 video32
drwxr-xr-x 3 root root 0 2009-12-30 17:27 video33
$ cat /sys/class/video4linux/video0/dev
81:0
$ cat /sys/class/video4linux/video1/dev
81:5
and use that info to create the nodes manually, if udev isn't an option
for some reason.
> Thank you!
You're welcome.
Regards,
Andy
More information about the ivtv-users
mailing list