Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

307 lines
10 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1993 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; i8042log.mc
  8. ;
  9. ;Abstract:
  10. ;
  11. ; Constant definitions for the I/O error code log values.
  12. ;
  13. ;Revision History:
  14. ;
  15. ;--*/
  16. ;
  17. ;#ifndef _I8042LOG_
  18. ;#define _I8042LOG_
  19. ;
  20. ;//
  21. ;// Status values are 32 bit values layed out as follows:
  22. ;//
  23. ;// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  24. ;// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  25. ;// +---+-+-------------------------+-------------------------------+
  26. ;// |Sev|C| Facility | Code |
  27. ;// +---+-+-------------------------+-------------------------------+
  28. ;//
  29. ;// where
  30. ;//
  31. ;// Sev - is the severity code
  32. ;//
  33. ;// 00 - Success
  34. ;// 01 - Informational
  35. ;// 10 - Warning
  36. ;// 11 - Error
  37. ;//
  38. ;// C - is the Customer code flag
  39. ;//
  40. ;// Facility - is the facility code
  41. ;//
  42. ;// Code - is the facility's status code
  43. ;//
  44. ;
  45. MessageIdTypedef=NTSTATUS
  46. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  47. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  48. Warning=0x2:STATUS_SEVERITY_WARNING
  49. Error=0x3:STATUS_SEVERITY_ERROR
  50. )
  51. FacilityNames=(System=0x0
  52. RpcRuntime=0x2:FACILITY_RPC_RUNTIME
  53. RpcStubs=0x3:FACILITY_RPC_STUBS
  54. Io=0x4:FACILITY_IO_ERROR_CODE
  55. i8042prt=0x5:FACILITY_I8042_ERROR_CODE
  56. )
  57. MessageId=0x0001 Facility=i8042prt Severity=Error SymbolicName=I8042_INSUFFICIENT_RESOURCES
  58. Language=English
  59. Not enough memory was available to allocate internal storage needed for the device %1.
  60. .
  61. MessageId=0x0002 Facility=i8042prt Severity=Error SymbolicName=I8042_NO_BUFFER_ALLOCATED_KBD
  62. Language=English
  63. Not enough memory was available to allocate the ring buffer that holds incoming data for the PS/2 keyboard device.
  64. .
  65. MessageId=0x0003 Facility=i8042prt Severity=Error SymbolicName=I8042_REGISTERS_NOT_MAPPED
  66. Language=English
  67. The hardware locations for %1 could not be translated to something the memory management system understands.
  68. .
  69. MessageId=0x0004 Facility=i8042prt Severity=Error SymbolicName=I8042_RESOURCE_CONFLICT
  70. Language=English
  71. The hardware resources for %1 are already in use by another device.
  72. .
  73. MessageId=0x0005 Facility=i8042prt Severity=Informational SymbolicName=I8042_NOT_ENOUGH_CONFIG_INFO
  74. Language=English
  75. Some firmware configuration information was incomplete, so defaults were used.
  76. .
  77. MessageId=0x0006 Facility=i8042prt Severity=Informational SymbolicName=I8042_USER_OVERRIDE
  78. Language=English
  79. User configuration data is overriding firmware configuration data.
  80. .
  81. MessageId=0x0007 Facility=i8042prt Severity=Warning SymbolicName=I8042_NO_DEVICEMAP_CREATED
  82. Language=English
  83. Unable to create the device map entry for %1.
  84. .
  85. MessageId=0x0008 Facility=i8042prt Severity=Warning SymbolicName=I8042_NO_DEVICEMAP_DELETED
  86. Language=English
  87. Unable to delete the device map entry for %1.
  88. .
  89. MessageId=0x0009 Facility=i8042prt Severity=Error SymbolicName=I8042_NO_INTERRUPT_CONNECTED_KBD
  90. Language=English
  91. Could not connect the interrupt for the PS/2 keyboard device.
  92. .
  93. MessageId=0x000A Facility=i8042prt Severity=Error SymbolicName=I8042_INVALID_ISR_STATE_KBD
  94. Language=English
  95. The ISR has detected an internal state error in the driver for the PS/2 keyboard device.
  96. .
  97. MessageId=0x000B Facility=i8042prt Severity=Informational SymbolicName=I8042_KBD_BUFFER_OVERFLOW
  98. Language=English
  99. The ring buffer that stores incoming keyboard data has overflowed (buffer size is configurable via the registry).
  100. .
  101. MessageId=0x000C Facility=i8042prt Severity=Informational SymbolicName=I8042_MOU_BUFFER_OVERFLOW
  102. Language=English
  103. The ring buffer that stores incoming mouse data has overflowed (buffer size is configurable via the PS/2 mouse properties in device manager).
  104. .
  105. MessageId=0x000D Facility=i8042prt Severity=Error SymbolicName=I8042_INVALID_STARTIO_REQUEST_KBD
  106. Language=English
  107. The Start I/O procedure has detected an internal error in the driver for the PS/2 keyboard device.
  108. .
  109. MessageId=0x000E Facility=i8042prt Severity=Error SymbolicName=I8042_INVALID_INITIATE_STATE_KBD
  110. Language=English
  111. The Initiate I/O procedure has detected an internal state error in the driver for the PS/2 keyboard device.
  112. .
  113. MessageId=0x000F Facility=i8042prt Severity=Warning SymbolicName=I8042_KBD_RESET_COMMAND_FAILED
  114. Language=English
  115. The keyboard reset failed.
  116. .
  117. MessageId=0x0010 Facility=i8042prt Severity=Warning SymbolicName=I8042_MOU_RESET_COMMAND_FAILED
  118. Language=English
  119. The mouse reset failed.
  120. .
  121. MessageId=0x0011 Facility=i8042prt Severity=Warning SymbolicName=I8042_KBD_RESET_RESPONSE_FAILED
  122. Language=English
  123. The device sent an incorrect response(s) following a keyboard reset.
  124. .
  125. MessageId=0x0012 Facility=i8042prt Severity=Warning SymbolicName=I8042_MOU_RESET_RESPONSE_FAILED
  126. Language=English
  127. The device sent an incorrect response(s) following a mouse reset.
  128. .
  129. MessageId=0x0013 Facility=i8042prt Severity=Warning SymbolicName=I8042_SET_TYPEMATIC_FAILED
  130. Language=English
  131. Could not set the keyboard typematic rate and delay.
  132. .
  133. MessageId=0x0014 Facility=i8042prt Severity=Warning SymbolicName=I8042_SET_LED_FAILED
  134. Language=English
  135. Could not set the keyboard indicator lights.
  136. .
  137. MessageId=0x0015 Facility=i8042prt Severity=Warning SymbolicName=I8042_SELECT_SCANSET_FAILED
  138. Language=English
  139. Could not tell the hardware to send keyboard scan codes in the set expected by the driver.
  140. .
  141. MessageId=0x0016 Facility=i8042prt Severity=Error SymbolicName=I8042_SET_SAMPLE_RATE_FAILED
  142. Language=English
  143. Could not set the mouse sample rate.
  144. .
  145. MessageId=0x0017 Facility=i8042prt Severity=Error SymbolicName=I8042_SET_RESOLUTION_FAILED
  146. Language=English
  147. Could not set the mouse resolution.
  148. .
  149. MessageId=0x0018 Facility=i8042prt Severity=Error SymbolicName=I8042_MOU_ENABLE_XMIT
  150. Language=English
  151. Could not enable transmissions from the mouse.
  152. .
  153. MessageId=0x0019 Facility=i8042prt Severity=Warning SymbolicName=I8042_NO_SYMLINK_CREATED
  154. Language=English
  155. Unable to create the symbolic link for %1.
  156. .
  157. MessageId=0x001A Facility=i8042prt Severity=Error SymbolicName=I8042_RETRIES_EXCEEDED_KBD
  158. Language=English
  159. Exceeded the allowable number of retries (configurable via the registry) for the PS/2 keyboard device.
  160. .
  161. MessageId=0x001B Facility=i8042prt Severity=Error SymbolicName=I8042_TIMEOUT_KBD
  162. Language=English
  163. The operation on the PS/2 keyboard device timed out (time out is configurable via the registry).
  164. .
  165. MessageId=0x001C Facility=i8042prt Severity=Informational SymbolicName=I8042_CCB_WRITE_FAILED
  166. Language=English
  167. Could not successfully write the Controller Command Byte for the i8042.
  168. .
  169. MessageId=0x001D Facility=i8042prt Severity=Informational SymbolicName=I8042_UNEXPECTED_ACK
  170. Language=English
  171. An unexpected ACKNOWLEDGE was received from the device.
  172. .
  173. MessageId=0x001E Facility=i8042prt Severity=Warning SymbolicName=I8042_UNEXPECTED_RESEND
  174. Language=English
  175. An unexpected RESEND was received from the device.
  176. .
  177. MessageId=0x001F Facility=i8042prt Severity=Informational SymbolicName=I8042_NO_MOU_DEVICE
  178. Language=English
  179. No PS/2 compatible mouse device was detected on the PS/2 mouse port (not a problem unless this type of mouse really is connected).
  180. .
  181. MessageId=0x0020 Facility=i8042prt Severity=Informational SymbolicName=I8042_NO_KBD_DEVICE
  182. Language=English
  183. The PS/2 keyboard device does not exist or was not detected.
  184. .
  185. MessageId=0x0021 Facility=i8042prt Severity=Warning SymbolicName=I8042_NO_SUCH_DEVICE
  186. Language=English
  187. The keyboard and mouse devices do not exist or were not detected.
  188. .
  189. MessageId=0x0022 Facility=i8042prt Severity=Error SymbolicName=I8042_ERROR_DURING_BUTTONS_DETECT
  190. Language=English
  191. An error occurred while trying to determine the number of mouse buttons.
  192. .
  193. MessageId=0x0023 Facility=i8042prt Severity=Informational SymbolicName=I8042_UNEXPECTED_MOUSE_RESET
  194. Language=English
  195. An unexpected RESET was detected from the mouse device.
  196. .
  197. MessageId=0x0024 Facility=i8042prt Severity=Warning SymbolicName=I8042_UNEXPECTED_WHEEL_MOUSE_RESET
  198. Language=English
  199. An unexpected RESET was detected from the mouse device. The wheel has been deactivated.
  200. .
  201. MessageId=0x0025 Facility=i8042prt Severity=Warning SymbolicName=I8042_BOGUS_MOUSE_RESET
  202. Language=English
  203. A bogus RESET was detected from the mouse device.
  204. .
  205. MessageId=0x0026 Facility=i8042prt Severity=Warning SymbolicName=I8042_REENABLED_WHEEL_MOUSE
  206. Language=English
  207. A wheel mouse was detected after a device reset. The wheel has been reactivated.
  208. .
  209. MessageId=0x0027 Facility=i8042prt Severity=Warning SymbolicName=I8042_MOUSE_WATCHDOG_TIMEOUT
  210. Language=English
  211. A protocol error has occured. Resetting the mouse to known state.
  212. .
  213. MessageId=0x0028 Facility=i8042prt Severity=Error SymbolicName=I8042_GET_DEVICE_ID_FAILED
  214. Language=English
  215. An error occurred while trying to acquire the device ID of the mouse
  216. .
  217. MessageId=0x0029 Facility=i8042prt Severity=Error SymbolicName=I8042_ENABLE_FAILED
  218. Language=English
  219. An error occurred while enabling the mouse to transmit information. The device has been reset in an attempt to make the device functional.
  220. .
  221. MessageId=0x0030 Facility=i8042prt Severity=Error SymbolicName=I8042_NO_BUFFER_ALLOCATED_MOU
  222. Language=English
  223. Not enough memory was available to allocate the ring buffer that holds incoming data for the PS/2 pointing device.
  224. .
  225. MessageId=0x0031 Facility=i8042prt Severity=Error SymbolicName=I8042_NO_INTERRUPT_CONNECTED_MOU
  226. Language=English
  227. Could not connect the interrupt for the PS/2 pointing device.
  228. .
  229. MessageId=0x0032 Facility=i8042prt Severity=Error SymbolicName=I8042_INVALID_ISR_STATE_MOU
  230. Language=English
  231. The ISR has detected an internal state error in the driver for the PS/2 pointing device.
  232. .
  233. MessageId=0x0033 Facility=i8042prt Severity=Error SymbolicName=I8042_INVALID_STARTIO_REQUEST_MOU
  234. Language=English
  235. The Start I/O procedure has detected an internal error in the driver for the PS/2 pointing device.
  236. .
  237. MessageId=0x0034 Facility=i8042prt Severity=Error SymbolicName=I8042_INVALID_INITIATE_STATE_MOU
  238. Language=English
  239. The Initiate I/O procedure has detected an internal state error in the driver for the PS/2 pointing device.
  240. .
  241. MessageId=0x0035 Facility=i8042prt Severity=Error SymbolicName=I8042_RETRIES_EXCEEDED_MOU
  242. Language=English
  243. Exceeded the allowable number of retries (configurable via the registry) for the PS/2 pointing device.
  244. .
  245. MessageId=0x0036 Facility=i8042prt Severity=Error SymbolicName=I8042_TIMEOUT_MOU
  246. Language=English
  247. The operation on the PS/2 pointing device timed out (time out is configurable via the registry).
  248. .
  249. MessageId=0x0037 Facility=i8042prt Severity=Error SymbolicName=I8042_ATTACH_DEVICE_FAILED
  250. Language=English
  251. Could not attach to the PnP device stack.
  252. .
  253. ;#endif /* _I8042LOG_ */