Re: Driver Startup Problem

From: Slobodan Brcin \(eMVP\) (sbrcin_at_ptt.yu)
Date: 09/15/04


Date: Wed, 15 Sep 2004 15:31:24 +0200

Hi Joseph,

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: NI 6025 GPIO device under XPe - anyone done this?
    ... Also I have never seen this card, so I can only speak theoretically based on other hardware and driver experience. ... Anyhow if they are pure hardware drivers then you can safely make component that will copy them to inf folder on XPe image. ... Same thing can be determined by examining inf file itself and checking PnPID numbers presence. ...
    (microsoft.public.windowsxp.embedded)
  • Implementing a driver
    ... I'm pretty new to XPe and have a question. ... I need to add a driver to my XPe which consists of a .inf file and a .sys ... I tried to use CD but the .inf file could not be imported (Message: ...
    (microsoft.public.windowsxp.embedded)
  • 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)