Solved Patch to support asmc on mid-2011 MacMini 5,2

trev

Daemon

Reaction score: 298
Messages: 1,020

Patch attached against FreeBSD 11.1-STABLE r329296.

Output as below:
Code:
root@ghost [/root] $ sysctl dev.asmc
dev.asmc.0.temp.wireless_proximity: 58
dev.asmc.0.temp.pwr_supply: 50
dev.asmc.0.temp.pch_die: 70
dev.asmc.0.temp.pch_proximity: 64
dev.asmc.0.temp.memory_proximity: 59
dev.asmc.0.temp.memory_slot2: 50
dev.asmc.0.temp.memory_slot1: 59
dev.asmc.0.temp.thunderbolt_proximity: 61
dev.asmc.0.temp.cpu0_proximity: 65
dev.asmc.0.temp.cpu0_die: 69
dev.asmc.0.temp.ambient_air2: 57
dev.asmc.0.temp.ambient_air1: 57
dev.asmc.0.fan.0.targetspeed: 3034
dev.asmc.0.fan.0.maxspeed: 5500
dev.asmc.0.fan.0.minspeed: 1800
dev.asmc.0.fan.0.speed: 3032
dev.asmc.0.fan.0.id: Exhaust 
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 5,2
 

Attachments

  • asmc_mm52_patches.txt
    1.5 KB · Views: 249
OP
T

trev

Daemon

Reaction score: 298
Messages: 1,020

Oops, I forgot to mention that I had already submitted a PR for this patch :)
 
OP
T

trev

Daemon

Reaction score: 298
Messages: 1,020

Updated patch after access to Apple Technician Guide for the 5,2 model.

Output now:

Code:
dev.asmc.0.temp.wireless_proximity: 54
dev.asmc.0.temp.pwr_supply: 48
dev.asmc.0.temp.pch_controller_die: 66
dev.asmc.0.temp.pch_controller_proximity: 61
dev.asmc.0.temp.memory_proximity: 56
dev.asmc.0.temp.memory_slot2: 50
dev.asmc.0.temp.memory_slot1: 56
dev.asmc.0.temp.thunderbolt_proximity: 58
dev.asmc.0.temp.gpu_integrated_switcher: 56
dev.asmc.0.temp.gpu_proximity: 58
dev.asmc.0.temp.gpu_diode2: 63
dev.asmc.0.temp.gpu_diode1: 57
dev.asmc.0.temp.cpu_proximity: 61
dev.asmc.0.temp.cpu_die: 65
dev.asmc.0.temp.ambient_cpu_pch_wireless_dimm: 54
dev.asmc.0.temp.ambient_air_proximity: 52
dev.asmc.0.fan.0.targetspeed: 3000
dev.asmc.0.fan.0.maxspeed: 5500
dev.asmc.0.fan.0.minspeed: 3000
dev.asmc.0.fan.0.speed: 2999
dev.asmc.0.fan.0.id: Exhaust 
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 5,2

PR: PR 225911
 

Attachments

  • asmc_mm52_patches_v2.txt
    1.9 KB · Views: 266
Last edited by a moderator:
Top