Page 1 of 1

Assign tuner numbers

Posted: Fri Jun 22, 2018 12:31 pm
by zorrua
Hello,

I am using dvb modules option to assign each DVB tuner to different device numbers:

Code: Select all

# cat /etc/modprobe.d/dvb.conf
options dvb_usb_dib0700 adapter_nr=3
options dvb_usb_af9015 adapter_nr=2

Code: Select all

# ls -l /dev/dvb/
total 0
drwxr-xr-x 2 root root 120 jun 22 14:20 adapter2
drwxr-xr-x 2 root root 120 jun 22 14:20 adapter3
How are the minisatip tuners assigned?

Image

Minisat tuner 0 is dev 2 and tuner 1 is dev 3?

Is it possible to match the tuners in minisatip with the Linux system?

Thanks for all your help.

Kind regards.

Re: Assign tuner numbers

Posted: Fri Jun 22, 2018 4:38 pm
by cata
Hi,

At this point is not really possible because the numbers are assigned based on first adapters detected. For example you could have /dev/dvb/adapter0/frontend0-8. There are all kinds of combinations that could prevent you from assuming that adapter2 at the OS level is adapter2 in minisatip

Re: Assign tuner numbers

Posted: Fri Jun 22, 2018 8:35 pm
by zorrua
cata wrote:
Fri Jun 22, 2018 4:38 pm
Hi,

At this point is not really possible because the numbers are assigned based on first adapters detected. For example you could have /dev/dvb/adapter0/frontend0-8. There are all kinds of combinations that could prevent you from assuming that adapter2 at the OS level is adapter2 in minisatip
Thanks cata,

So, could I asume that if I have adapter2 and adapter3, the adapter2 is going to be always tuner 0 and adapter 3 the tuner 1?

Re: Assign tuner numbers

Posted: Sat Jun 23, 2018 5:52 am
by cata
yeah, the logic is that it iterates on all adapterX/frontendY with X=[0...32] and Y=[0..32] until it finds all the adapters

Re: Assign tuner numbers

Posted: Tue Jun 26, 2018 2:08 pm
by zorrua
cata wrote:
Sat Jun 23, 2018 5:52 am
yeah, the logic is that it iterates on all adapterX/frontendY with X=[0...32] and Y=[0..32] until it finds all the adapters
Great!

So I could asume that the assigment will go in order.

Best regards.!

Re: Assign tuner numbers

Posted: Wed Jun 27, 2018 4:31 am
by cata
Yes

Re: Assign tuner numbers

Posted: Tue Oct 02, 2018 9:51 am
by sardonis
cata wrote:
Sat Jun 23, 2018 5:52 am
yeah, the logic is that it iterates on all adapterX/frontendY with X=[0...32] and Y=[0..32] until it finds all the adapters
Hi cata,

I have some trouble understanding the -e parameter.

Code: Select all

[b]-e --enable-adapters list_of_enabled adapters: enable only specified adapters[/b]
eg: -e 0-2,5,7 (no spaces between parameters)
keep in mind that the first adapters are the local ones starting with 0 after that are the satip adapters if you have 3 local dvb cards 0-2 will be the local adapters, 3,4, ... will be the satip servers specified with argument -s

I have 3 DVBC tuners of which I want to exclude 1 in minisatip. I have excluded 1 TT-4650-CI tuners with adding this in /etc/modprobe.d/dvb.conf

Code: Select all

# TT-4650-CI
options dvb_usb_dvbsky adapter_nr=5
So now I have:

/dev/dvb/adapter0 (TBS 5881)
/dev/dvb/adapter1 (TBS 5881)
/dev/dvb/adapter5 (TT-4650-CI)

How can I start minisatip with only the TBS tuners? The order of those doesn't really matter.

Re: Assign tuner numbers

Posted: Sat Oct 06, 2018 5:51 pm
by cata
you should use:

-e 0,1

Re: Assign tuner numbers

Posted: Sat Oct 06, 2018 6:03 pm
by sardonis
Ok, thank you!