synaWudfBioLenovoLBG.inf 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. ; Copyright (C) 2018 Synaptics Incorporated, All Rights Reserved.
  2. ; synaWudfBioLenovoLBG.inf - Install the WBDI USB user-mode SGX driver - Synaptics WBDI
  3. ;
  4. [Version]
  5. Signature="$Windows NT$"
  6. Class=Biometric
  7. ClassGuid={53D29EF7-377C-4D14-864B-EB3A85769359}
  8. Provider=%SYNAUMDF%
  9. ; Do not change name of the .cat file.
  10. CatalogFile=synaUMDF.cat
  11. DriverVer=06/28/2018,5.5.2731.1050
  12. [Manufacturer]
  13. %SYNAUMDF%=Synaptics,NTamd64
  14. [Synaptics.NTamd64]
  15. ; TODO: Change the VendorID (VID) and ProductID (PID) to match your device
  16. %WBDIUsbDeviceName%=Biometric_Install, USB\VID_06CB&PID_0081
  17. ;[ClassInstall32]
  18. ;AddReg=BiometricClass_RegistryAdd
  19. ;[BiometricClass_RegistryAdd]
  20. ;HKR,,,,%ClassName%
  21. ;HKR,,Icon,,"-201"
  22. ;HKR,,IconPath,0x00010000,"%%SYSTEMROOT%%\system32\SysClass.dll,-201"
  23. [SourceDisksFiles]
  24. synaWudfBioUsb.dll=1
  25. synaAdvAdapter.dll=1 ; Synaptics advanced mode adapter
  26. WudfUpdate_01011.dll=1
  27. ;Firmware extensions - not used for this Customer Project
  28. ;6_07f_lenovo.xefwext=1
  29. ;6_07f_lenovo.xpfwext=1
  30. [SourceDisksNames]
  31. 1 = %MediaDescription%
  32. ; =================== UMDF WBDI Usb Device - WBDI IOCTL interface ==================================
  33. [Biometric_Install.NT]
  34. CopyFiles=UMDriverCopy, WinBioEngineAdapterCopy ;, FWextCopy ; FW extensions not used for this Customer Project
  35. AddProperty=Device_Properties
  36. Include=WINUSB.INF ; Import sections from WINUSB.INF
  37. Needs=WINUSB.NT ; Run the CopyFiles & AddReg directives for WinUsb.INF
  38. [Biometric_Install.NT.hw]
  39. AddReg=Biometric_Device_AddReg
  40. AddReg=DriverPlugInAddReg, DatabaseAddReg, EventsAddReg
  41. [Device_Properties]
  42. DeviceIcon,,,,"%%SYSTEMROOT%%\system32\SysClass.dll,-201" ; This is where a device specific icon can be specified.
  43. [Biometric_Install.NT.Services]
  44. AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall ; flag 0x2 sets this as the service for the device
  45. AddService=WinUsb,0x000001f8,WinUsb_ServiceInstall ; this service is installed because its a filter.
  46. [Biometric_Install.NT.Wdf]
  47. KmdfService=WINUSB, WinUsb_Install
  48. UmdfDispatcher=WinUsb
  49. UmdfService=synaWudfBioUsb, synaWudfBioUsb_Install
  50. UmdfServiceOrder=synaWudfBioUsb
  51. UmdfHostProcessSharing=ProcessSharingDisabled
  52. [Biometric_Install.NT.CoInstallers]
  53. AddReg=CoInstallers_AddReg
  54. CopyFiles=CoInstallers_CopyFiles
  55. [WinUsb_Install]
  56. KmdfLibraryVersion = 1.11
  57. [synaWudfBioUsb_Install]
  58. UmdfLibraryVersion=1.11.0
  59. DriverCLSID = "{96710705-B080-4B29-A3EC-B16935AE663A}"
  60. ServiceBinary = "%12%\UMDF\synaWudfBioUsb.dll"
  61. [Biometric_Device_AddReg]
  62. HKR,,"DeviceCharacteristics",0x10001,0x0100 ; Use same security checks on relative opens
  63. HKR,,"Security",,"D:P(A;;GA;;;BA)(A;;GA;;;SY)" ; Allow generic-all access to Built-in administrators and Local system
  64. ;HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-84-0-0-0-0-0")
  65. HKR,,"LowerFilters",0x00010008,"WinUsb" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND
  66. HKR,,"Exclusive",0x10001,1
  67. HKR,,"DeviceIdleEnabled",0x00010001,0
  68. HKR,,"UserSetDeviceIdleEnabled",0x00010001,0
  69. HKR,,"DefaultIdleState",0x00010001,0
  70. HKR,,"DefaultIdleTimeout",0x00010001,5000
  71. HKR,,"WinUsbPowerPolicyOwnershipDisabled",0x00010001,1
  72. [DriverPlugInAddReg]
  73. HKR,WinBio\Configurations,DefaultConfiguration,,"0"
  74. HKR,WinBio\Configurations\0,SensorMode,0x10001,2 ; Basic - 1, Advanced - 2
  75. HKR,WinBio\Configurations\0,SystemSensor,0x10001,1 ; UAC/Winlogon - 1
  76. HKR,WinBio\Configurations\0,SensorAdapterBinary,,"synaAdvAdapter.DLL" ; Synaptics compound adapter.
  77. HKR,WinBio\Configurations\0,EngineAdapterBinary,,"synaAdvAdapter.DLL" ; Synaptics compound adapter.
  78. HKR,WinBio\Configurations\0,StorageAdapterBinary,,"synaAdvAdapter.DLL" ; Synaptics compound adapter.
  79. HKR,WinBio\Configurations\0,DatabaseId,,"D833B48E-3178-4DF0-AEE3-2803155883D4" ; must have Synaptics specific GUID for DB
  80. [DatabaseAddReg]
  81. HKLM, System\CurrentControlSet\Services\WbioSrvc\Databases\{D833B48E-3178-4DF0-AEE3-2803155883D4},BiometricType,0x00010001,0x00000008
  82. HKLM, System\CurrentControlSet\Services\WbioSrvc\Databases\{D833B48E-3178-4DF0-AEE3-2803155883D4},Attributes,0x00010001,0x00010003
  83. HKLM, System\CurrentControlSet\Services\WbioSrvc\Databases\{D833B48E-3178-4DF0-AEE3-2803155883D4},Format,,"00000000-0000-0000-0000-000000000000"
  84. HKLM, System\CurrentControlSet\Services\WbioSrvc\Databases\{D833B48E-3178-4DF0-AEE3-2803155883D4},InitialSize,0x00010001,0x00000020
  85. HKLM, System\CurrentControlSet\Services\WbioSrvc\Databases\{D833B48E-3178-4DF0-AEE3-2803155883D4},AutoCreate,0x00010001,0x00000001
  86. HKLM, System\CurrentControlSet\Services\WbioSrvc\Databases\{D833B48E-3178-4DF0-AEE3-2803155883D4},AutoName,0x00010001,0x00000001
  87. HKLM, System\CurrentControlSet\Services\WbioSrvc\Databases\{D833B48E-3178-4DF0-AEE3-2803155883D4},FilePath,,""
  88. HKLM, System\CurrentControlSet\Services\WbioSrvc\Databases\{D833B48E-3178-4DF0-AEE3-2803155883D4},ConnectionString,,""
  89. [EventsAddReg]
  90. HKLM, System\CurrentControlSet\Services\eventlog\System\Synaptics FPR,EventMessageFile,,"%%SystemRoot%%\System32\drivers\UMDF\synaWudfBioUsb.dll"
  91. HKLM, System\CurrentControlSet\Services\eventlog\System\Synaptics FPR,TypesSupported,0x00010001,0x00000007
  92. [WUDFRD_ServiceInstall]
  93. DisplayName = %WudfRdDisplayName%
  94. ServiceType = 1
  95. StartType = 3
  96. ErrorControl = 1
  97. ServiceBinary = %12%\WUDFRd.sys
  98. LoadOrderGroup = Base
  99. [WinUsb_ServiceInstall]
  100. DisplayName = %WinUsb_SvcDesc%
  101. ServiceType = 1
  102. StartType = 3
  103. ErrorControl = 1
  104. ServiceBinary = %12%\WinUSB.sys
  105. [CoInstallers_AddReg]
  106. HKR,,CoInstallers32,0x00010000, "WudfUpdate_01011.dll"
  107. [CoInstallers_CopyFiles]
  108. WudfUpdate_01011.dll
  109. [DestinationDirs]
  110. UMDriverCopy=12,UMDF ; copy to \Windows\System32\drivers\UMDF
  111. WinBioEngineAdapterCopy=11, WinBioPlugins ; copy to \Windows\System32\WinBioPlugins
  112. CoInstallers_CopyFiles=11 ; copy to \Windows\System32
  113. FWextCopy=24, ProgramData\Validity\fwext ; copy to "system drive"\ProgramData\Validity\fwext
  114. [UMDriverCopy]
  115. synaWudfBioUsb.dll
  116. [WinBioEngineAdapterCopy]
  117. synaAdvAdapter.dll
  118. [SignatureAttributes]
  119. synaAdvAdapter.dll = SignatureAttributes.WindowsHello
  120. [SignatureAttributes.WindowsHello]
  121. WindowsHello = true
  122. ; =================== Generic ==================================
  123. [Strings]
  124. SYNAUMDF="Synaptics Incorporated"
  125. MediaDescription="Synaptics Fingerprint Sensor Driver Installation Media"
  126. ClassName="Biometric Devices"
  127. WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
  128. WBDIUsbDeviceName="Synaptics WBDI"
  129. WinUsb_SvcDesc="WinUSB Driver"
  130. CustomerProject="LenovoLBG-050"