Hi,

No I didn't try udev - it was a good tip and thank you.  My embedded distro does not include enough to do this, so I couldn't!

Nick

On 11 Mar 2007, at 16:31, Yan-Fa Li wrote:

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?


Regards
Nick



_______________________________________________
ivtv-devel mailing list


Nicholas Fearnley
Digital Media Projects Ltd
1 City Square
Leeds
LS1 2ES

t: 011 33 66 33 66
m: 07796 147 320

Disclaimer:

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.



_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to