Mailing List Archive

TBS-6281 drivers for MythTV 16.04
Hi,

I've been trying to upgrade my old Mythbuntu recorder from 14.04->16.04.
Unfortunately, drivers for my DVB card (TBS-6281) are not compiling with
new kernel (4.11+). Has anybody tried this config or am I condemned to
14.04 and old kernel?

Best regards,
Greg
Re: TBS-6281 drivers for MythTV 16.04 [ In reply to ]
On 03/02/18 18:54, Grzegorz Sikorski wrote:
> Hi,
>
> I've been trying to upgrade my old Mythbuntu recorder from
> 14.04->16.04. Unfortunately, drivers for my DVB card (TBS-6281) are
> not compiling with new kernel (4.11+). Has anybody tried this config
> or am I condemned to 14.04 and old kernel?
>
> Best regards,
> Greg
>

There are now open source  drivers for TBS see
https://github.com/tbsdtv/linux_media/wiki

I have been using these open source drivers for a long time now with my
TBS 6981 (dual DVB-S/S2) and TBS 6280 (dual DVB-T/T2) pcie cards.

As with the TBS closed source drivers you have to rebuild if the kernel
gets updated.

Note as of writing they work on Ubuntu 160.04 LTS (HWE) with the current
kernel 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux

They don't yet work with the just released 4.15Ubuntu mainline kernel,
build fails with a ring buffer error (it did earlier today).

Mike
Re: TBS-6281 drivers for MythTV 16.04 [ In reply to ]
On 03/02/18 19:25, Mike Bibbings wrote:
> On 03/02/18 18:54, Grzegorz Sikorski wrote:
>> Hi,
>>
>> I've been trying to upgrade my old Mythbuntu recorder from
>> 14.04->16.04. Unfortunately, drivers for my DVB card (TBS-6281) are
>> not compiling with new kernel (4.11+). Has anybody tried this config
>> or am I condemned to 14.04 and old kernel?
>>
>> Best regards,
>> Greg
>>
>
> There are now open source  drivers for TBS see
> https://github.com/tbsdtv/linux_media/wiki
>
> I have been using these open source drivers for a long time now with
> my TBS 6981 (dual DVB-S/S2) and TBS 6280 (dual DVB-T/T2) pcie cards.
>
> As with the TBS closed source drivers you have to rebuild if the
> kernel gets updated.
>
> Note as of writing they work on Ubuntu 160.04 LTS (HWE) with the
> current kernel 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25
> 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> They don't yet work with the just released 4.15Ubuntu mainline kernel,
> build fails with a ring buffer error (it did earlier today).
>
> Mike
>
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Apologies for hijacking the thread. I can confirm that the TBS
opensource driver works on 4.04 & 4.13 kernels. However on 4.13 the
tuner fails to lock on any channel after power on. A reboot fixes it and
the card then works flawlessly. With the 4.04 kernel the card TBS 6902
(dual DVB-S/S2) suffers this problem far less often. In both cases the
driver is compiled from the same source. I suspect it is a timing
issue.  A DVBsky dual tuner card I had previously had similar issues
where as a single tuner card worked perfectly.

I am beginning to suspect either quick tune or  EIT.

Could you post the result of

mysql> select
cardid,sourceid,videodevice,displayname,recpriority,quicktune,schedorder,livetvorder,dvb_eitscan,dvb_on_demand
from capturecard;

+--------+----------+-------------------------------+-------------+-------------+-----------+------------+-------------+-------------+

| cardid | sourceid | videodevice | displayname | recpriority |
quicktune | schedorder | livetvorder | dvb_eitscan |

+--------+----------+-------------------------------+-------------+-------------+-----------+------------+-------------+-------------+

| 12 | 4 | /dev/dvb/adapter101/frontend0 | Frv1 | 0 | 2 | 1 | 1 | 1 |

| 11 | 4 | /dev/dvb/adapter101/frontend0 | Frv1 | 0 | 2 | 1 | 1 | 1 |

| 7 | 2 | /dev/dvb/adapter106/frontend0 | FS1 | 4 | 0 | 1 | 1 | 0 |

| 9 | 2 | /dev/dvb/adapter106/frontend0 | FS1 | 4 | 0 | 1 | 1 | 0 |

| 13 | 4 | /dev/dvb/adapter101/frontend0 | Frv1 | 0 | 2 | 1 | 1 | 1 |

| 14 | 4 | /dev/dvb/adapter101/frontend0 | Frv1 | 0 | 2 | 1 | 1 | 1 |

| 15 | 2 | /dev/dvb/adapter107/frontend0 | FS2 | 3 | 0 | 1 | 1 | 1 |

| 16 | 2 | /dev/dvb/adapter107/frontend0 | FS2 | 3 | 0 | 1 | 1 | 1 |

