[Bug 235798] [PATCH][asmc] Add support for for macmini2,1 to asmc kernel module

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 17 08:51:38 UTC 2019


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

            Bug ID: 235798
           Summary: [PATCH][asmc] Add support for for macmini2,1 to asmc
                    kernel module
           Product: Base System
           Version: 11.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: fbsdbugs4 at sentry.org

Created attachment 202085
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202085&action=edit
Adds support for macmini2,1 hardware to asmc kernel module

The Apple System Management Controller (asmc) kernel module lacks details for
the macmini2,1 hardware version.

Fix: See attached patches for asmc.c and asmcvar.h which have been running
successfully on my FreeBSD 11.2-STABLE system.

How-To-Repeat: kldload supplied asmc.ko

Patch against FreeBSD 11.2-STABLE r344225 attached.

----------------------------------------------------
Output from the patched asmc:

dev.asmc.0.temp.northbridge_proximity2: 54
dev.asmc.0.temp.northbridge_proximity1: 54
dev.asmc.0.temp.cpu_proximity2: 66
dev.asmc.0.temp.cpu_proximity1: 64
dev.asmc.0.temp.cpu_heatsink: 65
dev.asmc.0.temp.cpu_die: 83
dev.asmc.0.temp.ambient_air: 51
dev.asmc.0.fan.0.targetspeed: 3374
dev.asmc.0.fan.0.maxspeed: 5500
dev.asmc.0.fan.0.minspeed: 2000
dev.asmc.0.fan.0.safespeed: 0
dev.asmc.0.fan.0.speed: 3371
dev.asmc.0.fan.0.id: Master 
dev.asmc.0.%parent: acpi0
dev.asmc.0.%pnpinfo: _HID=APP0001 _UID=0
dev.asmc.0.%location: handle=\_SB_.PCI0.LPCB.SMC_
dev.asmc.0.%driver: asmc
dev.asmc.0.%desc: Apple SMC Mac Mini 2,1
----------------------------------------------------

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


More information about the freebsd-bugs mailing list