Re: Can a touchscreen driver be written as a user mode driver?



Do you have a BSP for this module? If so, it should be no problem building
a new image that contains the kernel mode touch driver. If you don't have a
BSP, then things are much more complicated.

If you are writing a standard touch driver, it will have to run in kernel
mode and be loaded by gwes. But to do that, you'll need to be able to
rebuild the image. You could potentially write a user mode driver that
could access the hardware you need, and then send points back to the
operating system. This wouldn't be a true touch driver though, and probably
would be difficult to implement.

Basically, with the BSP this shouldn't be an issue, life without it will be
difficult.
--
Dean Ramsier - eMVP
BSQUARE Corporation


"Steven Bass" <StevenBass@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E9FE6FF2-B742-479B-8E54-D1F7B8D385F8@xxxxxxxxxxxxxxxx


"Jack" wrote:

well since the touchdriver needs access to the HW you need to run it
in the kernel mode.


I thought drivers in CE6 could access hardware (memory and IO reads). But
I'm still coming up to speed, so maybe I'm wrong.

Since the touchscreen driver lives below the GWES, which is in kernel
space,
I figure that the touchscreen driver will need to be as well. That's what
I'm
trying to verify.

Steve


.



Relevant Pages

  • Re: Device Driver that uploads its own code?
    ... use any kernel mode DLL's with your driver. ... Don Burn (MVP, Windows DDK) ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... real-time and linear, the idea of fluctuating state and variable latency ...
    (microsoft.public.win32.programmer.kernel)
  • Re: HW registers shared by OAL and user-mode device driver
    ... A Kernel mode driver is a driver that is loaded by the device manager ... User mode drivers run in the lower 2GB address space in the ...
    (microsoft.public.windowsce.platbuilder)
  • Re: HW registers shared by OAL and user-mode device driver
    ... Windows Mobile 6 which is based on Windows CE 5.0 kernel. ... A Kernel mode driver is a driver that is loaded by the device manager ... context of a user mode process and are therefore, with some exceptions, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: MS DDK sample project
    ... driver that will load and run in the kernel. ... kernel mode device driver you NEVER include NTDDK.H. ... For those special needs you include only the header files ... For kernel mode subsystems that do not explicitly include NTDDK there is a ...
    (microsoft.public.development.device.drivers)
  • Re: CDs not playing right
    ... DirectX Version: DirectX 9.0c ... DirectDraw: 0/4 (retail) ... Driver Version: 6.14.0010.6614 ... Microsoft Synthesizer, Software (Not Kernel Mode), Output, ...
    (microsoft.public.windowsmedia.player)