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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: