REM Aktuelle Registry-Einstellungen
REM
REM I/O-Port
REM ----------
REM reg open \drivers\BuiltIn\DIGITALIO
REM reg set value UseAsIO hex 00,00,00,00,00,00,54,51
REM reg set value DataDir hex 00,00,00,00,00,00,14,40
REM reg set value DataInit hex 00,00,00,00,00,00,00,40
REM reg set value IRQCfg0 hex 00,00,00,00,00,00,00,00
REM reg set value IRQCfg1 hex 00,00,00,00,00,00,40,10
REM reg set value IRQCfg2 hex 00,00,00,00,00,00,40,10
REM
REM
REM Minishell start aus Registry entfernen.
REM ------------
reg open \init
reg del value Depend80
reg del value Launch80
REM
REM Minshell start in der Registry setzen.
REM ------------
REM reg open \init
REM reg set value Launch80 string "fsminshell.exe"
REM reg set value Depend80 hex 1E,00,3C,00
REM
REM Application als letztes aus Registry starten.
REM ------------
reg open \init
reg set value Launch120 string "\FFSDISK\StartUp\Programm\Programm.exe"
reg set value Depend120 hex 1E,00,64,00
REM
REM -----------------------------------------------------------------------------------------------------
REM Webseite abschalten
reg open \Services\HTTPD\
reg set value Flags dword 4
REM Telnet abschalten
reg open \Services\TELNETD
reg set value Flags dword 4
REM FTP abschalten
reg open \Services\FTPD
reg set value Flags dword 4
REM FTP-Server wird auch noch zusaetzlich auf die SD-Karte umgestellt.
reg open \COMM\FTPD
reg set value DefaultDir string \SDCARD\
reg set value IsEnabled dword 0
REM
REM Verbindung zum PC über USB-Device "Mass_Storage_Class" = Speichermedium, "Serial_Class = ActiveSync"
REM -----------------------------------------------------------------------------------------------------
reg open \Drivers\USB\FunctionDrivers
reg set value DefaultClientDriver string "Mass_Storage_Class"
REM reg set value DefaultClientDriver string "Serial_Class"
REM
REM Verbindung zum PC über USB-Device zum Speichermedium "DSK1:" = 1.Stick, "DSK2:" = SD-Card, "DSK3:" = 2.Stick
REM -------------------------------------------------------------------------------------------------------------
reg open \Drivers\USB\FunctionDrivers\Mass_Storage_Class
reg set value DeviceName string "SD Memory Card:"
REM reg set value DeviceName string "DSK2:"
REM
REM
REM Richtige Zeitzone einstellen 
REM -------------------------------------------------------------------------------------------------------------
reg open \init\BootVars
reg set value KTzBias hex 00,00,00,00,C4,FF,FF,FF,88,FF,FF,FF
reg open \time
reg set value TZID dword 1340
reg set value TimeZoneInformation hex c4,ff,ff,ff,57,00,2e,00,20,00,45,00,75,00,72,00,6f,00,70,00,65,00,20,00,53,00,74,00,61,00,6e,00,64,00,61,00,72,00,64,00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,00,00,57,00,2e,00,20,00,45,00,75,00,72,00,6f,00,70,00,65,00,20,00,44,00,61,00,79,00,6c,00,69,00,67,00,68,00,74,00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00,c4,ff,ff,ff
REM reg set value TimeZoneInformation hex c4,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00
REM
REM Automatische Zeitumstellung von Winter auf Sommerzeit
REM ------------
reg open \software\microsoft\clock
reg set value AutoDST dword 0
reg set value HomeDST dword 0
REM
REM ------------------------------------------------
REM Zeitserver abschalten, damit es zu keiner automatischen Uhrzeitumschaltung kommt
REM ------------
reg open \Services\TIMESVC
reg set value Flags dword 4
reg set value Dll string sntpsvcxx.dll
REM
REM ------------------------------------------------
REM Neuer EDT-Touchtreiber (Treiber gain von 7 auf 5 geändert)
reg open \Drivers\Builtin\efusa9x\touch_edt\
reg set value dll string "/FFSDISK/StartUp/Programm/fs_touch_edt.dll"
reg set value gain dword 5
REM
reg open \System\GWE\Touchproxy\
reg set value DriverLoadTimeoutMs DWORD 2500
REM
REM ------------------------------------------------
REM EDT-Touchtreiber empfindlichkeit einstellen
REM Die Anpassung erfolgt nach Rücksprache vom Vertrieb noch nicht, da es keine Probleme gibt.
REM -------------
REM DEFAULT:
REM -------------
REM reg open \Drivers\Builtin\efusa9x\touch_edt_ft5606
REM reg set value Gain dword 7
REM reg set value Offset dword 0
REM reg set value Threshold dword 40
REM reg set value SampleRate dword 200
REM reg set value InitialSamplesDropped dword 2
REM -------------
REM angepasst:
REM -------------
REM reg open \Drivers\Builtin\efusa9x\touch_edt_ft5606
REM reg set value Gain dword 4
REM reg set value Offset dword 0
REM reg set value Threshold dword 30
REM reg set value SampleRate dword 140
REM reg set value InitialSamplesDropped dword 20
REM ------------------------------------------------
REM Virtuellen ComPort ab COM5 bis COM7 installieren
REM ------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\USBSER_CLASS]
"Prefix"="COM"
REM "Index"=dword:5
"Dll"="USBSer.DLL"
REM "DeviceArrayIndex"=dword:1
"RxBufferSize"=dword:4000
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
REM AT90USB162-Treiber für virtuellen ComPort installieren VID/PID immer Dezimal
REM ----------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1003_8216\Default\Default\USBSER_CLASS]
"Prefix"="COM"
"Dll"="USBSer.DLL"
REM
REM DELOCK-Treiber für virtuellen ComPort installieren VID/PID immer Dezimal
REM ------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1659_8963\Default\Default\USBSER_CLASS]
"Prefix"="COM"
"Dll"="USBSer.DLL"
REM
REM FTDI-Treiber für virtuellen ComPort ab COM5 bis COM7 installieren VID/PID immer Dezimal
REM ---------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\FTDI_DEVICE]
"Version"="1.1.0.22"
"Prefix"="COM"
"Dll"="\FFSDISK\ftdi_ser.dll"
"ConfigData"=hex:01,00,3f,3f,10,27,88,13,c4,09,e2,04,71,02,38,41,9c,80,4e,c0,34,00,1a,00,0d,00,06,40,03,80,00,00,d0,80
"InitialIndex"=dword:5
"DeviceArrayIndex"=dword:4
"LatencyTimer"=dword:10
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24577\Default\255\FTDI_DEVICE]
"DLL"="\FFSDISK\ftdi_ser.dll"
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24592\Default\255\FTDI_DEVICE]
"DLL"="\FFSDISK\ftdi_ser.dll"
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24593\Default\255\FTDI_DEVICE]
"DLL"="\FFSDISK\ftdi_ser.dll"
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24596\Default\255\FTDI_DEVICE]
"DLL"="\FFSDISK\ftdi_ser.dll"
REM ---------------------------------------------------------------------------------------
REM FTDI-Treiber mit D2XX für den MA EV 1 installieren
REM ---------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\FTDI_D2XX]
"Index"=dword:0
"Dll"="\FFSDISK\ftdi_d2xx.dll"
"Prefix"="FTD"
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_63629\Default\255\FTDI_D2XX]
"DLL"="\FFSDISK\ftdi_d2xx.dll"
REM
REM
REM Sichern
REM --------
reg save
REM reboot hardware
