Skip to content

Conversation

@tslight
Copy link

@tslight tslight commented Jan 27, 2026

This PR adds ASMC support for the 17" 2011 MacBook Pro 8,3.

SMC keys taken from https://logi.wiki/index.php/SMC_Sensor_Codes and cross-referenced with the official Technicians manual.

I used ASMC_FAN_FUNCS2 instead of ASMC_FAN_FUNCS, as the latter generated:

asmc0: asmc_key_read for key F1Sf failed 10 times, giving up
asmc0: asmc_key_read for key F0Sf failed 10 times, giving up

It seems that the safe speed interrupts are not supported on this model.

After doing that I get no more noise in my dmesg from sysctl dev.asmc, which looks like this now:

dev.asmc.0.sms.z: 231
dev.asmc.0.sms.y: -112
dev.asmc.0.sms.x: -6
dev.asmc.0.light.control: 0
dev.asmc.0.light.right: 0
dev.asmc.0.light.left: 0
dev.asmc.0.temp.pbus_voltage: 51
dev.asmc.0.temp.intel_gpu_vcore: 2
dev.asmc.0.temp.gpu_vcore: 4
dev.asmc.0.temp.dc_in_voltage: 77
dev.asmc.0.temp.cpu_vcore: 2
dev.asmc.0.temp.palm_rest: 30
dev.asmc.0.temp.dc_in_air_flow: 128
dev.asmc.0.temp.left_fin_stack: 44
dev.asmc.0.temp.right_fin_stack: 44
dev.asmc.0.temp.pch_die_digital: 63
dev.asmc.0.temp.platform_controller: 55
dev.asmc.0.temp.thunderbolt: 42
dev.asmc.0.temp.gpu_proximity: 49
dev.asmc.0.temp.gpu_die_analog: 51
dev.asmc.0.temp.cpu_core_4: 55
dev.asmc.0.temp.cpu_core_3: 56
dev.asmc.0.temp.cpu_core_2: 55
dev.asmc.0.temp.cpu_core_1: 59
dev.asmc.0.temp.cpu_proximity: 51
dev.asmc.0.temp.cpu_die_analog: 52
dev.asmc.0.temp.cpu_die_digital: 58
dev.asmc.0.temp.battery_2: 30
dev.asmc.0.temp.battery_1: 30
dev.asmc.0.temp.dc_in: 31
dev.asmc.0.temp.cpu_package_total: 2
dev.asmc.0.temp.cpu_package_gpu: 0
dev.asmc.0.temp.cpu_package_core: 0
dev.asmc.0.temp.other: 2
dev.asmc.0.temp.gpu_voltage: 1
dev.asmc.0.temp.dc_current: 6
dev.asmc.0.temp.cpu_vcorevtt: 2
dev.asmc.0.temp.battery_current: 1
dev.asmc.0.temp.fan_rightside: 54
dev.asmc.0.temp.fan_leftside: 54
dev.asmc.0.temp.ambient_light: 1
dev.asmc.0.fan.1.targetspeed: 3500
dev.asmc.0.fan.1.maxspeed: 3500
dev.asmc.0.fan.1.minspeed: 3500
dev.asmc.0.fan.1.speed: 3500
dev.asmc.0.fan.1.id: Right side
dev.asmc.0.fan.0.targetspeed: 3500
dev.asmc.0.fan.0.maxspeed: 3500
dev.asmc.0.fan.0.minspeed: 3500
dev.asmc.0.fan.0.speed: 3494
dev.asmc.0.fan.0.id: Left side
dev.asmc.0.%iommu:
dev.asmc.0.%parent: acpi0
dev.asmc.0.%pnpinfo: _HID=APP0001 _UID=0 _CID=SMC-HURONRIVER
dev.asmc.0.%location: handle=\_SB_.PCI0.LPCB.SMC_
dev.asmc.0.%driver: asmc
dev.asmc.0.%desc: Apple SMC MacBook Pro (early 2011, 17-inch)
dev.asmc.%parent:

Can confirm that fan, light and motion sensors work as expected.

@github-actions
Copy link

github-actions bot commented Jan 27, 2026

Thank you for taking the time to contribute to FreeBSD!

All issues resolved.

@tslight tslight changed the title Add ASMC support for Macbook Pro 8,3 asmc: support for macbook pro 8,3 Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant