Page 4 of 18

Re: Good News,Open source code for TBS Card has been release

PostPosted: Fri Jul 22, 2016 6:03 pm
by helmax
dont use with ubuntu 14.04 3.19 generic kernel
a lot of errors compile this drivers

Re: Good News,Open source code for TBS Card has been release

PostPosted: Fri Jul 22, 2016 10:01 pm
by Urkster
Hi

I have some questions about this driver.

Will it need to be re-installed each time the kernel is updated like the closed source driver?

Does it support all the hardware, for instance the IR receiver?

Also, one or two people are saying it works better than the other driver. In what way is it better? And for that matter are there any ways in which it is worse?

Thanks

Rob

Re: Good News,Open source code for TBS Card has been release

PostPosted: Fri Jul 22, 2016 11:19 pm
by crazycat
IR not supported for saa716x-based TBS PCI-E cards.
ECP3 FPGA based not have IR sensor.

All supported TBS USB have IR RC support. Old CX2388x-based also..

Re: Good News,Open source code for TBS Card has been release

PostPosted: Fri Jul 22, 2016 11:32 pm
by Urkster
crazycat Wrote:IR not supported for saa716x-based TBS PCI-E cards.


Aha! that is actually a bonus for me so please don't add support :-)

I was unable to isolate the IR on my 6285 board via udev rules so I still get the odd occasion where the device nodes get mixed up with my mceusb transmitter (for STB channel changing), and means I have to quickly change my lirc config each time that happens.

Rob

Re: Good News,Open source code for TBS Card has been release

PostPosted: Sat Jul 23, 2016 12:00 am
by crazycat
Newtman Wrote:I want report the excellent work of Crazycat, now I'm watching DVB-C Annex B (ATSC-C in TVHeadend now) and DVB-S2 only with the open source drivers :D


btw, stable TVHeadend 4.0.x show only DVB-T and C nodes for si2168. But in MUX config possible select standard as annex A,B,C
tvh-si2168.png
TVHeadend 4.0.x Si2168

tvh-dvbc-mux.png
DVB-C mux config

Re: Good News,Open source code for TBS Card has been release

PostPosted: Sat Jul 23, 2016 6:13 pm
by JMRR
and in cards like tbs6281, you can get dvb-t on tunner0, and dvb-c on tunner1, with only one cabe input, you just have to use a diplexer(i used a bad splitter ) to mix both signals on same cable.
the downside is is you lock dvb-c on adapter0, dvb-t on adapter0 should be unvavailable, and tvh reports available, so if you try to lock a freq it will give you bad signal.
other than that it works very well.

Re: Good News,Open source code for TBS Card has been release

PostPosted: Wed Jul 27, 2016 4:53 pm
by gleve
Hi everyone.
I'm trying to built the drivers but i'm getting errors.
Tried with 14.04 15.10 and 16.04 and always the same.
What am i missing?

Code: Select All Code
  CC [M]  /home/htpc/tbsdriver/media_build/v4l/stb6000.o
/home/htpc/tbsdriver/media_build/v4l/si2168.c: In function 'si2168_read_snr':
/home/htpc/tbsdriver/media_build/v4l/si2168.c:161:5: error: 'struct si2168_dev' has no member named 'snr'
  dev->snr=52428;
     ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c:162:45: error: 'struct si2168_dev' has no member named 'snr'
  *snr = (dev->fe_status & FE_HAS_LOCK) ? dev->snr : 0;
                                             ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c: In function 'si2168_read_ucblocks':
/home/htpc/tbsdriver/media_build/v4l/si2168.c:207:9: error: 'struct si2168_dev' has no member named 'stat_resp'
  if (dev->stat_resp & 0x10) {
         ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c: In function 'si2168_init':
/home/htpc/tbsdriver/media_build/v4l/si2168.c:460:9: error: 'struct si2168_dev' has no member named 'warm'
  if (dev->warm) {
         ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c: In function 'si2168_sleep':
/home/htpc/tbsdriver/media_build/v4l/si2168.c:698:9: error: 'struct si2168_dev' has no member named 'version'
  if (dev->version > ('B' << 24 | 4 << 16 | 0 << 8 | 11 << 0))
         ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c:699:6: error: 'struct si2168_dev' has no member named 'warm'
   dev->warm = false;
      ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c: In function 'si2168_select':
/home/htpc/tbsdriver/media_build/v4l/si2168.c:724:30: error: implicit declaration of function 'i2c_mux_priv' [-Werror=implicit-function-declaration]
  struct i2c_client *client = i2c_mux_priv(muxc);
                              ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c:724:30: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
/home/htpc/tbsdriver/media_build/v4l/si2168.c: In function 'si2168_deselect':
/home/htpc/tbsdriver/media_build/v4l/si2168.c:744:30: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
  struct i2c_client *client = i2c_mux_priv(muxc);
                              ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c: In function 'si2168_probe':
/home/htpc/tbsdriver/media_build/v4l/si2168.c:822:14: error: implicit declaration of function 'i2c_mux_alloc' [-Werror=implicit-function-declaration]
  dev->muxc = i2c_mux_alloc(client->adapter, &client->dev,
              ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c:823:13: error: 'I2C_MUX_LOCKED' undeclared (first use in this function)
       1, 0, I2C_MUX_LOCKED,
             ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c:823:13: note: each undeclared identifier is reported only once for each function it appears in
/home/htpc/tbsdriver/media_build/v4l/si2168.c:829:11: error: dereferencing pointer to incomplete type 'struct i2c_mux_core'
  dev->muxc->priv = client;
           ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c:830:8: error: implicit declaration of function 'i2c_mux_add_adapter' [-Werror=implicit-function-declaration]
  ret = i2c_mux_add_adapter(dev->muxc, 0, 0, 0);
        ^
/home/htpc/tbsdriver/media_build/v4l/si2168.c: In function 'si2168_remove':
/home/htpc/tbsdriver/media_build/v4l/si2168.c:861:2: error: implicit declaration of function 'i2c_mux_del_adapters' [-Werror=implicit-function-declaration]
  i2c_mux_del_adapters(dev->muxc);
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:264: recipe for target '/home/htpc/tbsdriver/media_build/v4l/si2168.o' failed

Re: Good News,Open source code for TBS Card has been release

PostPosted: Mon Aug 01, 2016 2:57 pm
by gleve
Has anyone seen this before? any ideas?

Re: Good News,Open source code for TBS Card has been release

PostPosted: Mon Aug 01, 2016 4:01 pm
by steven
gleve Wrote:Has anyone seen this before? any ideas?

Hi gleve

Please have a try update your code to the latest one :
https://github.com/tbsdtv/linux_media/c ... 77e11a12d6

Thanks

Kind Regards

steven

Re: Good News,Open source code for TBS Card has been release

PostPosted: Mon Aug 01, 2016 8:34 pm
by gleve
steven Wrote:
gleve Wrote:Has anyone seen this before? any ideas?

Hi gleve

Please have a try update your code to the latest one :
https://github.com/tbsdtv/linux_media/c ... 77e11a12d6

Thanks

Kind Regards

steven



Thanks Steven.
I pulled again and now it works. They might have fixed it in the meantime.