Re: Driver Load Sequence



Hi Bruce,
Thanks for your respond. Yes i have changed the load order in platform.reg
for OHCI as well as USBFN dlls to be higher than all the other modules.
This changed the order of loading relative to some other modules but it
didn't do exactly what i wanted to do which was load the OHCI.dll at the very
end.
Is it correct to assume that the "order" entry in the platform.reg is
somehow only advisory? There are some other USB related modules which might
be creating dependencies for example the USBD.dll. If this is the case i will
need to go and change the load order for these ones as well.

EZ

"Bruce Eitman (eMVP)" wrote:

> Have you tried changing the order of the USB Host driver so that it loads
> last?
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
> "EZ" <EZ@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:FD74D2DD-C9C6-488F-A432-BF006048FA41@xxxxxxxxxxxxxxxx
> > Thanks Steve. The problem is that detaching the external device from the
> USB
> > port doesn't un-load the driver, the driver gets stuck in somehow as if
> the
> > OS doesnot know that it is there. But this only happens if WinCE is
> started
> > with the USB device attached to the USB port otherwise everything works
> fine.
> > When the WinCE device is booted with the external FTDI device physically
> > attached to the USB, the Host driver loads the FTDI_SER.DLL at boot time.
> The
> > problem is that under this senario the Host Controller can not un-load the
> > driver when the external device is detached. In a way the OHCI driver gets
> > stuck and it wouldn't work properly either. Basically the WinCE device can
> > only handle the external USB device properly if it is attached after
> > completion of the boot up sequence.
> > So to resolve this problem i need to tell WinCE not to load the FTDI
> driver
> > until every other DLL is loaded and boot up sequence is complete.
> > Alternatively if it is not possible to tell wince to load the driver until
> > after system boot, i need to somehow un-load the ftdi driver as soon as it
> > gets loaded during the system boot up and let the boot up sequence finish
> and
> > then load the ftdi driver. Maybe i could write a script that runs at start
> > up, but by what i read from your post doesnt look like that can be doen
> > programatically, something using insmod and rmmod in unix like OSs.
> >
> > Regards,
> > EZ.
> >
> > "Steve Maillet (eMVP)" wrote:
> >
> > > You can't programmatically load/unload USB client drivers only the USB
> host
> > > driver can do that. Just unplug the device and the host driver will
> unload
> > > the client driver.
> > >
> > > --
> > > Steve Maillet
> > > EmbeddedFusion
> > > www.EmbeddedFusion.com
> > > smaillet at EmbeddedFusion dot com
> > >
> > >
> > >
>
>
>
.



Relevant Pages

  • Re: White progress bar during startup
    ... Loaded driver \WINDOWS\system32\ntoskrnl.exe ... Did not load driver ACPI Uniprocessor PC ... Did not load driver Audio Codecs ...
    (microsoft.public.windowsxp.help_and_support)
  • XP Pro crashes
    ... The bootlog shows an awful lot of 'Failed to load' entries so I'm taking the liberty of posting the whole bootlog here in the hope that someone can give me some pointers as to what is going on. ... Did not load driver WAN Miniport ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Run-time error -2147221020 ( 800401e4)
    ... >> which doesnt boot. ... > Actually you load disk image to memory and that do not boot. ... By careful file organization so all driver ... >> doesnt matter which size the image has. ...
    (microsoft.public.windowsxp.embedded)
  • Re: I am trying To USB Function as Usb Host Client Driver, Is It O
    ... USB Serial device. ... Hence I wanted to use that driver for my USB to Serial Device (Host Client ... My BSP Supports both USB functioin and USB Host drivers.I am tring to load ... I need help on Registry settings. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Windows protection error
    ... Boot to safe mode, change video adapter to generic VGA. ... Get the right driver from NVidia and install it. ... > a used computer and I'm trying put Windows ME on it. ... > then used the boot disk that came with the program to load the files from ...
    (microsoft.public.windowsxp.general)