Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2019 08:51:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235798] [PATCH][asmc] Add support for for macmini2,1 to asmc kernel module
Message-ID:  <bug-235798-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235798

            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@FreeBSD.org
          Reporter: fbsdbugs4@sentry.org

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

The Apple System Management Controller (asmc) kernel module lacks details f=
or
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=20
dev.asmc.0.%parent: acpi0
dev.asmc.0.%pnpinfo: _HID=3DAPP0001 _UID=3D0
dev.asmc.0.%location: handle=3D\_SB_.PCI0.LPCB.SMC_
dev.asmc.0.%driver: asmc
dev.asmc.0.%desc: Apple SMC Mac Mini 2,1
----------------------------------------------------

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235798-227>