Nicholas Fearnley wrote: > Hi, > > I have a fixed system in which I want to allocate /dev/video devices > based on which PCI slot my cards are placed in. I have done this for > DVB devices already and now I want to do this for IVTV devices. > > So basically if all I have is a device in say the third slot along on > my system (0000:05:03.0) then I will tie that device to /dev/video3. > > Can anyone point me in the right direction? I have found where I > think the registering of the device occurs but can't find where to > get which slot it belongs to , the ivtv struct only contains the > pci_dev which describes bus and I'm not sure there is slot info in > there. > > I am using 0.8.0 (on 2.16.18.1). >
Have you tried using udev for this? http://ivtvdriver.org/index.php/Howto > Regards > Nick > > _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
