Skip to content
Lars The edited this page Apr 29, 2020 · 4 revisions

#vtuner-satip, how to increase the limit of 30 pids

This guide helps to compile a custom version of this driver (only compatible inside your device) with a new limit.

If you use "vtuner-satip" with minisatip, you need to know that this virtual tuner is limited to 30 PIDS max. This limit is imposed by the "vtuner" protocol. You can see in the "vtuner.h" the definition of struct "vtuner_message" with the declaration "u16 pidlist[30]".

If you like to use ONLY the vtuner-satip in your device then you can modify this limit.
Here how to do:

  • satip/satip_vtuner.c
  • satip/vtuner.h
  • vtuner_tweak/vtuner.h
  • vtuner_tweak/vtunerc_priv.h
  • On all these files replace ( with this change the new limit is 60 pids, modify as you need ):
  • u16 pidlist[30]; -----------------> u16 pidlist[60];
  • #define MAX_PIDTAB_LEN 30 --------> #define MAX_PIDTAB_LEN 60
  • Recompile and install.