Nothing tells the SMC that a power off or restart was user requested, so
the T2 keeps rebooting the machine thinking the system is wedged.
Approved-by: ngie (co-mentor)
Differential D61260
asmc: notify the SMC of shutdown and restart Authored by seuros on Fri, Nov 6, 9:50 AM. Project Tags None Referenced Files
Subscribers
Details
Nothing tells the SMC that a power off or restart was user requested, so Approved-by: ngie (co-mentor)
Diff Detail
Event TimelineComment Actions Would this also fix the "your system was restarted due to a problem?" issue I frequently see booting up macOS after rebooting cleanly from FreeBSD? Comment Actions Approved; please add a Tested section listing some of the hardware you tested it on and what happened before/after. Comment Actions @ngie , yes, this is the goal this diff. When a restart is not clean MacOS will report the error. @adrian , this is tested in every hardware 2006-2020. And verified with Meridian (The boot-loader will report that the init is not clean). Comment Actions
Yikes! Great catch. I wonder if T1.2 needs the same or similar treatment. Approved-by: ngie (co-mentor) Comment Actions
This affects the SMC not the T1/T2 chip. The "your system was restarted due to a problem" is an OS level check. |