"8042" PS/2 Controller: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m added link to the german wiki |
This seems to be mistaken, but I am not yet an authority on this |
||
Line 371: | Line 371: | ||
All PS/2 devices should support the "reset" command (which is a command for the device, and not a command for the PS/2 Controller). To send the reset, just send the byte 0xFF to each (usable) device. The device/s will respond with 0xFA (success) or 0xFC (failure), or won't respond at all (no device present). If your code supports "hot-plug PS/2 devices" (see later), then you can assume each device is "not present" and let the hot-plug code figure out that the device is present if/when 0xFA or 0xFC is received on a PS/2 port. |
All PS/2 devices should support the "reset" command (which is a command for the device, and not a command for the PS/2 Controller). To send the reset, just send the byte 0xFF to each (usable) device. The device/s will respond with 0xFA (success) or 0xFC (failure), or won't respond at all (no device present). If your code supports "hot-plug PS/2 devices" (see later), then you can assume each device is "not present" and let the hot-plug code figure out that the device is present if/when 0xFA or 0xFC is received on a PS/2 port. |
||
'''TODO''': Potential wiki error, the 0xFF reset device command seems to respond 0xAA on self-test success, and [[PS/2_Keyboard]] agrees. --[[User:Sortie|Sortie]] 14:15, 27 April 2015 (CDT) |
|||
== Detecting PS/2 Device Types == |
== Detecting PS/2 Device Types == |