Moderator Control Panel ]

How to bind TBS6991 in udev?

How to bind TBS6991 in udev?

Postby Kompik » Mon Jul 09, 2012 7:49 pm

How i can know MAC address for bind tuner to adapter name?

I have a lot of card in one system, and they sometimes change adapter numbers.

I need to bind each of tuner to specified adapter num.

How i can do this ?
Kompik
 
Posts: 11
Joined: Fri Apr 27, 2012 4:05 pm

Re: How to bind TBS6991 in udev?

Postby Kompik » Mon Nov 24, 2014 8:23 pm

A simple solution...

Create tbs.conf in /etc/modprobe.d
Put in this file string
modprobe saa716x_core adapter_nr=2,3,8,9,4,5,6,7,0,1

numbers may different in each system.

How you can obtain right numbers?
It simple, if you know how :)

You have phisical cards in your PCI slots...

Try to catch DVB signal from each card.

Write depences between:
1. Logical number of DVB adapters (adapter0, adapter) and phisical cards in your system
2. Use udevadm info -a -n /dev/dvb/adapter1/frontend0 | grep looking.*/.*dvb for detect dependency between logical adapter numbers and PCI-lane numbers in default mode.
3. Write initialization sequency for PCI-Lane
4. Write right numbers in adapter_nr parameter.

For EXAMPLE:

Get conformity between phisical inputs and logical DVB numbers
In my case (TBS6991)
Card 1 - dvb8
Card 2 - dvb0
Card 3 - dvb4
Card 4 - dvb6
Card 5 - dvb2

Get information for all cards
Code: Select All Code
  looking at device '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/dvb/dvb0.frontend0':
  looking at device '/devices/pci0000:00/0000:00:01.1/0000:02:00.0/dvb/dvb2.frontend0':
  looking at device '/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/dvb/dvb4.frontend0':
  looking at device '/devices/pci0000:00/0000:00:1c.5/0000:06:00.0/dvb/dvb6.frontend0':
  looking at device '/devices/pci0000:00/0000:00:1c.7/0000:07:00.0/dvb/dvb8.frontend0':


Get initialization sequence
First initialized PCI 01:00.0, dvb0, phisical card 2
Second initialized PCI 02:00.0, dvb2, phisical card 5
Third initialized PCI 05:00.0, dvb4, phisical card 3
Fourth initialized PCI 06:00.0, dvb6, Phisical card 4
Fifth initialized PCI 076:00.0, dvb8, phisical card 5

And now we can write right numbers for adapter_nr
in my case this is
2,3,8,9,4,5,6,7,0,1

Done :)
Kompik
 
Posts: 11
Joined: Fri Apr 27, 2012 4:05 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests