TBS6205

From LinuxTVWiki
Revision as of 08:48, 12 June 2015 by Jdeisenhofer (talk | contribs)
Jump to navigation Jump to search
TBS 605 Card

Quad tuner DVB-T2/T/C low profile card from TBS.

Overview/Features

  • 1 x PCI Express Interface
  • Low profile design
  • Four DVB T/T2/C Freeview SD & HD Channels Receiving
  • Linux Support via closed source driver
  • Windows BDA driver and Linux Driver ready
  • No IR remote or receiver

Components Used

  • 4x Si2158 (Tuner)
  • 4x Si2168 (Demod)
  • Lattice ECP3 FPGA (LFE3-17EA-8FTN256) PCIe Bus Interface
  • F-connectors, adaptors to IEC supplied

Identification

 # lspci -vvvnn
 06:00.0 Multimedia controller [0480]: Device [544d:6178]
	Subsystem: Device [6205:0001]
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at f7200000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [70] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [90] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Exit Latency L0s unlimited, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [100 v1] Device Serial Number 00-00-00-00-00-00-00-00
	Kernel driver in use: TBS PCIE
	Kernel modules: tbs_pcie_dvb

Driver

Since this card has a different PCIe Bus Interface than earlier cards from TBS, the (mostly) closed source linux drivers from TBS are the only option here. While these drivers generally work fine and stable, its always some work to get them recompiled after every kernel update. A switch between DVB T/T2 and DVB-C requires a recompile.

Making it Work

It supports MythTV mythbuntu building: s

  1. Update the install with update/upgrade
  2. Install TBS drivers as per TBS6285 instructions
  3. nothing was added to the /var/log/syslog or dmesg output
  4. reboot the system
  5. I found "disagrees about version of symbol dvb_frontend_detach" messages in the dmesg output, so follow instructions for this at the TBS forum [1]
     a. cd to the "tbs-linux-drivers" subdirectory
     b. move or delete the contents of the kernel library drivers/media subdirectory using 
        "sudo mv /lib/modules/$(uname-r)/kernel/drivers/media ~/.media.bak" or 
        "rm -Rf /lib/modules/3.8.0-29-generic/kernel/drivers/media" (this is for Ubuntu based systems)
     c. reinstall drivers using "sudo make install"
     d. reboot the system

This gives working card drivers loaded and seen during the boot sequence.


When the kernel is updated (due to security updates), then I found the TBS help wiki's fedora installation instructions useful. These are:

  1. cd to the "tbs-linux-drivers" subdirectory
  2. move or delete the contents of the kernel library drivers/media subdirectory using 
     "sudo mv /lib/modules/$(uname -r)/kernel/drivers/media ~/.media.bak" or 
     "rm -Rf /lib/modules/3.8.0-29-generic/kernel/drivers/media" (this is for Ubuntu based systems)
  3. Reconfigure the drivers. For this I found the following steps which worked for me.
     a. clean out the code and reset the installation kernel data using the "sudo make distclean" command
     b. rerun the installation settings script with the "sudo ./v4l/tbs-x86_64.sh" command
     c. configure the driver settings (this is a guess) using the "sudo make release" command
     d. configure the driver settings (this is a guess) using the "sudo make menuconfig" command. 
        I enabled the "Enable drivers not supported by this kernel" which on hindsight should be left unchecked. 
        The fedora instructions said to just exit this. 
  4. rebuild the driver using the "sudo make" command (this will take a while)
  5. reinstall drivers using the "sudo make install" command
  6. load newly installed driver using the "sudo modprobe -v tbs6205fe" command
  7. reboot the system

The installation now uses and installs to the latest kernel's "/lib/modules/" directory.

Linux Drivers Download

External Links

Company Profile

TBS Technologies is a company which specializes in developing, manufacturing and marketing of digital TV tuner cards for PC. Main products include PC cards for DVB S/S2, DVB-T/T2, DVB-C with single, dual, and quad tuner, CAM CI box for DVB-S2, USB TV Box for DVB-S/S2,DVB-T/T2,DVB-C. Most TV tuner products are Linux driver ready up to the latest kernel.