[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: Tue, 03 Dec 2024 05:08:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272787 --- Comment #4 from ed crowe <fbsdbug@edcrowe.com> --- (In reply to Jason W. Bacon from comment #3) Hi Jason, Take a look at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265005 The final comment has a link to a previous patch that's been applied. In /sys/dev/asmc/asmc.c the MacBookPro6,2 model number is hardcoded to suppress that interrupt message. (0x2a is triggered by the light sensor). + case ASMC_ALSL_INT2A: + /* + * This suppresses console and log messages for the ambient + * light sensor for the only model known to generate this + * interrupt. + */ + if (strcmp(sc->sc_model->smc_model, "MacBookPro6,2") == 0) + break; + /* FALLTHROUGH */ Also, I don't think this site is being watched for patches anymore considering how long this bug/patch has been sitting here. You might have better luck submitting it on gitHub: https://freebsdfoundation.org/submitting-github-pull-requests-to-freebsd/ -- You are receiving this mail because: You are the assignee for the bug.