https://bugzilla.kernel.org/show_bug.cgi?id=222330

            Bug ID: 222330
           Summary: ACPI / x86: Add DMI case variant "Lenovo Miix
                    320-10ICR" to battery/PMIC quirks
           Product: ACPI
           Version: 2.5
          Hardware: Intel
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Power-Battery
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

On my Lenovo Miix 320-10ICR (Product Name: 80XF), Linux skips ACPI AC and
battery devices with:
  ACPI: found native INT33F4 PMIC, skipping ACPI AC and battery devices

Even though the device has an AXP288 PMIC (INT33F4), the battery and AC adapter
are exposed via standard ACPI devices (PNP0C0A:01 with _STA = 31, ACPI0003:00
with _STA = 15), not via axp288_fuel_gauge.

The kernel already contains DMI quirks for this model in:
- drivers/acpi/x86/utils.c (acpi_quirk_skip_acpi_ac_and_battery)
- drivers/mmc/host/sdhci-acpi.c
- drivers/gpu/drm/drm_panel_orientation_quirks.c
- drivers/firmware/efi/sysfb_efi.c

However, all existing DMI entries check for uppercase "Lenovo MIIX 320-10ICR",
whereas my unit's BIOS/DMI reports mixed-case "Lenovo Miix 320-10ICR":
  /sys/class/dmi/id/sys_vendor: LENOVO
  /sys/class/dmi/id/product_name: 80XF
  /sys/class/dmi/id/product_version: Lenovo Miix 320-10ICR

Because DMI_MATCH is case-sensitive, the quirk does not match and no
power_supply devices are registered.

Please add an additional DMI match entry for "Lenovo Miix 320-10ICR"
(mixed-case "Miix") alongside "Lenovo MIIX 320-10ICR".

Tested on kernel 7.0.0-43-generic (Ubuntu/Zorin HWE).


Note: this answer was ai-generated

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to