Re: Driver Startup Problem

From: Joseph LeBlanc (jleblanc_at_oetzsystems.com)
Date: 09/16/04


Date: 16 Sep 2004 06:31:55 -0700

Just tried this method now and it worked. I didn't have to reboot
again to get the touch screen working. Thanks!

> You should check file setupapi.log there might be some reason why it did not worked during the first time.
> If you had some veto problem then I would suggest you to:
> 1. Remove your component from TD project.
> 2. Build image.
> 3. Copy manually driver files to their folders. (don't forget inf file)
> 4. Boot XPe.
> Read:
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&c2coff=1&selm=ezmaWSwBEHA.1704%40TK2MSFTNGP10.phx.gbl
>
> Best regards,
> Slobodan
>
> "Joseph LeBlanc" <jleblanc@oetzsystems.com> wrote in message news:b3b44de4.0409150512.5e7717c@posting.google.com...
> > I'm having an odd problem with a driver for a touch screen on my
> > hardware platform.
> >
> > I made a component from the driver's INF file ok and I don't get any
> > errors during FBA. What's happening though is after FBA completes and
> > XPe boots for the first time my touch screen doesn't work. Also there
> > is no mouse cursor at all (probably because the touch screen is the
> > only mouse device in the system). However if I then reboot XPe the
> > touch screen works fine and continues to work indefinitely (and a
> > mouse cursor is visible on the screen). So it appears XPe isn't
> > loading the driver until the second time it boots up.
> >
> > The driver only consists of an inf, a cat file and a single sys file.
> > Below is a clip from the driver's inf that installs the service:
> >
> > ;
> > ; Service Installation
> > ;
> >
> > [DMC9000.Services]
> > AddService = DMC9000, 0x00000002 , DMC9000_Service_Inst,
> > DMC9000_EventLog_Inst
> > ; Install mouclass.sys from msmouse.inf
> > Include=msmouse.inf
> > Needs=MouClass.Services
> >
> > [DMC9000_Service_Inst]
> > ServiceType = 1 ; SERVICE_KERNEL_DRIVER
> > StartType = 2 ; SERVICE_AUTO_START
> > ErrorControl = 0 ; SERVICE_ERROR_IGNORE
> > LoadOrderGroup = Pointer Port
> > ServiceBinary = %12%\DMC9000.sys
> >
> >
> > The StartType used to be 3 (SERVICE_DEMAND_START) but I changed it to
> > 2 (SERVICE_AUTO_START) hoping that would solve the problem but it made
> > no difference.
> >
> > Any ideas why the driver wouldn't load until the second reboot? What
> > registry keys should I check?
> >
> > Thanks,
> >
> > Joseph LeBlanc



Relevant Pages

  • Re: Sleep() issue
    ... I also hope that you setting THREAD_PRIORITY_TIME_CRITICAL priority level ... XPe system. ... In my XP Pro system there is probably much more activity then the kernel ... I suppose you don't have the source code of the driver you are ...
    (microsoft.public.windowsxp.embedded)
  • Re: Sleep() issue
    ... Since you are running the thread in time critical priority I wouldn't expect the 10-15 jitter from the Sleepcall unless there ... Well, I suppose you don't have the source code of the driver you are referring to, right? ... Try to run the following code sniplet on your hardware and see if you get different results on XP and XPe: ... Also hope you test the same code under XPe and XP Pro on the same hardware. ...
    (microsoft.public.windowsxp.embedded)
  • Re: 0x0000007B
    ... If Windows XP Pro cannot install, then you will not get very far with XPe. ... Next I augmented my USB boot with every file system I could find, ... "Windows could not start because of a computer disk hardware configuration ... > Warning:Could not find a driver for Video Controller ...
    (microsoft.public.windowsxp.embedded)
  • Re: dual boot - Nvidia device driver
    ... >> deleted this initial attempt at a custom component for the NVidia Quadro FX ... >> able to install the nvidia driver manually after a boot of xpe. ... > This is the reason I always prefer componentization rather then manual install of apps and drivers on XPe images. ...
    (microsoft.public.windowsxp.embedded)
  • Re: changing default printer doesnt hold
    ... the driver on this one my reveal the true problem. ... > reboot, the default switched back to the network printer. ... nothing "permanently sets" the local printer as ...
    (microsoft.public.win2000.printing)