Hi, I'm a very happy pvrusb2 user :) but I have a question:
I would like to write an udev rule to set the user permission on /sys pvrusb2 related directory. http://reactivated.net/writing_udev_rules.html tells me to type udevinfo -a -p $(udevinfo -q path -n /dev/video3) to find some relevant info about the device. Unfortunately, I get only that: looking at device '/devices/virtual/video4linux/video3': KERNEL=="video3" SUBSYSTEM=="video4linux" DRIVER=="" ATTR{dev}=="81:3" ATTR{name}=="" looking at parent device '/devices/virtual/video4linux': KERNELS=="video4linux" SUBSYSTEMS=="" DRIVERS=="" looking at parent device '/devices/virtual': KERNELS=="virtual" SUBSYSTEMS=="" DRIVERS=="" Nothing useful to tell udev that it is my TVcard and not another video4linux device :( If I do the same on video1 (integrated webcam), I get a lot of info: looking at device '/devices/pci0000:00/0000:00:1d.7/usb7/7-6/7-6:1.0/video4linux/video0': KERNEL=="video0" SUBSYSTEM=="video4linux" DRIVER=="" ATTR{dev}=="81:0" ATTR{name}=="Laptop Integrated Webcam" ATTR{name}=="Laptop Integrated Webcam" is enough to write an udev rule. ATTRS{vendor}=="0x8086" or ATTRS{device}=="0x2836" could also be used. Why do we get nothing with pvrusb2 ? /etc/udev/rules.d# modinfo pvrusb2 filename: /lib/modules/2.6.24-12-generic/kernel/drivers/media/video/pvrusb2/pvrusb2.ko license: GPL description: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner author: Mike Isely <[EMAIL PROTECTED]> srcversion: E72D8CD6A2CD1A14A1C9C05 Cheers, Xavier _______________________________________________ pvrusb2 mailing list [email protected] http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
