linux_media icon indicating copy to clipboard operation
linux_media copied to clipboard

TBS6991 support

Open woooow1 opened this issue 9 months ago • 7 comments

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!

woooow1 avatar May 16 '24 21:05 woooow1