none
Driver Inclusion RRS feed

  • Question

  • Hi All,

    I worked on Windows Comapct7 long back ago. But I forgot what are the available approaches for including a new driver as part of OS, when we don't have a BSP and OS Design from the Vendor.

    We are using a USB interface based touch device, for which the vendor has provided a Subproject.

    I have accessed the CECONFIG.H file from the device and noticed the following SYSGEN_TOUCH and SYSGEN_GESTURE are present in the file.

    The device already has a Touch Driver as part of HKLM\Drivers\BuiltIn path.

    Also HKLM\Hardware\DEVICEMAP\Touch has DriverName entry is there with a value TWTOUCH.Dll.

    Looks the device supports persistence registry, hence does CE OS allows modifying HKLM\Drivers\BuiltIn path?

    What are the options do we have in this scenario?

    Thank You & Regards,

    GSR

    Tuesday, December 10, 2019 5:13 AM

Answers

  • If it is a USB touch driver then none of those things you listed are important. What is important is that you have USB Host support and mouse support in your kernel image. Then it's just a simple matter of copying the driver image to your device and adding the proper USB client driver registry keys. The USB driver should then load automatically and touch should work.

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    Tuesday, December 10, 2019 10:32 AM
    Moderator

All replies

  • If it is a USB touch driver then none of those things you listed are important. What is important is that you have USB Host support and mouse support in your kernel image. Then it's just a simple matter of copying the driver image to your device and adding the proper USB client driver registry keys. The USB driver should then load automatically and touch should work.

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    Tuesday, December 10, 2019 10:32 AM
    Moderator
  • Hi Michel,

    Thank you for the valuable information.

    We found out that the Mouse and the keyboard can work.

    When you say copying driver, I am sure that we need to copy the driver to a location, so that the client driver can be loaded.

    I am not sure where exactly we have to copy the DLL.

    Let me see if I can figure out that.

    Thank You & Regards,

    GSR

    Wednesday, December 18, 2019 5:39 AM