# gbox config file

# Task type
#    00 **  normal mode gbox mode (no season, use Multicam instead)
#    01 **  Season Emulation in a Irdeto allcam chid 0602 nonZ
#    10 **  Season Emulation in a Irdeto allcam chid 1702 nonZ
#    11 **  Season Emulation in a Irdeto allcam chid 1702 Z
#    12 **  Season Emulation in a Irdeto allcam chid 1722 Z
#    13 **  Season Emulation in a Irdeto allcam chid 1762 Z
#    ** *1  Com port to use for season emulatiom (1 or 2)
#    ** 0*  Use CTS fr RST detection
#    ** 1*  Use DCD fr RST detection
#    ** **   9600 = Baudrate to be used (working only on dbox2)
W: { 00 00 } 9600

# gbox working mode
#    00 pure Emu
#    01 pure SoftCam (when card inside), Emu (when no card inside)
#    02 pure Net Client
#    03 Mixed mode !!!!! always use this !!!!!
G: { 03 }

# Display ECM messages on Konsole
#    00 don't show any ECM's
#    01 show only valid ECM's
#    02 show valid and bad ECM's with complete data display
C: { 02 }

# Display EMM messages on Konsole
#    *0 don't show any EMM's
#    *1 show only valid EMM's
#    *2 show valid and bad EMM's with complete data display
#    1* Log any tier change on PW-Nagra-17xx cards into /var/keys/pwupdate.log
M: { 01}

# AutoUpdate
#    00 is ignored (default)
#    01 enable AU
#    02 Auto AU !!!!! always use this !!!!!
A: { 02 }

# Key update
#    01 update only new keys, default setting
#    02 update all keys (used for valid PMK checking)
U: { 02 }

# Hash pids
#    00 hash all pids, DO NOT USE THIS OPTION, IT IS ONLY FOR TESTING STUFF
#    01 hash only pids with implemented algos and available keys !!!!! always use this !!!!!
H: { 01 }

# Key files folder
#    00 keyfiles in /var/keys
#    01 keyfiles in /var/tmp
T: { 00 }

# On Screen Display for the Multysystemcam on com1/com2
#    00 No OSD (default)
#    01 display Smartcard messages in Neutrino
#    02 display Smartcard messages in Neutrino new nhttpd format
#    03 display Smartcard messages in Enigma
#                      mypass (use user=root and pass=mypass for nhttpd)
O: { 00 } 10.0.0.3

# Logger and NET-mode UDP port Init
#    00 do not init UDP port
#    01 Init UDP port for IP, port, UDP
L: { 01 } 10.0.0.3

# Trace/Debug
# xx yz ; xx=00 no konsole output
# xx yz ; xx=01 konsole output
# xx yz ; y=0 debug output (don't use)
# xx yz ; y=1 no debug output
# xx yz ; z=0 ouput to konsole
# xx yz ; z=1 output to /var/tmp/debug.txt
# xx yz ; z=2 Output to UDP (to capture with gboxt)
Z: { 00 12 } 10.0.0.3 8024

# *x ** ; x = device nummber to be used (0= default)
# D* ** ; force use of /proc/bus/gtx for cw write operations
          (in the dbox2 the gbox writes directly the CW's, 00 is the
           recommended mode ! No drivers are required) use D* ** ONLY if
           you have Problems. 0* ** should be prefered !!!
# F* ** ; write CW's in both devices (used for PVR in STB04xxx devices)
# ** y* ; y=0001b (0x1*) use slot1 as Multicam (only on STB04xxx)
# ** y* ; y=0010b (0x2*) use slot2 as Multicam (only on STB04xxx)
# ** y* ; y=0011b (0x3*) use slot1 and slot2 as Multicams (only on STB04xxx)
# ** *z ; z=0001b (0x*1) use com1 as Multicam
# ** *z ; z=0010b (0x*2) use com2 as Multicam
# ** *z ; z=0011b (0x*3) use com1 and com2 as Multicams
# ** yz ; yz=00110011b (0x33) use slot1+slot2+com1+com2 as Multicams
# ** *z ; z=0100b (0x*4) invert CTS detection on com1
# ** *z ; z=1000b (0x*8) invert CTS detection on com2
# example: yz = 0x0A = 00001010 (use com2 with inverted CTS detection line)
V: { F0 30 }