+--------+----------+-------------------------------+-------------+-------------+-----------+------------+-------------+-------------+
Re: TBS-6281 drivers for MythTV 16.04 [ In reply to ]
On 04/02/18 09:58, jksj wrote:
> On 03/02/18 19:25, Mike Bibbings wrote:
>> On 03/02/18 18:54, Grzegorz Sikorski wrote:
>>> Hi,
>>>
>>> I've been trying to upgrade my old Mythbuntu recorder from
>>> 14.04->16.04. Unfortunately, drivers for my DVB card (TBS-6281) are
>>> not compiling with new kernel (4.11+). Has anybody tried this config
>>> or am I condemned to 14.04 and old kernel?
>>>
>>> Best regards,
>>> Greg
>>>
>>
>> There are now open source  drivers for TBS see
>> https://github.com/tbsdtv/linux_media/wiki
>>
>> I have been using these open source drivers for a long time now with
>> my TBS 6981 (dual DVB-S/S2) and TBS 6280 (dual DVB-T/T2) pcie cards.
>>
>> As with the TBS closed source drivers you have to rebuild if the
>> kernel gets updated.
>>
>> Note as of writing they work on Ubuntu 160.04 LTS (HWE) with the
>> current kernel 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25
>> 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>>
>> They don't yet work with the just released 4.15Ubuntu mainline
>> kernel, build fails with a ring buffer error (it did earlier today).
>>
>> Mike
>>
>>
>>
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums:https://forum.mythtv.org
>
> Apologies for hijacking the thread. I can confirm that the TBS
> opensource driver works on 4.04 & 4.13 kernels. However on 4.13 the
> tuner fails to lock on any channel after power on. A reboot fixes it
> and the card then works flawlessly. With the 4.04 kernel the card TBS
> 6902 (dual DVB-S/S2) suffers this problem far less often. In both
> cases the driver is compiled from the same source. I suspect it is a
> timing issue.  A DVBsky dual tuner card I had previously had similar
> issues where as a single tuner card worked perfectly.
>
> I am beginning to suspect either quick tune or  EIT.
>
> Could you post the result of
>
> mysql> select
> cardid,sourceid,videodevice,displayname,recpriority,quicktune,schedorder,livetvorder,dvb_eitscan,dvb_on_demand
> from capturecard;
>
> +--------+----------+-------------------------------+-------------+-------------+-----------+------------+-------------+-------------+
>
> | cardid | sourceid | videodevice | displayname | recpriority |
> quicktune | schedorder | livetvorder | dvb_eitscan |
>
> +--------+----------+-------------------------------+-------------+-------------+-----------+------------+-------------+-------------+
>
> | 12 | 4 | /dev/dvb/adapter101/frontend0 | Frv1 | 0 | 2 | 1 | 1 | 1 |
>
> | 11 | 4 | /dev/dvb/adapter101/frontend0 | Frv1 | 0 | 2 | 1 | 1 | 1 |
>
> | 7 | 2 | /dev/dvb/adapter106/frontend0 | FS1 | 4 | 0 | 1 | 1 | 0 |
>
> | 9 | 2 | /dev/dvb/adapter106/frontend0 | FS1 | 4 | 0 | 1 | 1 | 0 |
>
> | 13 | 4 | /dev/dvb/adapter101/frontend0 | Frv1 | 0 | 2 | 1 | 1 | 1 |
>
> | 14 | 4 | /dev/dvb/adapter101/frontend0 | Frv1 | 0 | 2 | 1 | 1 | 1 |
>
> | 15 | 2 | /dev/dvb/adapter107/frontend0 | FS2 | 3 | 0 | 1 | 1 | 1 |
>
> | 16 | 2 | /dev/dvb/adapter107/frontend0 | FS2 | 3 | 0 | 1 | 1 | 1 |
>
> +--------+----------+-------------------------------+-------------+-------------+-----------+------------+-------------+-------------+
>
Here is my output:

mysql>  select
cardid,sourceid,videodevice,displayname,recpriority,quicktune,schedorder,livetvorder,dvb_eitscan,dvb_on_demand
from capturecard;
+--------+----------+-----------------------------+-------------+-------------+-----------+------------+-------------+-------------+---------------+
| cardid | sourceid | videodevice                 | displayname |
recpriority | quicktune | schedorder | livetvorder | dvb_eitscan |
dvb_on_demand |
+--------+----------+-----------------------------+-------------+-------------+-----------+------------+-------------+-------------+---------------+
|      1 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|      2 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|      3 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|      4 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|      5 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|      6 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|      7 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|      8 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|      9 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|     10 |        3 | /dev/dvb/adapter2/frontend0 | fv-1       
|           0 |         0 |          1 |           4 |           1
|             0 |
|     11 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     12 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     13 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     14 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     15 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     16 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     17 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     18 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     19 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     20 |        3 | /dev/dvb/adapter3/frontend0 | fv-2       
|           0 |         0 |          2 |           3 |           0
|             0 |
|     21 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     22 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     23 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     24 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     25 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     26 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     27 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     28 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     29 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     30 |        1 | /dev/dvb/adapter4/frontend0 | fs-1       
|           0 |         0 |          3 |           2 |           1
|             0 |
|     31 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     32 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     33 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     34 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     35 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     36 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     37 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     38 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     39 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
|     40 |        1 | /dev/dvb/adapter5/frontend0 | fs-2       
|           0 |         0 |          4 |           1 |           1
|             0 |
+--------+----------+-----------------------------+-------------+-------------+-----------+------------+-------------+-------------+---------------+
40 rows in set (0.00 sec)