J
Joseph LeBlanc
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
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