Assign tuner numbers

Support forum for minisatip
Post Reply
zorrua
Posts: 29
Joined: Thu Nov 17, 2016 7:50 am

Assign tuner numbers

Post 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.
cata
Site Admin
Posts: 768
Joined: Tue May 12, 2015 1:01 am

Re: Assign tuner numbers

Post 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
zorrua
Posts: 29
Joined: Thu Nov 17, 2016 7:50 am

Re: Assign tuner numbers

Post 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?
cata
Site Admin
Posts: 768
Joined: Tue May 12, 2015 1:01 am

Re: Assign tuner numbers

Post 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
zorrua
Posts: 29
Joined: Thu Nov 17, 2016 7:50 am

Re: Assign tuner numbers

Post 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.!
cata
Site Admin
Posts: 768
Joined: Tue May 12, 2015 1:01 am

Re: Assign tuner numbers

Post by cata »

Yes
sardonis
Posts: 20
Joined: Sat Jun 17, 2017 7:10 pm

Re: Assign tuner numbers

Post 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.
cata
Site Admin
Posts: 768
Joined: Tue May 12, 2015 1:01 am

Re: Assign tuner numbers

Post by cata »

you should use:

-e 0,1
sardonis
Posts: 20
Joined: Sat Jun 17, 2017 7:10 pm

Re: Assign tuner numbers

Post by sardonis »

Ok, thank you!
Post Reply