<div dir="ltr"><div>DTV_ISDBT_LAYER_ENABLED is added to the Linux kernel by the same commit as DTV_ISDBT_LAYERA_FEC[1], which we are already using [2]. So this code should compile if the original code compiles. </div><div><br></div>[1] <a href="https://github.com/torvalds/linux/commit/b6e760f3097501e60e76fbcb7a313d42da930c1f">https://github.com/torvalds/linux/commit/b6e760f3097501e60e76fbcb7a313d42da930c1f</a><br><div class="gmail_extra">[2] <a href="https://github.com/videolan/vlc/blob/master/modules/access/dtv/linux.c#L1115">https://github.com/videolan/vlc/blob/master/modules/access/dtv/linux.c#L1115</a></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-17 4:50 GMT+09:00 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Wednesday 17 February 2016 00:33:39 HIRANO Takahito wrote:<br>
> Layer configurations were set, but layers have not been enabled. Some DVB<br>
> drivers are require them to be enabled to watch TV.<br>
><br>
> Signed-off-by: HIRANO Takahito <<a href="mailto:hiranotaka@zng.info">hiranotaka@zng.info</a>><br>
> ---<br>
>  modules/access/dtv/linux.c | 5 +++--<br>
>  1 file changed, 3 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c<br>
> index d0fa9f7..1d481f0 100644<br>
> --- a/modules/access/dtv/linux.c<br>
> +++ b/modules/access/dtv/linux.c<br>
> @@ -1131,9 +1131,10 @@ int dvb_set_isdbt (dvb_device_t *d, uint32_t freq,<br>
> uint32_t bandwidth,<br>
><br>
>      if (dvb_find_frontend (d, ISDB_T))<br>
>          return -1;<br>
> -    if (dvb_set_props (d, 5, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBT,<br>
> +    if (dvb_set_props (d, 6, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBT,<br>
>                         DTV_FREQUENCY, freq, DTV_BANDWIDTH_HZ, bandwidth,<br>
> -                       DTV_GUARD_INTERVAL, guard))<br>
> +                       DTV_GUARD_INTERVAL, guard,<br>
> +                       DTV_ISDBT_LAYER_ENABLED, 0x7 /* all layer enabled<br>
> */))<br>
> return -1;<br>
<br>
</span>Doesn´t this break compilation with some old versions of dvb/frontend.h ?<br>
<div class=""><div class="h5"><br>
>      for (unsigned i = 0; i < 3; i++)<br>
>          if (dvb_set_isdbt_layer (d, i, layers + i))<br>
<br>
--<br>
</div></div><span class=""><font color="#888888">Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" rel="noreferrer" target="_blank">http://www.remlab.net/</a><br>
<br>
</font></span></blockquote></div><br></div></div>