From nobody Tue Nov 19 12:26:10 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xt3cy630cz5dydY for ; Tue, 19 Nov 2024 12:26:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xt3cy3r7Kz4pyk for ; Tue, 19 Nov 2024 12:26:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732019170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ra4rpZgwvF3LnO3EzLxzXVvvhDFty/H0yDO5/vo7nJc=; b=lLpxL6zb3Q4ml2JH3sQJoGZvhkNWHKkDQBnEs/ZUZEgZg2eU2og8cEVKGePCqRr4aM3Ntl nvnP8BevDYEArSKzdBTx3tyrJc7zp6xRIPP2pZZzpcZmo/G+3wi5WNrETIySCcmL75Zo3j dylokYlV9VfJ7/qozb+DWAbqM+XmC9nYnOu0Ei9JfFR5gfQ/aVwqw8Hszy5JPOZnUa+7+9 NU89WuS/uL6Sm6G9xfrA/0I/2CmIEC/jqERB7PRaHvgv1qssj0liG7yzbOBTGPzgj7sKnX Fnc1h+nTCfhxOS6Q+Qi3LsN0kq0N0N224IReH8u7dAqOiUwewtP7muYtREKE0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732019170; a=rsa-sha256; cv=none; b=TFhnsUh26wH6/PGpdA0bsMN8Ere4ZH90tRGqed6d/+NNGEX5qQOZBW1O9R6K3IDyRYp4Nh RFRq7gHE9F6skXwmiA4vuU19QIeUfumJbgbku5MLK2d6LKbB1jze0FbIHt6ZFqKOyKAKEo fI9pK8DOcS2eKTAIpv8BmIWfOUMzL7YQ+c/nqaqAskW2oqWQWIXNcK32op+jVsXlFn83AO 75fa1BU09oZqcdd7Ox4PLz4miGo9ls4l7tla01Ff3WknqEung/Gt1NqJ26xilPn7+rprUf iC4KTmv9uegzc+j/ySbBy94HlDbMz0LuvJqw6n1UwQCwhfiDA2MH3Au8xqbuAA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xt3cy2sZlz1PX1 for ; Tue, 19 Nov 2024 12:26:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AJCQAKc041515 for ; Tue, 19 Nov 2024 12:26:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AJCQAa0041513 for bugs@FreeBSD.org; Tue, 19 Nov 2024 12:26:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272787] Add asmc support for MacBookPro10,1 and MacMini6,2 Date: Tue, 19 Nov 2024 12:26:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jwb@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.description Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272787 Jason W. Bacon 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 --- Comment on attachment 243679 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243679 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_MBP83TEM= P*, 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=20 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=20=20 dev.asmc.0.%parent: acpi0 dev.asmc.0.%pnpinfo: _HID=3DAPP0001 _UID=3D0 _CID=3DSMC-HURONRIVER dev.asmc.0.%location: handle=3D\_SB_.PCI0.LPCB.SMC_ dev.asmc.0.%driver: asmc dev.asmc.0.%desc: Apple SMC MacBook Pro (2011, 17 inch) dev.asmc.%parent: --=20 You are receiving this mail because: You are the assignee for the bug.=