[Bug 272787] Add asmc support for MacBookPro10,1, MacMini6,2, and MacBookPro8,3
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 272787] Add asmc support for MacBookPro10,1 and MacMini6,2"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Dec 2024 00:52:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272787
--- Comment #6 from Jason W. Bacon <jwb@freebsd.org> ---
(In reply to ed crowe from comment #4)
Thanks, updating to
case ASMC_ALSL_INT2A:
/*
* This suppresses console and log messages for the ambient
* light sensor for models known to generate this interrupt.
*/
if (strcmp(sc->sc_model->smc_model, "MacBookPro5,5") == 0 ||
strcmp(sc->sc_model->smc_model, "MacBookPro6,2") == 0 ||
strcmp(sc->sc_model->smc_model, "MacBookPro8,3") == 0)
break;
has silenced the log messages. I'll give some thought to a pull request, but
I'd like to improve on the rest of the patch first. Most of the values of
dev.asmc look reasonable, but I don't even know what some of them represent, or
if they're relevant to this model, e.g.
dev.asmc.0.temp.TCTD: 0
dev.asmc.0.fan.1.safespeed: -1
dev.asmc.0.light.control: 0
I'll see if I can dig up some info on this.
--
You are receiving this mail because:
You are the assignee for the bug.