Created attachment 190959 [details] asmc module patch Patch to add support to asmc module for MacBookAir 2015 models. Please could someone review and commit? Result of patch running on a MacBookAir 2015 13" model; # kldload asmc # sysctl -a | grep asmc dev.asmc.0.light.control: 0 dev.asmc.0.light.right: 0 dev.asmc.0.light.left: 0 dev.asmc.0.temp.palmrest: 23 dev.asmc.0.temp.mainboardproximity: 22 dev.asmc.0.temp.heatpipe: 25 dev.asmc.0.temp.airflowproximity: 24 dev.asmc.0.temp.wirelessproximity: 26 dev.asmc.0.temp.pchdie: 34 dev.asmc.0.temp.memorybank: 29 dev.asmc.0.temp.thunderboltproximity: 24 dev.asmc.0.temp.pecicpu: 37 dev.asmc.0.temp.pecisa: 0 dev.asmc.0.temp.pecigpu: 38 dev.asmc.0.temp.cpucore2: 38 dev.asmc.0.temp.cpucore1: 37 dev.asmc.0.temp.cpuproximity: 31 dev.asmc.0.temp.cputemp2: 39 dev.asmc.0.temp.cputemp1: 38 dev.asmc.0.temp.enclosure3: 22 dev.asmc.0.temp.enclosure2: 22 dev.asmc.0.temp.enclosure1: 22 dev.asmc.0.fan.0.targetspeed: 1200 dev.asmc.0.fan.0.maxspeed: 6500 dev.asmc.0.fan.0.minspeed: 1200 dev.asmc.0.fan.0.speed: 1200 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 MacBook Air 13-inch (Early 2015) dev.asmc.%parent:
Created attachment 198702 [details] Patch to add MacBookAir 7,1 and 7,2 to asmc Updated diff against CURRENT
A commit references this bug: Author: dab Date: Tue Dec 11 16:35:59 UTC 2018 New revision: 341820 URL: https://svnweb.freebsd.org/changeset/base/341820 Log: asmc: Add Support for MacBookAir 7,1 and 7,2 PR: 226172 Submitted by: James Wright <james.wright@jigsawdezign.com> Reported by: James Wright <james.wright@jigsawdezign.com> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18396 Changes: head/sys/dev/asmc/asmc.c head/sys/dev/asmc/asmcvar.h
Will MFC to stable12 & stable11; no intention to MFC to stable10.
A commit references this bug: Author: dab Date: Wed Dec 19 21:28:12 UTC 2018 New revision: 342241 URL: https://svnweb.freebsd.org/changeset/base/342241 Log: MFC r341820: asmc: Add Support for MacBookAir 7,1 and 7,2 PR: 226172 Submitted by: James Wright <james.wright@jigsawdezign.com> Reported by: James Wright <james.wright@jigsawdezign.com> Changes: _U stable/12/ stable/12/sys/dev/asmc/asmc.c stable/12/sys/dev/asmc/asmcvar.h
A commit references this bug: Author: dab Date: Wed Dec 19 22:17:25 UTC 2018 New revision: 342246 URL: https://svnweb.freebsd.org/changeset/base/342246 Log: MFC r341820: asmc: Add Support for MacBookAir 7,1 and 7,2 PR: 226172 Submitted by: James Wright <james.wright@jigsawdezign.com> Reported by: James Wright <james.wright@jigsawdezign.com> Changes: _U stable/11/ stable/11/sys/dev/asmc/asmc.c stable/11/sys/dev/asmc/asmcvar.h
MFC complete; closing.