Page 1 of 1

TBS6205 4.19 kernel and i2c errors

PostPosted: Wed May 08, 2019 9:02 pm
by clanos
Hi,

I'm running Openmediavault (Arrakis 4.1.22 release), which has Debian 9 base (4.19 kernel). I have tvheadend running as a docker on this platform. Unfortuntely the TBS6205 is hitting i2c failures after a very short time on both the opensource and closed source drivers.

Is there an incompatibility with the above kernel and the current set of drivers?

I can backport to 4.14, and will try tonight, amongst providing docker elevated rights and finally running tvheadend natively rather than in a docker.

Many thanks for any advice.

Re: TBS6205 4.19 kernel and i2c errors

PostPosted: Thu May 09, 2019 12:48 am
by clanos
The error I'm getting is TBSECP3 driver 0000:06:00.0: i2c xfer timeout.

Re: TBS6205 4.19 kernel and i2c errors

PostPosted: Thu May 09, 2019 11:55 am
by steven
Hi

Please have a try like this :
What works for me is bios aspm set to "auto" (whatever that means) and linux pci_aspm disabled by adding "pcie_aspm=off" to the boot command line.
Thanks

Kind Regards

steven

Re: TBS6205 4.19 kernel and i2c errors

PostPosted: Thu May 09, 2019 7:33 pm
by clanos
Thanks Steven I will give this a try tonight.

This has me thinking, perhaps just unticking Low Power Mode for each adapter in TVHeadend will resolve this. I thought I'd tried this but maybe not, and maybe this will stop it trying to control the power state of the tuner, which from your response is the root of the problem.

Re: TBS6205 4.19 kernel and i2c errors

PostPosted: Wed May 29, 2019 8:34 pm
by rufus
Hi clanos, how are you doing?

Any progress?
I'm facing issues too using the same setup as yours (Openmediavault 4.19 kernel), and my TBS6281 is identified correctly, but I can't found any services.
The error that I'm getting here when I try to open a channel:

"service instance is bad, reason: No input detected"

When I return to 4.9 kernel, it's work like a charm and all channels works.
I tried both drivers, open (most updated) and the closed, kernels 4.18 and 4.19... Unfortunatelly, same results!

Cheers!
BR

Re: TBS6205 4.19 kernel and i2c errors

PostPosted: Mon Apr 13, 2020 10:03 am
by steven
As we received some feedback when use the new TBS ECP3 card sometimes have i2c error or packet loss issue . then please try like this :

1.Set your BIOS PCI-E slot configuration to Gen2

2.set the GRUB like this
/etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=efi,pci pci=nomsi,noaer"

3.disable the MSI in open source driver :

create text file /etc/modprobe.d/tbsecp3.conf with line:
options tbsecp3 enable_mis=0

after reboot, check with "cat /proc/interrupts" that tbsecp3 whether using MSI.

Re: TBS6205 4.19 kernel and i2c errors

PostPosted: Sun Jun 28, 2020 5:51 am
by clanos
Thanks for the update Steven - appreciated in case I run into this again. I found swapping the PCI-E slot fixed it recently - but this is not always practical.