WEC2013 USB HID Device driver

      Hello,

      in general it should work! Note, that the driver have to be copied to flash memory to be persistent after a reboot. So possibly you have also to modify Registry settings from "\Windows\..." to "\ffsdisk\...".
      F&S Elektronik Systeme GmbH
      As this is an international forum, please try to post in English.
      Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.
      ok nice

      i copied the driver to \ffsdisk\StarTouch and modified the registry as follows

      Source Code

      1. reg open \drivers\builtin\Touch_SX865X
      2. reg set val Flags dword 4
      3. ;
      4. reg open \drivers\builtin
      5. reg create key TBUPDD
      6. reg set val Dll string "ffsdisk\StarTouch\upddce.dll"
      7. reg set val Prefix string "TSD"
      8. reg set val Index dword 1
      9. reg set val Vid dword 9103
      10. reg set val Pid dword 1
      11. reg open \hardware\devicemap\touch
      12. reg del val CalibrationData
      13. reg set val DriverName string "ffsdisk\StarTouch\upddce.dll"
      14. ;
      15. reg open \drivers\usb\loadclients\default\default\
      16. reg create key 9103_1
      17. reg create key TBUPDDCEUSB
      18. reg set val Dll string "ffsdisk\StarTouch\tbupddceusb.dll"
      19. reg set val Order dword 64
      20. reg set val Index dword 1
      21. reg set val Prefix string "USB"
      22. reg save
      23. reboot


      the "upddce.dll" driver is a native ce touch driver and the "tbupddceusb.dll" is the library for the USB interface
      I want load this "upddce" driver with GWES.

      but the driver was not loaded, what is wrong ?
      Hello,

      is this "reg set val DriverName string "ffsdisk\StarTouch\upddce.dll"" really refered in the drivers reg file! driver should be loaded from USHD (like mouse or keyboard).

      Any information from serial debug output?
      F&S Elektronik Systeme GmbH
      As this is an international forum, please try to post in English.
      Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.
      Greetings,

      I sure that the driver was refered to the reg file, I've experiment a little.
      My reg file look as follows:

      Source Code

      1. rem
      2. rem // disable default touch driver
      3. rem
      4. reg open \drivers\builtin\touch_sx865x
      5. reg set val Flags dword 4
      6. rem
      7. rem // create new registry entry for UPDD Star Touch driver
      8. rem
      9. reg open \drivers\builtin\
      10. reg create key UPDD
      11. reg set val Dll string "\ffsdisk\StarTouch\upddce.dll"
      12. reg set val Index dword 0x1
      13. reg set val Order dword 0xff
      14. reg set val Vid dword 0x457
      15. reg set val Pid dword 0x1080
      16. reg set val "Packet Size" dword 0x40
      17. reg set val Prefix string "TSD"
      18. reg set val Settings string "\ffsdisk\StarTouch\tbupdd.ini"
      19. rem
      20. rem // open default devicemap touch driver
      21. rem // change driver name to upddce and erase current
      22. rem // calibration data
      23. rem
      24. reg open \hardware\devicemap\touch
      25. reg del val CalibrationData
      26. reg set val DriverName string "\ffsdisk\StarTouch\upddce.dll"
      27. rem
      28. rem // create new touch interface driver registry entry
      29. rem
      30. reg open \drivers\hid\loadclients\
      31. reg create key 1111_4224
      32. reg create key default
      33. reg create key default
      34. reg create key TBUPDDCEUSB
      35. reg set val Dll string "\ffsdisk\StarTouch\tbupddceusb.dll"
      36. reg set val Index dword 0x1
      37. reg set val Order dword 0xff
      38. reg set val Prefix string "HID"
      39. reg save
      40. reboot


      Normaly must a HID driver registered at \drivers\hid\loadclients\ ... right ?

      the debug output looks as follows:

      Source Code

      1. Jumping to Kernel @ 0x8010BD69
      2. Windows CE Kernel for ARM (Thumb Enabled)
      3. INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
      4. HW-WATCHDOG: ENABLED
      5. NetDCUA5 V2.00 - Firmware Init
      6. Copyright (c) 2013 F&S Elektronik Systeme GmbH
      7. Build: Feb 19 2015/14:50:57
      8. FMD: NAND ID:0x2cf18095 --> MICRON: 1GBit (128MB)
      9. FMD: Block 0 to 16 are locked for boot loader
      10. OAL: Enable SCU
      11. I2C: Version 2.5
      12. INFO: No external RTC found!.
      13. OAL: RestartReason=Software
      14. OAL: Boot display enabled. Settings imported successfully.
      15. FMD: NAND ID:0x2cf18095 --> MICRON: 1GBit (128MB)
      16. FMD: Block 0 to 16 are locked for boot loader
      17. FSPART: FS partition driver loaded
      18. BINFS: RegisterVolume - Mounted volume '\BINFS'
      19. F3S_FSD: Failsafe Flash File System - V2.11
      20. FMD: NAND ID:0x2cf18095 --> MICRON: 1GBit (128MB)
      21. FMD: Block 0 to 16 are locked for boot loader
      22. F3S_FSD: Volume successfully mounted at FFSDISK (size=74 MB)!
      23. BE2: Version 1.4, ActiveKey = Drivers\Active\03
      24. NI2C: Version 1.0, ActiveKey = Drivers\Active\15
      25. BE2: Version 1.4, ActiveKey = Drivers\Active\16
      26. UART: Version 1.16, Key = Drivers\Active\17
      27. UART3 RS232 Configured
      28. UART: Version 1.16, Key = Drivers\Active\19
      29. UART2: Port disabled. Serial debug is on !
      30. UART: Version 1.16, Key = Drivers\Active\20
      31. CID: Version 2.7, ActiveKey = Drivers\Active\21
      32. CID: Version 2.7, ActiveKey = Drivers\Active\22
      33. ENET: Version 01.03, ActiveKey = Comm\ETHNETA
      34. AIN: Version 1.2, ActiveKey = Drivers\Active\24
      35. PWM: Version 1.2, ActiveKey = Drivers\Active\25
      36. EXTRTC: Version 1.1, ActiveKey = Drivers\Active\26
      37. EXTRTC: No external RTC detected
      38. I2C: Version 4.2, ActiveKey = Drivers\Active\27
      39. SDHC: Version 1.2, ActiveKey = Drivers\Active\28
      40. WAV: Version 2.3, ActiveKey = Drivers\Active\30
      41. ENET: Version 01.03, ActiveKey = Comm\ETHNETB
      42. BCS: Version 1.4, ActiveKey = Drivers\Active\38
      43. DIO: Version 2.8, ActiveKey = Drivers\Active\41
      44. SIO: Version 1.2, ActiveKey = Drivers\Active\42
      45. FRW: Version 1.1, ActiveKey = Drivers\Active\49
      46. LCD: Version 1.9, ActiveKey = Drivers\Display\LCD
      47. LCD: Read registry settings from Drivers\Display\LCD
      48. LCD: Display-Mode 20, Name Hitachi TX17D01VM2CP
      49. SE2: Version 1.3, ActiveKey = Drivers\Active\51
      50. NDCUCFG V 57 started. Platform: NetDCUA5
      51. NDCUCFG Open COM1: at 38400 Baud
      52. CreateFile() failed -> ERROR COM1:
      53. CheckAutoStart: Version 1.7, LaunchNum = 100
      54. SoftRTC disabled
      55. UsbHost : New Function [address(1) / layer(0)]


      I think the new registered driver must show in the debug output window (TSD), if i plugged in the new USB device, right ?