Page 1 of 1

unable to tune with TBS6991 and tvheadend

PostPosted: Mon Feb 13, 2023 8:47 pm
by woooow
I have problems with this card! Setup is with other 3 cards, that working well! Card is recognized by the system. Drivers are latest opensource from github.
Any help or tips is welcome!
In attachement is logs from lspci, uname-a, tvheadend, and lsmod
If you need any other info, please feel free to ask!

Re: unable to tune with TBS6991 and tvheadend

PostPosted: Mon Feb 13, 2023 8:52 pm
by woooow
Sorry, i forget to mention: setup run in linux mint 19.3, tvheadend is latest master from github!

Re: unable to tune with TBS6991 and tvheadend

PostPosted: Tue Mar 28, 2023 1:12 am
by woooow
I am able to compile closed source driver for kernel 4.15-20 in linux mint 19.3. But now - other problem... I use other 3 card in my setup( 2x skystar and 1- terratec synergy). Driver breaks othet 3 cards. Only tbs6991 is in list. Is there any workaround for this problem?

Re: unable to tune with TBS6991 and tvheadend

PostPosted: Mon May 01, 2023 4:56 am
by johnzered
I've been in a similar situation and from what I understand there's no solution because the tbs drivers clears the media tree and by doing so other drivers are gone. What I'm currently trying to do is having my tbs card in a separate machine and installing minisatip and then feeding that signal to my other machine with the other dvb card and tvheadend installed.

By the way how did you manage to compile the closed source driver with kernel 4.15? I would very much appreciate if you could share som steps how to do that.

Re: unable to tune with TBS6991 and tvheadend

PostPosted: Thu Mar 27, 2025 11:40 pm
by woooow
Finally, i make it work with open source driver.
In module saa716x_budget.c, replace this lines in code:
Code: Select All Code
#define TBS6991_TSMODE0       (0x33)
#define TBS6991_TSMODE1       (0x31)
#define TBS6991_TSMODE       TBS6991_TSMODE1
static struct tas2101_config tbs6991_cfg[] = {
   {
      .i2c_address   = 0x68,
      .id            = ID_TAS2100,
      .reset_demod   = tbs6991_reset_fe0,
      .lnb_power     = tbs6991_lnb0_power,
      .init          = {0x10, 0x32, 0x54, 0x76, 0xa8, 0x9b, TBS6991_TSMODE},
      .init2         = 0,
   },
   {
      .i2c_address   = 0x68,
      .id            = ID_TAS2100,
      .reset_demod   = tbs6991_reset_fe1,
      .lnb_power     = tbs6991_lnb1_power,
      .init          = {0x30, 0x21, 0x54, 0x76, 0xb8, 0x9a, TBS6991_TSMODE},
      .init2         = 0,
   }
};

static struct av201x_config tbs6991_av201x_cfg = {
   .i2c_address = 0x63,
   .id          = ID_AV2011,
   .xtal_freq   = 27000,      /* kHz */
};


This code switch to tsmode1,replace tas2101 with tas2100, and av2012 with av2011!
My card is v13, not tested with other hardware revisions! Ci slots-not tested! Both tuners, for now, work without problems! Latest linux mint, kernel 6.11

Re: unable to tune with TBS6991 and tvheadend

PostPosted: Fri Mar 28, 2025 12:58 am
by crazycat