All Forums
 Microsoft Windows CE
 General CE
 USB device at boot
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

esavolle

31 Posts

Posted - 17 Nov 2004 :  05:52:35  Show Profile  Email Poster
Hi

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 ?

thanks for help

eric




3963

85 Posts

Posted - 23 Nov 2004 :  13:35:45  Show Profile  Email Poster
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...
Go to Top of Page

esavolle

31 Posts

Posted - 23 Nov 2004 :  15:45:22  Show Profile  Email Poster
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.

Bye
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.2 seconds. Snitz Forums 2000