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

Unknown device in the Device Manager (Root\COMPOSITE_BATTERY\0000)

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      • Install ReactOS BootCD
      • On 3rd stage you will get a popup to install "Unknown device"
      • If you open Device Manager you will find it there too, in the "Other Devices" class
      • If you switch to "Devices by Connection" mode, it will appear in the root devices

      This dummy COMPOSITE_BATTERY device is always added, no matter whether the virtual machine expose the battery or not. It could be possible that it's triggered by AC Adapter device installation. I have tested this in two different environments - one that exposes only AC Adapter and another with both AC Adapter and ACPI Battery. In the second case it even loads cmbatt.sys driver twice at 3rd stage.

      Windows XP does not create this device. Also I checked "Non-Plug And Play Drivers" class, that device does not exist there on XP as well.

        Env without battery Env with battery
      Before regression 0.4.15-dev-4441-gcb504d7.txt

      0.4.15-dev-4441-gcb504d7-batt.txt

      After regression 0.4.15-dev-4442-gb9c4b6a.txt

      0.4.15-dev-4442-gb9c4b6a-batt.txt

      Windows XP comparison

      Cc ekohl for guilty commit.

      Attachments

        1. 0.4.15-dev-4441-gcb504d7.png
          43 kB
          Stas'M
        2. 0.4.15-dev-4441-gcb504d7.txt
          82 kB
          Stas'M
        3. 0.4.15-dev-4441-gcb504d7-batt.txt
          90 kB
          Stas'M
        4. 0.4.15-dev-4441-gcb504d7-batt-1.png
          53 kB
          Stas'M
        5. 0.4.15-dev-4441-gcb504d7-batt-2.png
          51 kB
          Stas'M
        6. 0.4.15-dev-4442-gb9c4b6a.png
          49 kB
          Stas'M
        7. 0.4.15-dev-4442-gb9c4b6a.txt
          84 kB
          Stas'M
        8. 0.4.15-dev-4442-gb9c4b6a-batt.png
          51 kB
          Stas'M
        9. 0.4.15-dev-4442-gb9c4b6a-batt.txt
          90 kB
          Stas'M
        10. image-2022-10-03-22-53-13-910.png
          11 kB
          KRosUser
        11. screenshot-1.png
          27 kB
          Stas'M
        12. XP-batt.png
          97 kB
          Stas'M
        13. XP-nobatt.png
          69 kB
          Stas'M

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: