We have VGX with CE 4.20.16. We use a touchscreen via USB. All works when we do it manually: -copy USB driver to \windows -write keys to the registry -plug touchscreen to USB connector
Now we want to do it at boot time. We use ADSCopy to copy files and write registry.
But when we boot, windows CE shows a popup asking for a usb driver for the touchscreen because ADSCopy has not yet been executed.
So my question : how can i prevent Windows to ask for usb driver and wait till dll and registry are updated ?
You can either do a 'double-boot' (i.e. have ADSCopy call 'restart.exe) or you can try modding the system path to look for drivers in the FlashFX disk (not working 100% for me, yet -- look at the 'Swedish Keyboard' example found elsewhere here in the forums (topic 1364)). Also, look in the CE Drivers forum...
Thanks but we have resolved our problem. The solution was to: 1-disable the USB Host Controler -> on VGX add to ADSLOAD.REG this key -> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SMIVGXUSB] -> "Dll"= "" -> So when Driver Manager tries to start USB Controler Host no Dll is found so the controler does'nt start 2-copy our usb driver to "\windows" and to write keys to the registry via ADSCopy. 3-restore the USB Host Controler's registry key via ADSCopy. -> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SMIVGXUSB] -> "Dll"= "vgx_ohci.dll" 4-start the USB Host Controler with ADSDriverLaunch
All works fine and "double-boot" is no more needed.