[Bug 234403] [acpi_ibm] Support ThinkPad battery charge start/stop control

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 25 18:19:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234403

            Bug ID: 234403
           Summary: [acpi_ibm] Support ThinkPad battery charge start/stop
                    control
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: kevinz5000 at gmail.com

Created attachment 200506
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200506&action=edit
Use consistent driver name

Support ThinkPad battery charge start/stop control using new sysctls:

dev.acpi_ibm.0.bat0_charge_start
dev.acpi_ibm.0.bat0_charge_stop

Informed by the Linux driver: https://lore.kernel.org/patchwork/patch/858076/

And this driver:
https://github.com/teleshoes/tpacpi-bat/blob/master/battery_asl

Two patches are attached:
- First one uses a consistent driver name in the source code and man pages
"ThinkPad ACPI Extras" instead of references to IBM
- Second one contains the majority of the change

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


More information about the freebsd-bugs mailing list