On 12/09/14 06:33, Ian Smith:
Normally with 2 batteries catered for and only one fitted you'd expect to see

battery1: <ACPI Control Method Battery> on acpi0
battery1: battery initialization start
battery1: battery initialization failed, giving up

Just for the completeness ...

... it is expected behavior for non-present battery. Relevant part of code (sys/dev/acpica/acpi_cmbat.c):

    ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev),
                "battery initialization start\n");
...
    for (retry = 0; retry < ACPI_CMBAT_RETRY_MAX; retry++, AcpiOsSleep(10000)) {
...
        if (!acpi_BatteryIsPresent(dev))
            continue;
...
    }

    if (retry == ACPI_CMBAT_RETRY_MAX) {
        ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev),
                    "battery initialization failed, giving up\n");



Dan

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "[email protected]"

Reply via email to