home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 August / VPR0008B.BIN / DRIVER / COMPAQ / SP12386 / sp12386.exe / data1.cab / WinNT_INF_Files / Lkbd.inf next >
Windows Setup INFormation  |  2000-02-04  |  13KB  |  321 lines

  1. ; Copyright (c) 1993-1996, Microsoft Corporation
  2. ; Copyright (c) 1997-1998, Logitech Inc
  3.  
  4. [version]
  5. Signature="$Windows NT$"
  6. Class=Keyboard
  7. ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
  8. Provider=%Provider%
  9.  
  10. [SourceDisksNames]
  11. 51 = %DiskName%,,0, ..
  12.  
  13. [SourceDisksFiles]
  14. l8042prt.sys = 51
  15.  
  16. [DestinationDirs]
  17. PortDriverFiles          = 12 ; DIRID_DRIVERS
  18. 101_LayerDriverFiles     = 11 ; DIRID_SYSTEM
  19. 106_LayerDriverFiles     = 11 ; DIRID_SYSTEM
  20. AX_LayerDriverFiles      = 11 ; DIRID_SYSTEM
  21. IBM_002_LayerDriverFiles = 11 ; DIRID_SYSTEM
  22.  
  23. [ControlFlags]
  24. ; Device IDs to exclude from Setup pick list.
  25. ;
  26. ; Don't present 'Unknown keyboard' install option to the user.
  27. ;
  28. ExcludeFromSelect=UNKNOWN_KBD
  29.  
  30. ;
  31. ; We also store an entry in here telling us what ID to use when we don't
  32. ; have a match for a legacy keyboard driver.
  33. ;
  34. UnknownLegacyDriverId=UNKNOWN_KBD
  35.  
  36. ;
  37. ; Mark any install sections for drivers that also control the PS/2 mouse port,
  38. ; so that we can warn the user that they may also be affecting their mouse with
  39. ; a keyboard driver change.
  40. ;
  41. SharedDriver=STANDARD_Inst,%STANDARD_Inst.SharedDriverMsg%
  42.  
  43. [Manufacturer]
  44. %Std-Keyboards%=MS_KBD
  45.  
  46. [MS_KBD]
  47. %*PNP0300.DeviceDesc%    = STANDARD_Inst,*PNP0300        ;PC/XT (83-Key)
  48. %*PNP0301.DeviceDesc%    = STANDARD_Inst,*PNP0301        ;PC/AT (84-Key)
  49. %*PNP0302.DeviceDesc%    = STANDARD_Inst,*PNP0302        ;PC/XT (84-Key)
  50. %*PNP0303.DeviceDesc%    = STANDARD_Inst,*PNP0303        ;PC/AT Enh(101/102-Key)
  51. %*PNP0304.DeviceDesc%    = STANDARD_Inst,*PNP0304        ;Olivetti (83-Key)
  52. %*PNP0305.DeviceDesc%    = STANDARD_Inst,*PNP0305        ;Olivetti (102-Key)
  53. %*PNP0306.DeviceDesc%    = STANDARD_Inst,*PNP0306        ;Olivetti (86-Key)
  54. %*PNP0309.DeviceDesc%    = STANDARD_Inst,*PNP0309        ;Olivetti (101/102-Key)
  55. %*PNP030a.DeviceDesc%    = STANDARD_Inst,*PNP030a        ;AT&T 302
  56. %*PNP030b.DeviceDesc%    = 101_TYPE_Inst,*PNP030b        ;PC/AT Enh(101/102-Key)
  57. %*PNP0320.DeviceDesc%    = 106_TYPE_Inst,*PNP0320        ;PC/AT Enh(106 Japanese key)
  58. %*PNP0320.DeviceDesc2%   = 106N_TYPE_Inst,*PNP0320       ;PC/AT Enh(106 Japanese key)
  59. %*PNP0322.DeviceDesc%    = AX_TYPE_Inst,*PNP0322         ;AX Keyboard
  60. %*PNP0323.DeviceDesc%    = IBM_002_TYPE_Inst,*PNP0323    ;IBM 5576 002/003 Keyboard
  61. %*CPQA0D7.DeviceDesc%    = STANDARD_Inst,*CPQA0D7        ;Compaq Enhanced Keyboard
  62. %*FJT0101.DeviceDesc%    = THUMB_TYPE_Inst,*FJT0101      ;Fujitsu OYAYUBI Keyboard
  63. %*DEC4111.DeviceDesc%    = LK411A_TYPE_Inst,*DEC4111     ;DEC LK411 Ansi keyboard
  64. %*DEC4112.DeviceDesc%    = LK411J_TYPE_Inst,*DEC4112     ;DEC LK411 JIS keyboard
  65. %UNKNOWN_KBD.DeviceDesc% = UNKNOWN_KBD_Inst,UNKNOWN_KBD  ;unknown kbd
  66.  
  67. [STANDARD_Inst]
  68. CopyFiles  = PortDriverFiles
  69. DelReg     = STANDARD_DelReg
  70.  
  71. [STANDARD_Inst.Services]
  72. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  73.  
  74. [STANDARD_DelReg]
  75. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType
  76. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype
  77. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier
  78. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver
  79.  
  80. [101_TYPE_Inst]
  81. CopyFiles  = 101_TYPE_LayerDriverFiles, PortDriverFiles
  82. DelReg     = 101_TYPE_DelReg
  83. AddReg     = 101_TYPE_AddReg
  84.  
  85. [101_TYPE_Inst.Services]
  86. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  87.  
  88. [101_TYPE_DelReg]
  89. HKLM,SYSTEM\CurrentControlSet\Services\l8042prt\Parameters,OverrideKeyboardType
  90. HKLM,SYSTEM\CurrentControlSet\Services\l8042prt\Parameters,OverrideKeyboardSubtype
  91.  
  92. [101_TYPE_AddReg]
  93. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"PCAT_101KEY"
  94. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver,%REG_SZ%,"kbd101.dll"
  95.  
  96. [106_TYPE_Inst]
  97. CopyFiles  = 106_TYPE_LayerDriverFiles, PortDriverFiles
  98. AddReg     = 106_TYPE_AddReg
  99.  
  100. [106_TYPE_Inst.Services]
  101. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  102.  
  103. [106_TYPE_AddReg]
  104. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x7
  105. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x2
  106. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"PCAT_106KEY"
  107. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver,%REG_SZ%,"kbd106.dll"
  108.  
  109. [106N_TYPE_Inst]
  110. CopyFiles  = 106N_TYPE_LayerDriverFiles, PortDriverFiles
  111. AddReg     = 106N_TYPE_AddReg
  112.  
  113. [106N_TYPE_Inst.Services]
  114. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  115.  
  116. [106N_TYPE_AddReg]
  117. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x7
  118. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x2
  119. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"PCAT_106KEY"
  120. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver,%REG_SZ%,"kbd106n.dll"
  121.  
  122. [AX_TYPE_Inst]
  123. CopyFiles  = AX_TYPE_LayerDriverFiles, PortDriverFiles
  124. AddReg     = AX_TYPE_AddReg
  125.  
  126. [AX_TYPE_Inst.Services]
  127. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  128.  
  129. [AX_TYPE_AddReg]
  130. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x7
  131. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x1
  132. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"AX_105KEY"
  133. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver,%REG_SZ%,"kbdax2.dll"
  134.  
  135. [IBM_002_TYPE_Inst]
  136. CopyFiles  = IBM_002_TYPE_LayerDriverFiles, PortDriverFiles
  137. AddReg     = IBM_002_TYPE_AddReg
  138.  
  139. [IBM_002_TYPE_Inst.Services]
  140. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  141.  
  142. [IBM_002_TYPE_AddReg]
  143. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x7
  144. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x3
  145. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver,%REG_SZ%,"kbdibm02.dll"
  146. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"IBM_002_106KEY"
  147.  
  148. [THUMB_TYPE_Inst]
  149. CopyFiles  = THUMB_TYPE_LayerDriverFiles, PortDriverFiles
  150. AddReg     = THUMB_TYPE_AddReg
  151.  
  152. [THUMB_TYPE_Inst.Services]
  153. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  154.  
  155. [THUMB_TYPE_AddReg]
  156. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x7
  157. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x52
  158. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver,%REG_SZ%,"f3ahvoas.dll"
  159. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"FUJITSU_OYAYUBI"
  160.  
  161. [LK411A_TYPE_Inst]
  162. CopyFiles  = LK411A_TYPE_LayerDriverFiles, PortDriverFiles
  163. AddReg     = LK411A_TYPE_AddReg
  164.  
  165. [LK411A_TYPE_Inst.Services]
  166. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  167.  
  168. [LK411A_TYPE_AddReg]
  169. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x7
  170. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x81
  171. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver,%REG_SZ%,"kbdlk41a.dll"
  172. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"DEC_LK411_ANSI"
  173.  
  174. [LK411J_TYPE_Inst]
  175. CopyFiles  = LK411J_TYPE_LayerDriverFiles, PortDriverFiles
  176. AddReg     = LK411J_TYPE_AddReg
  177.  
  178. [LK411J_TYPE_Inst.Services]
  179. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  180.  
  181. [LK411J_TYPE_AddReg]
  182. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x7
  183. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x82
  184. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,LayerDriver,%REG_SZ%,"kbdlk41j.dll"
  185. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"DEC_LK411_JIS"
  186.  
  187. [UNKNOWN_KBD_Inst]
  188. ; Nothing to do here--just need a section so that installation will succeed.
  189.  
  190. [PortDriverFiles]
  191. l8042prt.sys
  192.  
  193. [101_TYPE_LayerDriverFiles]
  194. kbdus.dll
  195.  
  196. [106_TYPE_LayerDriverFiles]
  197. kbdjpn.dll
  198. kbd106.dll
  199.  
  200. [106N_TYPE_LayerDriverFiles]
  201. kbdjpn.dll
  202. kbd106n.dll
  203.  
  204. [AX_TYPE_LayerDriverFiles]
  205. kbdjpn.dll
  206. kbdax2.dll
  207.  
  208. [IBM_002_TYPE_LayerDriverFiles]
  209. kbdjpn.dll
  210. kbdibm02.dll
  211.  
  212. [THUMB_TYPE_LayerDriverFiles]
  213. kbdjpn.dll
  214. f3ahvoas.dll
  215.  
  216. [LK411A_TYPE_LayerDriverFiles]
  217. kbdjpn.dll
  218. kbdlk41a.dll
  219.  
  220. [LK411J_TYPE_LayerDriverFiles]
  221. kbdjpn.dll
  222. kbdlk41j.dll
  223.  
  224. [i8042prt_Service_Inst]
  225. DisplayName    = %i8042prt.SvcDesc%
  226. ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
  227. StartType      = 1                  ; SERVICE_SYSTEM_START
  228. ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
  229. ServiceBinary  = %12%\l8042prt.sys
  230. LoadOrderGroup = Keyboard Port
  231.  
  232. [i8042prt_EventLog_Inst]
  233. AddReg = i8042prt_EventLog_AddReg
  234. AddReg = Disable_Other_Drivers
  235.  
  236. [i8042prt_EventLog_AddReg]
  237. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\l8042prt.sys"
  238. HKR,,TypesSupported,0x00010001,7
  239.  
  240. [Disable_Other_Drivers]
  241. HKLM,SYSTEM\CurrentControlSet\Services\l8042prt,Start,0x00010001,0x00000004
  242. HKLM,SYSTEM\CurrentControlSet\Services\msi8042,Start,0x00010001,0x00000004
  243.  
  244. [LegacyXlate.DevId]
  245. ;
  246. ; This section is used during startup by the Windows NT Plug&Play Manager to
  247. ; simulate enumeration of the keyboard based on information retrieved from
  248. ; ARC firmware/NTDETECT.
  249. ;
  250. XT_83KEY        = *PNP0300
  251. PCAT_86KEY      = *PNP0301
  252. PCXT_84KEY      = *PNP0302
  253. XT_84KEY        = *PNP0302
  254. 101-KEY         = *PNP030b
  255. OLI_83KEY       = *PNP0304
  256. ATT_301         = *PNP0304
  257. OLI_102KEY      = *PNP0305
  258. OLI_86KEY       = *PNP0306
  259. OLI_A101_102KEY = *PNP0309
  260. ATT_302         = *PNP030a
  261. PCAT_ENHANCED   = *PNP030b
  262. PCAT_101KEY     = *PNP030b
  263. PCAT_106KEY     = *PNP0320
  264. AX_105KEY       = *PNP0322
  265. IBM_002_106KEY  = *PNP0323
  266. FUJITSU_OYAYUBI = *FJT0101
  267. DEC_LK411_ANSI  = *DEC4111
  268. DEC_LK411_JIS   = *DEC4112
  269.  
  270. ;
  271. ; This section is used during fresh install/upgrade to determine what Win95-style
  272. ; INF install section to associate with the currently installed keyboard driver.
  273. ;
  274. ; '***' - install any driver which PnP id is matched, first.
  275. ;
  276. [LegacyXlate.Driver]
  277. l8042prt =    
  278.  
  279. [Strings]
  280. Provider                = "Logitech"
  281. KeyboardClassName       = "Keyboard"
  282. Std-Keyboards           = "(Standard keyboards)"
  283. *PNP0300.DeviceDesc     = "PC/XT Keyboard (83-Key)"
  284. *PNP0301.DeviceDesc     = "PC/AT Keyboard (84-Key)"
  285. *PNP0302.DeviceDesc     = "PC/XT Keyboard (84-Key)"
  286. *PNP0303.DeviceDesc     = "Standard 101/102-Key or Microsoft Natural Keyboard"
  287. *PNP0304.DeviceDesc     = "Olivetti Keyboard (83-Key) or AT&T 301 Keyboard"
  288. *PNP0305.DeviceDesc     = "Olivetti Keyboard (102-Key)"
  289. *PNP0306.DeviceDesc     = "Olivetti Keyboard (86-Key)"
  290. *PNP0309.DeviceDesc     = "Olivetti Keyboard (A101/102-Key)"
  291. *PNP030a.DeviceDesc     = "AT&T 302 Keyboard"
  292. *PNP030b.DeviceDesc     = "PC/AT Enhanced Keyboard (101/102-Key)" ; default
  293. *PNP0320.DeviceDesc     = "PC/AT 106 Japanese (A01) Keyboard"
  294. *PNP0320.DeviceDesc2    = "PC/AT 106 Japanese (A01) Keyboard (Ctrl+Caps Lock)"
  295. *PNP0322.DeviceDesc     = "AX Japanese Keyboard"
  296. *PNP0323.DeviceDesc     = "IBM 5576 002/003 Japanese Keyboard"
  297. *CPQA0D7.DeviceDesc     = "Compaq Enhanced Keyboard"
  298. *FJT0101.DeviceDesc     = "Fujitsu OYAYUBI Japanese Keyboard"
  299. *DEC4111.DeviceDesc     = "DEC LK411-AJ Japanese Keyboard (ANSI)"
  300. *DEC4112.DeviceDesc     = "DEC LK411-JJ Japanese Keyboard (JIS)"
  301.  
  302. UNKNOWN_KBD.DeviceDesc  = "Keyboard"
  303.  
  304. i8042prt.SvcDesc        = "Logitech Keyboard and PS/2 Mouse Port Driver"
  305.  
  306. STANDARD_Inst.SharedDriverMsg = "PS/2 mouse port"
  307.  
  308. ; Source Disk Name
  309. DiskName = "Logitech MouseWare Driver Disk"
  310.  
  311. ;*******************************************
  312. ;Handy macro substitutions (non-localizable)
  313. SPSVCINST_ASSOCSERVICE = 0x00000002
  314. SERVICE_KERNEL_DRIVER  = 1
  315. SERVICE_SYSTEM_START   = 1
  316. SERVICE_ERROR_NORMAL   = 1
  317. REG_SZ                 = 0x00000000
  318. REG_EXPAND_SZ          = 0x00020000
  319. REG_DWORD              = 0x00010001
  320.  
  321.