Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-18963

Assign correct PnP IDs to the devices detected by NTLDR/FreeLdr

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.15
    • NTCore
    • None

    Description

      Firmware Mapper must assign correct PnP hardware IDs to the critical devices detected by bootloader.

      For example, "MICROSOFT INPORT MOUSE" peripheral should be assigned with *PNP0F02 identifier, "MICROSOFT PS2 MOUSE" should have *PNP0F03, and "NEC PC-9800 BUS MOUSE" should have *nEC1F00. The same is for the keyboards, "PCAT_ENHANCED" has to be *PNP030b, "PC98_106KEY" has to be *nEC1300, etc.

      Currently this is hardcoded in the IopEnumerateDetectedDevices function: https://git.reactos.org/?p=reactos.git;a=blob;f=ntoskrnl/io/pnpmgr/pnpmgr.c;hb=c50b94579eba9be1e6b165a0769b63cb6cf2ba5e#l916

      No matter what kind of keyboard controller is detected, it will be assigned *PNP0303 identifier ("IBM PC/AT keyboard"), and the same for the pointer controller, that will be assigned *PNP0F13 identifier ("PS/2 port for PS/2-style mice"), which is a problem.

      There was a hack added for NEC PC-98 bus mouse, which can be removed once this ticket is finished.

      Note that the task in CORE-18962 must be completed first before starting work on this.

      Attachments

        Issue Links

          Activity

            People

              binarymaster Stas'M
              binarymaster Stas'M
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: