[Bug 272787] Add asmc support for MacBookPro10,1 and MacMini6,2
- 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, 19 Nov 2024 12:26:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272787 Jason W. Bacon <jwb@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwb@freebsd.org Attachment #243679|asmc patch for macmini6 and |asmc patch for macmini6, description|macbookpro10,1 |macbookpro10,1, and | |macbookpro8,3 --- Comment #2 from Jason W. Bacon <jwb@freebsd.org> --- Comment on attachment 243679 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243679 asmc patch for macmini6, macbookpro10,1, and macbookpro8,3 Attempting to extend this to the MacBook Pro 8,3, I added the following to asmc.c: { "MacBookPro8,3", "Apple SMC MacBook Pro (2011, 17 inch)", ASMC_SMS_FUNCS, ASMC_FAN_FUNCS, ASMC_LIGHT_FUNCS, ASMC_MBP82_TEMPS, ASMC_MBP82_TEMPNAMES, ASMC_MBP82_TEMPDESCS }, I'm not sure how to determine the features in order to create ASMC_MBP83TEMP*, but using the 8,2 features, it seems to mostly work: FreeBSD marlin.acadix bacon ~ 1001: sysctl dev.asmc.0.temp dev.asmc.0.temp.Ts0S: 38 dev.asmc.0.temp.Ts0P: 26 dev.asmc.0.temp.memory: 40 dev.asmc.0.temp.Th2H: 42 dev.asmc.0.temp.Th1H: 44 dev.asmc.0.temp.wireless: 129 dev.asmc.0.temp.TPCD: 55 dev.asmc.0.temp.TP0P: 50 dev.asmc.0.temp.TMBS: 0 dev.asmc.0.temp.TM0S: 55 dev.asmc.0.temp.THSP: 37 dev.asmc.0.temp.TG0P: 46 dev.asmc.0.temp.graphics: 51 dev.asmc.0.temp.TCTD: 255 dev.asmc.0.temp.TCSA: 51 dev.asmc.0.temp.TCGC: 56 dev.asmc.0.temp.TCFC: 0 dev.asmc.0.temp.TC4C: 54 dev.asmc.0.temp.TC3C: 55 dev.asmc.0.temp.TC2C: 56 dev.asmc.0.temp.TC1C: 53 dev.asmc.0.temp.TC0P: 49 dev.asmc.0.temp.TC0F: 57 dev.asmc.0.temp.TC0E: 56 dev.asmc.0.temp.TC0D: 51 dev.asmc.0.temp.TC0C: 56 dev.asmc.0.temp.TB2T: 27 dev.asmc.0.temp.TB1T: 29 dev.asmc.0.temp.enclosure: 29 FreeBSD marlin.acadix bacon ~ 1001: sysctl dev.asmc dev.asmc.0.sms.z: 255 dev.asmc.0.sms.y: -39 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.Ts0S: 40 dev.asmc.0.temp.Ts0P: 28 dev.asmc.0.temp.memory: 42 dev.asmc.0.temp.Th2H: 44 dev.asmc.0.temp.Th1H: 46 dev.asmc.0.temp.wireless: 129 dev.asmc.0.temp.TPCD: 57 dev.asmc.0.temp.TP0P: 51 dev.asmc.0.temp.TMBS: 0 dev.asmc.0.temp.TM0S: 56 dev.asmc.0.temp.THSP: 38 dev.asmc.0.temp.TG0P: 48 dev.asmc.0.temp.graphics: 52 dev.asmc.0.temp.TCTD: 0 dev.asmc.0.temp.TCSA: 55 dev.asmc.0.temp.TCGC: 59 dev.asmc.0.temp.TCFC: 0 dev.asmc.0.temp.TC4C: 56 dev.asmc.0.temp.TC3C: 58 dev.asmc.0.temp.TC2C: 59 dev.asmc.0.temp.TC1C: 56 dev.asmc.0.temp.TC0P: 51 dev.asmc.0.temp.TC0F: 59 dev.asmc.0.temp.TC0E: 58 dev.asmc.0.temp.TC0D: 54 dev.asmc.0.temp.TC0C: 58 dev.asmc.0.temp.TB2T: 29 dev.asmc.0.temp.TB1T: 32 dev.asmc.0.temp.enclosure: 32 dev.asmc.0.fan.1.targetspeed: 2000 dev.asmc.0.fan.1.maxspeed: 5500 dev.asmc.0.fan.1.minspeed: 2000 dev.asmc.0.fan.1.safespeed: -1 dev.asmc.0.fan.1.speed: 1996 dev.asmc.0.fan.1.id: Right side dev.asmc.0.fan.0.targetspeed: 2000 dev.asmc.0.fan.0.maxspeed: 5500 dev.asmc.0.fan.0.minspeed: 2000 dev.asmc.0.fan.0.safespeed: -1 dev.asmc.0.fan.0.speed: 2001 dev.asmc.0.fan.0.id: Left side 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 (2011, 17 inch) dev.asmc.%parent: -- You are receiving this mail because: You are the assignee for the bug.