| #
16c82e28
|
| 27-Jan-2026 |
tslight <tslight@pm.com> |
Add ASMC support for Macbook Pro 8,3
Signed-off-by: tslight <tslight@pm.com> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1992
|
| #
e81e7243
|
| 01-Mar-2026 |
Enji Cooper <ngie@FreeBSD.org> |
asmc: output the SMC firmware revision on attach
The SMC firmware revision can prove helpful when determining why the behavior of a given controller varies from the maintainers' expected behavior.
asmc: output the SMC firmware revision on attach
The SMC firmware revision can prove helpful when determining why the behavior of a given controller varies from the maintainers' expected behavior.
This should be a sysctl (eventually), but for now dumping out the information via `device_printf(..)` suffices, given that only one asmc(4) compatible device can exist in an Apple platform at any given point in time. This will become a sysctl in the future after additional improvements are incorporated from OpenBSD and NetBSD.
MFC after: 1 week Obtained from: https://github.com/openbsd/src/ (sys/dev/acpi/asmc.c @ 142d064) Differential Revision: https://reviews.freebsd.org/D55577
show more ...
|
| #
94db3650
|
| 25-Feb-2026 |
Abdelkader Boudih <freebsd@seuros.com> |
asmc: add Wake-on-LAN control via sysctl
Apple Mac systems support Wake-on-LAN from powered-off state (S5/G2) via the AUPO SMC key.
This change adds a convenience sysctl, `dev.asmc.0.wol`. This can
asmc: add Wake-on-LAN control via sysctl
Apple Mac systems support Wake-on-LAN from powered-off state (S5/G2) via the AUPO SMC key.
This change adds a convenience sysctl, `dev.asmc.0.wol`. This can be disabled if set to 0 and enabled if set to 1.
The AUPO key is volatile and resets to 0x00 on every boot, so WoL must be manually enabled before each shutdown to work from powered-off state. Users need to run: `sysctl dev.asmc.0.wol=1` before shutting down the system. The sysctl is best set to persist in `/etc/sysctl.conf`.
MFC after: 1 week Reviewed By: markj, ngie Differential Revision: https://reviews.freebsd.org/D54439
show more ...
|
| #
90d79dd5
|
| 15-Feb-2026 |
Abdelkader Boudih <freebsd@seuros.com> |
asmc: Add MacPro3,1 temperature sensor support
Test and verified with Sonicblue7
Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D54952
|
| #
c498eaa2
|
| 14-Jan-2026 |
Abdelkader Boudih <oss@seuros.com> |
asmc: Add support for MacBookPro11,5
Add support for the MacBookPro11,5 (Mid 2015, 15-inch with AMD Radeon R9 M370X GPU) to the Apple SMC driver.
Debug testing revealed this model lacks sever
asmc: Add support for MacBookPro11,5
Add support for the MacBookPro11,5 (Mid 2015, 15-inch with AMD Radeon R9 M370X GPU) to the Apple SMC driver.
Debug testing revealed this model lacks several SMC keys present on MacBookPro11,4 (IBLC, ICMC, IC2C), that model-specific sensor definitions.
Differential Revision: https://reviews.freebsd.org/D54665 Reviewed by: adrian
show more ...
|
| #
2a7c4685
|
| 03-Jan-2026 |
Abdelkader Boudih <oss@seuros.com> |
asmc: improve asmc_dumpall to read actual SMC key count
The asmc_dumpall debug function previously used a hardcoded loop limit of 0x100 (256) keys with a "XXX magic number" comment.
This change imp
asmc: improve asmc_dumpall to read actual SMC key count
The asmc_dumpall debug function previously used a hardcoded loop limit of 0x100 (256) keys with a "XXX magic number" comment.
This change improves asmc_dumpall to:
* Read the actual number of keys from the ASMC_NKEYS SMC key * Print the key count being dumped for better debugging output * Loop only up to the actual key count (e.g., 297 on Mac Mini 5,1)
This provides more accurate debug output and removes the magic number.
Tested on Mac Mini 5,1 (FreeBSD 16.0-CURRENT):
* Rebuild kernel with DEBUG enabled in asmc driver * Boot with new kernel * Verify dmesg shows "asmc_dumpall: dumping 297 keys" (or actual count) * Verify all 297 keys are dumped
Differential Revision: https://reviews.freebsd.org/D54436 Reviewed by: markj, adrian
show more ...
|
| #
93ca9e44
|
| 20-Apr-2025 |
Hrant Dadivanyan <hrant@dadivanyan.net> |
asmc: Add support for macmini 6,1 and 6,2 (late 2012) models
This adds the ASMC support for the macmini 6,1 and 6,2.
PR: kern/268141 Differential Revision: https://reviews.freebsd.org/D49929
|
| #
49a5fe1a
|
| 11-Jun-2024 |
Joshua Rogers <Joshua@Joshua.Hu> |
asmc: Add support for MacbookPro11,4
Signed-off-by: Joshua Rogers <Joshua@Joshua.Hu>
MFC after: 2 weeks Pull Request: https://github.com/freebsd/freebsd-src/pull/1366
|
| #
95ee2897
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
4d846d26
|
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
ffc58e2c
|
| 21-Jan-2023 |
Adrian Chadd <adrian@FreeBSD.org> |
asmc: Add MacbookAir6,2
Add in the zones for my MacbookAir6,2, a 2013 Macbook Air.
Tested - said Macbook Air 2013. Thermal Zones and keyboard backlight control works fine.
Differential Revision:
asmc: Add MacbookAir6,2
Add in the zones for my MacbookAir6,2, a 2013 Macbook Air.
Tested - said Macbook Air 2013. Thermal Zones and keyboard backlight control works fine.
Differential Revision: https://reviews.freebsd.org/D38073 Approved by: jrtc27
show more ...
|
| #
638937d4
|
| 29-Dec-2022 |
Michael Gmelin <grembo@FreeBSD.org> |
asmc: Add support for MacBook5,5
This is a slightly refined version of a patch[0] by FreeBSD Forums user "tmcclean".
[0]https://forums.freebsd.org/threads/success-installing-freebsd-13-0-on-macbook
asmc: Add support for MacBook5,5
This is a slightly refined version of a patch[0] by FreeBSD Forums user "tmcclean".
[0]https://forums.freebsd.org/threads/success-installing-freebsd-13-0-on-macbook-pro-5-5.80458/
Reviewed by: adrian, emaste, imp Differential Revision: https://reviews.freebsd.org/D37900 MFC after: 1 month
show more ...
|
| #
3416f5cd
|
| 25-Jul-2022 |
ed crowe <fbsdbug@edcrowe.com> |
asmc: Add support for MacBookPro6,2
Modify asmc_sms_printintr() to be silent when the ambient light sensor interrupt fires on this model, since the messages can otherwise fill up the dmesg.
PR: 26
asmc: Add support for MacBookPro6,2
Modify asmc_sms_printintr() to be silent when the ambient light sensor interrupt fires on this model, since the messages can otherwise fill up the dmesg.
PR: 265005 Reviewed by: markj MFC after: 2 weeks
show more ...
|
| #
dc484aed
|
| 09-May-2022 |
Adam S <adam@anschwa.com> |
asmc: Update Mac Pro 6 sensor definitions
- Make descriptions a bit more human-friendly. - Don't attempt to probe fan safe speeds, this model does not provide one.
PR: 260781 MFC after: 2 weeks
|
| #
601abb30
|
| 04-May-2022 |
Trev <fbsdbugs4@sentry.org> |
asmc: Add support for Macmini 5,1 (2011) and 5,3 and 7,1 (2014) models
PR: 262456 MFC after: 2 weeks
|
| #
a31b0c0c
|
| 04-May-2022 |
Mark Johnston <markj@FreeBSD.org> |
asmc: Style
MFC after: 2 weeks
|
| #
79291c9b
|
| 04-May-2022 |
Daniel W. Delâtre <dawdler@blacklodge.dev> |
asmc: Add support for MacBook Pro 9,1 (mid 2012)
PR: 261981 MFC after: 2 weeks
|
| #
27d4c6f8
|
| 04-May-2022 |
Mark Johnston <markj@FreeBSD.org> |
asmc: Make the model table const and local to asmc.c
No functional change intended.
MFC after: 2 weeks
|
| #
7d5fef18
|
| 04-May-2022 |
Adam S <adam@anschwa.com> |
asmc: Add support for MacPro 6,1 (2013)
PR: 260781 MFC after: 2 weeks
|
| #
308340cc
|
| 04-May-2022 |
Mark Johnston <markj@FreeBSD.org> |
asmc: Add support for MacBook Air 4,1 and 4,2 (2011)
PR: 218574 Submitted by: NapoleonWils0n <t43InvisibleMan@gmail.com> Submitted by: John Hay <john@sanren.ac.za> MFC after: 2 weeks
|
| #
721b3402
|
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
asmc: clean up empty lines in .c and .h files
|
| #
e2515283
|
| 27-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
| #
e4a14ce7
|
| 17-Aug-2020 |
Mark Johnston <markj@FreeBSD.org> |
asmc(4): Add support for MacBook7,1.
PR: 248693 Submitted by: gcx61@interia.pl MFC after: 1 week
|
| #
b18a4cca
|
| 05-Mar-2019 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r344786
|
| #
844fc3e9
|
| 04-Mar-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344549 through r344775.
|