I use the serial number with mine.

I used the command
*
udevadm info -a -p $(udevadm info -q path -n /dev/video0)*

(replacing /dev/video0 with whatever you device got detected as)

The output contains the serial number.

In my udev rules I added:

KERNEL=="video[0-9]*", ATTRS{manufacturer}=="Hauppauge", ATTRS{serial}=="7300-00-F0000000", SYMLINK+="video-tuner3"

After I reboot, the udev system will assign this specific device to /dev/video-tuner3 regardless of which USB port it is plugged into. Just keep in mind that udev rules can only match things that appear at the same 'level'. If you use the serial number you cannot match with the things at a higher/lower level. In my case the serial number and manufacturer are unique.

I do something similar for my other tuner devices like my HD-PVRs which provide serial # info.

On 4/10/2010 9:25 PM, Charles Green wrote:
I currently have a single HVR-1950 on my system (SheevaPlug), attached to our 
cable TV feed, working quite nicely for analog.

I need to add a second tuner to this system for over-the-air ATSC, attached to 
an antenna in my attic.

In following this mailing list for a while, I seem to recall that unique serial 
number information is not made available by the driver for, e.g., 'udev' to be 
able to set up unique and consistent /dev names upon reboot.  This wouldn't be 
a problem if all tuners got the same signal feed, but in this case they won't.

It's my understanding that these USB devices would be processed in whatever 
order they appear on the hub, not necessarily related to where they're plugged 
in.

If it's not feasible to differentiate these, I'll probably go with something 
like an HDHomerun; the single tuner version at least appears to be cheaper than 
the Hauppauge unit anyway.

Thanks for any guidance you can offer.

-Charles Green




_______________________________________________
pvrusb2 mailing list
[email protected]
http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2


_______________________________________________
pvrusb2 mailing list
[email protected]
http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2

Reply via email to