Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2024 05:08:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272787] Add asmc support for MacBookPro10,1, MacMini6,2, and MacBookPro8,3
Message-ID:  <bug-272787-227-235MRYnx6z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272787-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272787-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272787

--- 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=3D265005
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 supp=
ress
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") =3D=3D=
 0)
+                       break;
+               /* FALLTHROUGH */

Also, I don't think this site is being watched for patches anymore consider=
ing
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/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272787-227-235MRYnx6z>