-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TBS6991 support #180
Comments
This demod TS bus config (TAS2101 pins for TS bus). P.S. Supported kernels 4.14-6.8 |
@crazycat69 , thanks for reply! I already use tbs fork, but card not work! Tested also on fta channels. Card is v13! I think need some settings in tuner, or demod... I2c is detected : i2c-9 smbus Mantis I2C SMBus adapter Ci slot is available... Driver modules are loaded. What else is missing??? |
TBS6991_TSMODE0 (0x33) is parallel TS |
Other related settings in decompiled driver for tsmode in function called tbs6991fe_attach: |
you have "tbsci: Initializing TBS 6991 v13 CI" in kernel log ? |
https://github.com/tbsdtv/linux_media/blob/c561bd051b09cc16622d021713b75f1b814d9e19/drivers/media/pci/saa716x/saa716x_budget.c#L2487 |
Yes, tbsci: Initializing TBS 6991 v13 CI 0 slot I already try you suggestion, with ret = tbsci_i2c_probe(adapter,count?3:4); ci slots is not initialized! |
Hello Luis,
Need some support for this card! I am trying to run it in opensource driver, but with no luck so far!
In code I see that :
tbs6991 seems to have different settings depending on a value that the closed
source driver reads from the eeprom. This is probabbly related to card HW revisons.
When I change default TBS6991_TSMODE0 to 1, card was able to tune in tvheadend, but with lot of errors. When I change to 0- unable to tune! Transport error indicator (total 1)
I also try do decompile closed source driver to find any useful info.This is related to tsmode:
tbs6991fe_wr(state_00,0xd,uVar2 | 0xc0); if (state_00->demod == 0) { tbs6991fe_wr(state_00,0xe6,0x10); tbs6991fe_wr(state_00,0xe7,0x32); tbs6991fe_wr(state_00,0xe8,0x54); tbs6991fe_wr(state_00,0xe9,0x76); tbs6991fe_wr(state_00,0xea,0xa8); tbs6991fe_wr(state_00,0xeb,0x9b); iVar1 = state_00->tsmode; } else { tbs6991fe_wr(state_00,0xe6,0x30); tbs6991fe_wr(state_00,0xe7,0x21); tbs6991fe_wr(state_00,0xe8,0x54); tbs6991fe_wr(state_00,0xe9,0x76); tbs6991fe_wr(state_00,0xea,0xb8); tbs6991fe_wr(state_00,0xeb,0x9a); iVar1 = state_00->tsmode; } if (iVar1 == 1) { tbs6991fe_wr(state_00,0xe0,0x31); } else { tbs6991fe_wr(state_00,0xe0,0x33); }
Any help is welcome!
The text was updated successfully, but these errors were encountered: